Share via


IMailboxExtension.GetMailboxAsync Method (String, Boolean, EventHandler<MailboxExtensionEventArgs<IMailbox>>)

 

Asynchronously retrieves the extension properties for a user.

Namespace:   Microsoft.WindowsServerSolutions.Common
Assembly:  MiscUtil (in MiscUtil.dll)

Syntax

void GetMailboxAsync(
    string userName,
    bool acceptLongWaiting,
    EventHandler<MailboxExtensionEventArgs<IMailbox>> handler
)
void GetMailboxAsync(
    String^ userName,
    bool acceptLongWaiting,
    EventHandler<MailboxExtensionEventArgs<IMailbox^>^>^ handler
)
Sub GetMailboxAsync (
    userName As String,
    acceptLongWaiting As Boolean,
    handler As EventHandler(Of MailboxExtensionEventArgs(Of IMailbox))
)

Parameters

  • userName
    Type: System.String

    The name of the mailbox user account to retrieve.

  • acceptLongWaiting
    Type: System.Boolean

    true to allow for a long wait time; otherwise, false.

See Also

IMailboxExtension Interface
Microsoft.WindowsServerSolutions.Common Namespace

Return to top