Compartir a través de


Evento LogProvider.Disposed

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

Espacio de nombres:  Microsoft.SqlServer.Dts.Runtime
Ensamblado:  Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)

Sintaxis

'Declaración
Public Event Disposed As EventHandler
'Uso
Dim instance As LogProvider 
Dim handler As EventHandler 

AddHandler instance.Disposed, handler
public event EventHandler Disposed
public:
virtual   event EventHandler^ Disposed {
    void add (EventHandler^ value);
    void remove (EventHandler^ value);
}
abstract Disposed : IEvent<EventHandler,
    EventArgs>
override Disposed : IEvent<EventHandler,
    EventArgs>
JScript admite el uso de eventos, pero no la declaración de otros nuevos.

Implementa

IComponent.Disposed

Comentarios

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.

Vea también

Referencia

LogProvider Clase

Espacio de nombres Microsoft.SqlServer.Dts.Runtime