共用方式為


LogProvider.Disposed Event

Definition

Adds an event handler to listen to the Disposed event on the log provider.

public:
 virtual event EventHandler ^ Disposed;
public event EventHandler Disposed;
member this.Disposed : EventHandler 
Public Custom Event Disposed As EventHandler 

Event Type

Implements

Remarks

The event handler receives an argument of type EventArgs. When you create a Disposed delegate, you identify the method that handles 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 the event handler delegates, see "Events and Delegates" in the .NET Framework Class Library.

Applies to