IAttachmentForEmailInfoProviderGetAsync Method |
Namespace: CMS.EmailEngineAssembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 13.0.131
Syntax Task<AttachmentForEmailInfo> GetAsync(
int emailId,
int emailAttachmentId,
Nullable<CancellationToken> cancellationToken = null
)
Parameters
- emailId
- Type: SystemInt32
Email ID. - emailAttachmentId
- Type: SystemInt32
Email attachment ID. - cancellationToken (Optional)
- Type: SystemNullableCancellationToken
The cancellation instruction.
Return Value
Type:
TaskAttachmentForEmailInfoReturns a task returning either an instance of
AttachmentForEmailInfo corresponding to given identifiers or null.
See Also