Click or drag to resize
AttachmentForEmailInfoProviderGetAsync Method (Int32, Int32, NullableCancellationToken)
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#
public virtual 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.

Implements

IAttachmentForEmailInfoProviderGetAsync(Int32, Int32, NullableCancellationToken)
See Also