This documentation is archived and is not being maintained.
ContextChangingEventArgs Class
Visual Studio 2013
EventArgs for the ContextChanging event on the ITeamFoundationContextManager interface.
This API is not CLS-compliant.
System::Object
System::EventArgs
Microsoft.TeamFoundation.Client::ContextChangingEventArgs
Microsoft.VisualStudio.Services.Integration::VsContextChangingEventArgs
System::EventArgs
Microsoft.TeamFoundation.Client::ContextChangingEventArgs
Microsoft.VisualStudio.Services.Integration::VsContextChangingEventArgs
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
The ContextChangingEventArgs type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Cancel | Flag to indicate if the current context change should be canceled. |
![]() | NewContext | The new context. |
![]() | TeamProjectCollectionChanging | True if the collection is changing, false otherwise. |
| Name | Description | |
|---|---|---|
![]() | AddHierarchyForPromptAndSave | When inside Visual Studio, IVsHierarchy items can be prompted for saving before it continues with switching the context. |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Show:
