IEmailWidgetTemplateInfoProviderGetAsync Method |
Namespace: CMS.NewslettersAssembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 13.0.131
Syntax 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:
TaskEmailWidgetTemplateInfoReturns a task returning either an instance of
EmailWidgetTemplateInfo corresponding to given identifiers or null.
See Also