IAsyncPop3Client.GetMessageCountAsync
IAsyncPop3Client.GetMessageCountAsync method
Gets the message count
public Task<int> GetMessageCountAsync(bool closeTransaction = false, IConnection connection = null,
CancellationToken token = default)
Parameter | Type | Description |
---|---|---|
connection | Boolean | Connection to a server |
closeTransaction | IConnection | Indicates if current transaction has to be closed, before the list is retrieved. |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
The message count
See Also
- interface IConnection
- interface IAsyncPop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email