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.StringThe name of the mailbox user account to retrieve.
acceptLongWaiting
Type: System.Booleantrue to allow for a long wait time; otherwise, false.
handler
Type: System.EventHandler<MailboxExtensionEventArgs<IMailbox>>A reference to an EventHandler<TEventArgs> of event data type MailboxExtensionEventArgs<TResult> of result type IMailbox.
See Also
IMailboxExtension Interface
Microsoft.WindowsServerSolutions.Common Namespace
Return to top