ClientCapabilitiesAsync

ImapClient.ClientCapabilitiesAsync method (1 of 4)

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


ImapClient.ClientCapabilitiesAsync method (2 of 4)

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


ImapClient.ClientCapabilitiesAsync method (3 of 4)

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


ImapClient.ClientCapabilitiesAsync method (4 of 4)

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