Click or drag to resize
IAttachmentForEmailInfoProviderGetAsync Method
Asynchronously gets an instance of the AttachmentForEmailInfo binding structure.

Namespace: CMS.EmailEngine
Assembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 13.0.131
Syntax
C#
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: TaskAttachmentForEmailInfo
Returns a task returning either an instance of AttachmentForEmailInfo corresponding to given identifiers or null.
See Also