ImapClient.ValidateCredentialsAsync
Contents
[
Hide
]ValidateCredentialsAsync(IConnection)
Executes credentials validation
public Task<bool> ValidateCredentialsAsync(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 ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ValidateCredentialsAsync()
Executes credentials validation
public Task<bool> ValidateCredentialsAsync()
Return Value
Task object, with delegate for this operation
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ValidateCredentialsAsync(IConnection, CancellationToken)
Executes credentials validation
public Task<bool> ValidateCredentialsAsync(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 ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ValidateCredentialsAsync(CancellationToken)
Executes credentials validation
public Task<bool> ValidateCredentialsAsync(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 ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email