Share via


ProtocolProvider.SiteUpdatedEventHandler Delegate

Definition

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

public: delegate void ProtocolProvider::SiteUpdatedEventHandler(System::Object ^ sender, SiteUpdatedEventArgs ^ e);
public delegate void ProtocolProvider.SiteUpdatedEventHandler(object sender, SiteUpdatedEventArgs e);
type ProtocolProvider.SiteUpdatedEventHandler = delegate of obj * SiteUpdatedEventArgs -> unit
Public Delegate Sub ProtocolProvider.SiteUpdatedEventHandler(sender As Object, e As SiteUpdatedEventArgs)

Parameters

sender
Object

The source of the event.

e
SiteUpdatedEventArgs

The SiteUpdatedEventArgs that contains the event data.

Remarks

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.

Applies to