Click or drag to resize
ISubscriberNewsletterInfoProviderGetAsync 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#
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.
See Also