HostedEmailManager.BeginGetAllAssignedAccounts Method (EventHandler<OperationInvokeEventArgs<UserEmailInfo[]>>)
Asynchronous call to retrieve all email accounts assigned to Windows Server 2012 Essentials users.
Namespace: Microsoft.WindowsServerSolutions.HostedEmail
Assembly: Wssg.HostedEmailObjectModel (in Wssg.HostedEmailObjectModel.dll)
Syntax
public void BeginGetAllAssignedAccounts(
EventHandler<OperationInvokeEventArgs<UserEmailInfo[]>> completeHandler
)
public:
void BeginGetAllAssignedAccounts(
EventHandler<OperationInvokeEventArgs<array<UserEmailInfo^>^>^>^ completeHandler
)
Public Sub BeginGetAllAssignedAccounts (
completeHandler As EventHandler(Of OperationInvokeEventArgs(Of UserEmailInfo()))
)
Parameters
completeHandler
Type: System.EventHandler<OperationInvokeEventArgs<UserEmailInfo[]>>Complete handler for the asynchronous call
Remarks
The result of the method call is passed by the complete handler. The OperationInvokeError<T0>.Error indicates whether there was an exception thrown out during the operation. If this value is not null, the same exception will be thrown when accessing OperationInvokeEventArgs<T0>.Result.
OperationInvokeEventArgs<T0>.Result contains an array all users and their associated email accounts.
See Also
HostedEmailManager Class
Microsoft.WindowsServerSolutions.HostedEmail Namespace
Return to top