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)
ParameterTypeDescription
capabilityNamesString[]Array of capabilities which are supported by client

Return Value

Task object, with delegate for this operation

See Also


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)
ParameterTypeDescription
connectionIConnectionConnection to a server
capabilityNamesString[]Array of capabilities which are supported by client

Return Value

Task object, with delegate for this operation

See Also


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)
ParameterTypeDescription
tokenCancellationTokenPropagates notification that operations should be canceled.
capabilityNamesString[]Array of capabilities which are supported by client

Return Value

Task object, with delegate for this operation

See Also


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)
ParameterTypeDescription
connectionIConnectionConnection to a server
tokenCancellationTokenPropagates notification that operations should be canceled.
capabilityNamesString[]Array of capabilities which are supported by client

Return Value

Task object, with delegate for this operation

See Also