ImapClient.ClientCapabilitiesAsync
ClientCapabilitiesAsync(params string[])
Notifies server which extensions are supported by client. Please note, this operation works only in case if server supports RFC5161 See more https://tools.ietf.org/html/rfc5161
public Task<string[]> ClientCapabilitiesAsync(params string[] capabilityNames)
| Parameter | Type | Description |
|---|---|---|
| capabilityNames | String[] | Array of capabilities which are supported by client |
Return Value
Task object, with delegate for this operation
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ClientCapabilitiesAsync(IConnection, params string[])
Notifies server which extensions are supported by client. Please note, this operation works only in case if server supports RFC5161 See more https://tools.ietf.org/html/rfc5161
public Task<string[]> ClientCapabilitiesAsync(IConnection connection,
params string[] capabilityNames)
| Parameter | Type | Description |
|---|---|---|
| connection | IConnection | Connection to a server |
| capabilityNames | String[] | Array of capabilities which are supported by client |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ClientCapabilitiesAsync(CancellationToken, params string[])
Notifies server which extensions are supported by client. Please note, this operation works only in case if server supports RFC5161 See more https://tools.ietf.org/html/rfc5161
public Task<string[]> ClientCapabilitiesAsync(CancellationToken token,
params string[] capabilityNames)
| Parameter | Type | Description |
|---|---|---|
| token | CancellationToken | Propagates notification that operations should be canceled. |
| capabilityNames | String[] | Array of capabilities which are supported by client |
Return Value
Task object, with delegate for this operation
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ClientCapabilitiesAsync(IConnection, CancellationToken, params string[])
Notifies server which extensions are supported by client. Please note, this operation works only in case if server supports RFC5161 See more https://tools.ietf.org/html/rfc5161
public Task<string[]> ClientCapabilitiesAsync(IConnection connection, CancellationToken token,
params string[] capabilityNames)
| Parameter | Type | Description |
|---|---|---|
| connection | IConnection | Connection to a server |
| token | CancellationToken | Propagates notification that operations should be canceled. |
| capabilityNames | String[] | Array of capabilities which are supported by client |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email