HostedEmailManager::HostedEmailAccountUpdated Event

 

Occurs when any hosted email account is updated.

Namespace:   Microsoft.WindowsServerSolutions.HostedEmail
Assembly:  Wssg.HostedEmailObjectModel (in Wssg.HostedEmailObjectModel.dll)

public:
event EventHandler<HostedEmailAccountUpdatedEventArgs^>^ HostedEmailAccountUpdated {
	void add(EventHandler<HostedEmailAccountUpdatedEventArgs^>^ value);
	void remove(EventHandler<HostedEmailAccountUpdatedEventArgs^>^ value);
}

This event occurs when an account is modified. This includes when an account is deleted successfully.

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();
}

Return to top

Community Additions

ADD
Show: