Click or drag to resize
EmailTemplateNewsletterInfoProviderGetAsync Method (Int32, Int32, NullableCancellationToken)
Asynchronously gets an instance of the EmailTemplateNewsletterInfo binding structure.

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

Parameters

emailTemplateId
Type: SystemInt32
Email marketing template ID.
newsletterId
Type: SystemInt32
Email feed ID.
cancellationToken (Optional)
Type: SystemNullableCancellationToken
The cancellation instruction.

Return Value

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

Implements

IEmailTemplateNewsletterInfoProviderGetAsync(Int32, Int32, NullableCancellationToken)
See Also