Pop3ClientGetMessageCountAsync Method (Boolean) |
Gets the message count
Namespace:
Aspose.Email.Clients.Pop3
Assembly:
Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntaxpublic Task<int> GetMessageCountAsync(
bool closeTransaction
)
Public Function GetMessageCountAsync (
closeTransaction As Boolean
) As Task(Of Integer)
public:
Task<int>^ GetMessageCountAsync(
bool closeTransaction
)
member GetMessageCountAsync :
closeTransaction : bool -> Task<int>
Parameters
- closeTransaction
- Type: SystemBoolean
Indicates if current transaction has to be closed, before the list is retrieved.
Return Value
Type:
TaskInt32Task object, with delegate for this operation
See Also