Click or drag to resize
SubscriberNewsletterInfoProvider.GetAsync Method (Int32, Int32, Nullable<CancellationToken>)
Asynchronously gets an instance of the SubscriberNewsletterInfo binding structure.

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 13.0.131
Syntax
C#
public virtual Task<SubscriberNewsletterInfo> GetAsync(
	int subscriberId,
	int newsletterId,
	Nullable<CancellationToken> cancellationToken = null
)

Parameters

subscriberId
Type: System.Int32
Email campaign subscriber ID.
newsletterId
Type: System.Int32
Email feed ID.
cancellationToken (Optional)
Type: System.Nullable<CancellationToken>
The cancellation instruction.

Return Value

Type: Task<SubscriberNewsletterInfo>
Returns a task returning either an instance of SubscriberNewsletterInfo corresponding to given identifiers or null.

Implements

ISubscriberNewsletterInfoProvider.GetAsync(Int32, Int32, Nullable<CancellationToken>)
See Also