ImapClientFetchMessageAsync Method (Int32, CancellationToken)

Fetches the message

Namespace:  Aspose.Email.Clients.Imap
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntax
public Task<MailMessage> FetchMessageAsync(
	int sequenceNumber,
	CancellationToken token
)

Parameters

sequenceNumber
Type: SystemInt32
The sequence number of message
token
Type: System.ThreadingCancellationToken
Propagates notification that operations should be canceled.

Return Value

Type: TaskMailMessage
Task object, with delegate for this operation
See Also