Pop3ClientGetMessageInfoAsync Method (Int32, Pop3ListFields, CancellationToken) |
Gets the information for that message
Namespace:
Aspose.Email.Clients.Pop3
Assembly:
Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntaxpublic Task<Pop3MessageInfo> GetMessageInfoAsync(
int sequenceNumber,
Pop3ListFields fields,
CancellationToken token
)
Public Function GetMessageInfoAsync (
sequenceNumber As Integer,
fields As Pop3ListFields,
token As CancellationToken
) As Task(Of Pop3MessageInfo)
public:
Task<Pop3MessageInfo^>^ GetMessageInfoAsync(
int sequenceNumber,
Pop3ListFields fields,
CancellationToken token
)
member GetMessageInfoAsync :
sequenceNumber : int *
fields : Pop3ListFields *
token : CancellationToken -> Task<Pop3MessageInfo>
Parameters
- sequenceNumber
- Type: SystemInt32
The sequence number of the message - fields
- Type: Aspose.Email.Clients.Pop3Pop3ListFields
The fields that we want get - token
- Type: System.ThreadingCancellationToken
Propagates notification that operations should be canceled.
Return Value
Type:
TaskPop3MessageInfoTask object, with delegate for this operation
See Also