EventSource Class
Determines whether this EventSource is advised on its Visual Studio event source.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
Microsoft.VisualStudio.Shell.Events::EventSource
Microsoft.VisualStudio.Shell.Events::SingletonEventSource<TDerived>
| Name | Description | |
|---|---|---|
![]() | EventSource() | Instantiates a new instance of EventSource. |
| Name | Description | |
|---|---|---|
![]() | IsAdvised |
| Name | Description | |
|---|---|---|
![]() | AddHandler(Delegate^, String^) | Adds an event handler for the specified key |
![]() ![]() | AddSolitaryHandler<T>(T, List<T>^, Delegate^, String^) | Adds a single event handler for an event. |
![]() | Advise() | 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. |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHandler(String^) | Gets the handler for the given key, or null if none exists. |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | HasHandler(String^) | Determines whether the event identified by the specified key has at least one handler. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | RaiseEvent<TEventArgs>(Object^, TEventArgs, String^) | Raises the specified event. All event handlers are called, regardless of whether an individual handler throws an exception. |
![]() | RemoveHandler(Delegate^, String^) | Removes an event handler for the event specified by key. |
![]() ![]() | RemoveSolitaryHandler<T>(T, List<T>^, Delegate^, String^) | Removes a single event handler for an event. |
![]() | ToString() | (Inherited from Object.) |
![]() | Unadvise() | 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.



