EventSource Class

 

Determines whether this EventSource is advised on its Visual Studio event source.

Namespace:   Microsoft.VisualStudio.Shell.Events
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)


public ref class EventSource abstract 

NameDescription
System_CAPS_protmethodEventSource()

Instantiates a new instance of EventSource.

NameDescription
System_CAPS_protpropertyIsAdvised

NameDescription
System_CAPS_protmethodAddHandler(Delegate^, String^)

Adds an event handler for the specified key

System_CAPS_protmethodSystem_CAPS_staticAddSolitaryHandler<T>(T, List<T>^, Delegate^, String^)

Adds a single event handler for an event.

System_CAPS_protmethodAdvise()

Called when the first event sink is added to the event source. The derived class should advise the VS events it is wrapping at this point. This method is always called on the UI thread.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_protmethodGetHandler(String^)

Gets the handler for the given key, or null if none exists.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodHasHandler(String^)

Determines whether the event identified by the specified key has at least one handler.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodRaiseEvent<TEventArgs>(Object^, TEventArgs, String^)

Raises the specified event. All event handlers are called, regardless of whether an individual handler throws an exception.

System_CAPS_protmethodRemoveHandler(Delegate^, String^)

Removes an event handler for the event specified by key.

System_CAPS_protmethodSystem_CAPS_staticRemoveSolitaryHandler<T>(T, List<T>^, Delegate^, String^)

Removes a single event handler for an event.

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_protmethodUnadvise()

Called when the last event sink is removed from the event source. The derived class should unadvise the VS events it is wrapping at this point. This method is always called on the UI thread.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: