Click or drag to resize
IEmailWidgetTemplateInfoProviderGetAsync Method
Asynchronously gets an instance of the EmailWidgetTemplateInfo binding structure.

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

Parameters

emailWidgetId
Type: SystemInt32
Email widget ID.
emailTemplateId
Type: SystemInt32
Email template ID.
cancellationToken (Optional)
Type: SystemNullableCancellationToken
The cancellation instruction.

Return Value

Type: TaskEmailWidgetTemplateInfo
Returns a task returning either an instance of EmailWidgetTemplateInfo corresponding to given identifiers or null.
See Also