Pop3ClientGetMessageInfoAsync Method (IConnection, String, 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(
IConnection connection,
string uniqueId,
Pop3ListFields fields,
CancellationToken token
)
Public Function GetMessageInfoAsync (
connection As IConnection,
uniqueId As String,
fields As Pop3ListFields,
token As CancellationToken
) As Task(Of Pop3MessageInfo)
public:
Task<Pop3MessageInfo^>^ GetMessageInfoAsync(
IConnection^ connection,
String^ uniqueId,
Pop3ListFields fields,
CancellationToken token
)
member GetMessageInfoAsync :
connection : IConnection *
uniqueId : string *
fields : Pop3ListFields *
token : CancellationToken -> Task<Pop3MessageInfo>
Parameters
- connection
- Type: Aspose.Email.ClientsIConnection
Connection to a server - uniqueId
- Type: SystemString
The unique id 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