IAsyncEwsClient.GetMailboxInfoAsync

IAsyncEwsClient.GetMailboxInfoAsync method

Gets the mailbox information

public Task<ExchangeMailboxInfo> GetMailboxInfoAsync(string mailbox = null, 
    CancellationToken cancellationToken = default)
ParameterTypeDescription
mailboxStringA mailbox to read from. Note: if mailbox is set to null or empty the default mailbox will be used
cancellationTokenCancellationTokenThe cancellation token.

Return Value

ExchangeMailboxInfo that represents mailbox information

Exceptions

exceptioncondition
ExchangeExceptionMailbox information can not be read.

See Also