Click or drag to resize
SubscriberNewsletterInfoProviderGetAsync Method (Int32, Int32, NullableCancellationToken)
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: SystemInt32
Email campaign subscriber ID.
newsletterId
Type: SystemInt32
Email feed ID.
cancellationToken (Optional)
Type: SystemNullableCancellationToken
The cancellation instruction.

Return Value

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

Implements

ISubscriberNewsletterInfoProviderGetAsync(Int32, Int32, NullableCancellationToken)
See Also