HostedEmailManager.HostedEmailAccountUpdated Event
Occurs when any hosted email account is updated.
Namespace: Microsoft.WindowsServerSolutions.HostedEmail
Assembly: Wssg.HostedEmailObjectModel (in Wssg.HostedEmailObjectModel.dll)
Syntax
public event EventHandler<HostedEmailAccountUpdatedEventArgs> HostedEmailAccountUpdated
public:
event EventHandler<HostedEmailAccountUpdatedEventArgs^>^ HostedEmailAccountUpdated {
void add(EventHandler<HostedEmailAccountUpdatedEventArgs^>^ value);
void remove(EventHandler<HostedEmailAccountUpdatedEventArgs^>^ value);
}
Public Event HostedEmailAccountUpdated As EventHandler(Of HostedEmailAccountUpdatedEventArgs)
Remarks
This event occurs when an account is modified. This includes when an account is deleted successfully.
Examples
The following code sample describes using HostedEmailAccountUpdated as part of the process of connecting to the service. For the complete code sample, see Quickstart: Creating a Hosted Email Adapter.
private void Manager_ConnectCompleted()
{
manager.HostedEmailAccountUpdated += OnEmailAccountUpdated;
QueryDomainNames();
QueryMailboxNumber();
}
See Also
HostedEmailManager Class
Microsoft.WindowsServerSolutions.HostedEmail Namespace
Return to top