Context Class
Contains the mapping of transactions to partitions.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
| Name | Description | |
|---|---|---|
![]() | Context(Store^) | Initializes a new instance of the Context class. |
| Name | Description | |
|---|---|---|
![]() | Id | Gets or sets the ID of this context. |
![]() | InRedo | Indicates whether the context is redoing an operation. |
![]() | InUndo | Indicates whether the context is undoing an operation. |
![]() | InUndoRedoOrRollback | Indicates whether the context is undoing an operation, redoing an operation, or rolling back a transaction. |
![]() | Partitions | Gets the partitions that the context uses. |
![]() | Store | Gets the store to which the context belongs. |
![]() | UndoManager | Gets the undo manager for the context. |
| Name | Description | |
|---|---|---|
![]() | AddPartition(Partition^) | Adds a partition to the context. |
![]() | Delete() | Deletes a partition from the context. |
![]() | Dispose() | Releases all resources that the Context used. |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | Finalizer.(Overrides Object::Finalize().) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | RemovePartition(Partition^) | Removes a partition from the context. |
![]() | ToString() | (Inherited from Object.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


