ProtocolProvider::SiteUpdatedEventHandler Delegate

IIS 7.0

Represents the method that will handle events that are raised when the site is updated.

Namespace:   Microsoft.Web.Management.Client.Extensions
Assembly:  Microsoft.Web.Management (in Microsoft.Web.Management.dll)

public delegate void SiteUpdatedEventHandler(
	Object^ sender,
	SiteUpdatedEventArgs^ e


Type: System::Object^

The source of the event.

Type: Microsoft.Web.Management.Client.Extensions::SiteUpdatedEventArgs^

The SiteUpdatedEventArgs that contains the event data.

When a site is updated, the SiteUpdatedEventArgs object is created. The SiteUpdatedEventArgs contains the site name and the value of the SiteAction enumeration. The SiteUpdated property contains the ProtocolProvider::SiteUpdatedEventHandler delegate, which handles the SiteUpdatedEventArgs.

When you create a ProtocolProvider::SiteUpdatedEventHandler delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate. For more information about event-handler delegates, see Events and Delegates.

Return to top