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