다음을 통해 공유


Disposed 이벤트

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

네임스페이스:  Microsoft.SqlServer.Dts.Runtime
어셈블리:  Microsoft.SqlServer.ManagedDTS.dll의 Microsoft.SqlServer.ManagedDTS

구문

‘선언
Public Event Disposed As EventHandler
‘사용 방법
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는 이벤트 사용을 지원하지만 새로운 이벤트 선언은 지원하지 않습니다.

구현

IComponent. . :: . .Disposed

주의

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.