IMailboxExtension.GetDefaultMailboxAsync Method (String, EventHandler<MailboxExtensionEventArgs<IMailbox>>)
Asynchronously retrieves the default user account that is used to add to mailbox extension properties.
Namespace: Microsoft.WindowsServerSolutions.Common
Assembly: MiscUtil (in MiscUtil.dll)
Syntax
void GetDefaultMailboxAsync(
string userName,
EventHandler<MailboxExtensionEventArgs<IMailbox>> handler
)
void GetDefaultMailboxAsync(
String^ userName,
EventHandler<MailboxExtensionEventArgs<IMailbox^>^>^ handler
)
Sub GetDefaultMailboxAsync (
userName As String,
handler As EventHandler(Of MailboxExtensionEventArgs(Of IMailbox))
)
Parameters
userName
Type: System.StringThe name of the mailbox user account to retrieve.
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