Pop3Client.GetMessageCountAsync
Contents
[
Hide
]GetMessageCountAsync(IConnection)
Gets the message count
public Task<int> GetMessageCountAsync(IConnection connection)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
GetMessageCountAsync(IConnection, bool)
Gets the message count
public Task<int> GetMessageCountAsync(IConnection connection, bool closeTransaction)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
closeTransaction | Boolean | Indicates if current transaction has to be closed, before the list is retrieved. |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
GetMessageCountAsync()
Gets the message count
public Task<int> GetMessageCountAsync()
Return Value
Task object, with delegate for this operation
See Also
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
GetMessageCountAsync(bool)
Gets the message count
public Task<int> GetMessageCountAsync(bool closeTransaction)
Parameter | Type | Description |
---|---|---|
closeTransaction | Boolean | Indicates if current transaction has to be closed, before the list is retrieved. |
Return Value
Task object, with delegate for this operation
See Also
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
GetMessageCountAsync(IConnection, CancellationToken)
Gets the message count
public Task<int> GetMessageCountAsync(IConnection connection, CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
GetMessageCountAsync(IConnection, bool, CancellationToken)
Gets the message count
public Task<int> GetMessageCountAsync(IConnection connection, bool closeTransaction,
CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
closeTransaction | Boolean | Indicates if current transaction has to be closed, before the list is retrieved. |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
GetMessageCountAsync(CancellationToken)
Gets the message count
public Task<int> GetMessageCountAsync(CancellationToken token)
Parameter | Type | Description |
---|---|---|
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email
GetMessageCountAsync(bool, CancellationToken)
Gets the message count
public Task<int> GetMessageCountAsync(bool closeTransaction, CancellationToken token)
Parameter | Type | Description |
---|---|---|
closeTransaction | Boolean | Indicates if current transaction has to be closed, before the list is retrieved. |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class Pop3Client
- namespace Aspose.Email.Clients.Pop3
- assembly Aspose.Email