Context Class

 

Contains the mapping of transactions to partitions.

Namespace:   Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

System::Object
  Microsoft.VisualStudio.Modeling::Context

public ref class Context sealed : IDisposable

NameDescription
System_CAPS_pubmethodContext(Store^)

Initializes a new instance of the Context class.

NameDescription
System_CAPS_pubpropertyId

Gets or sets the ID of this context.

System_CAPS_pubpropertyInRedo

Indicates whether the context is redoing an operation.

System_CAPS_pubpropertyInUndo

Indicates whether the context is undoing an operation.

System_CAPS_pubpropertyInUndoRedoOrRollback

Indicates whether the context is undoing an operation, redoing an operation, or rolling back a transaction.

System_CAPS_pubpropertyPartitions

Gets the partitions that the context uses.

System_CAPS_pubpropertyStore

Gets the store to which the context belongs.

System_CAPS_pubpropertyUndoManager

Gets the undo manager for the context.

NameDescription
System_CAPS_pubmethodAddPartition(Partition^)

Adds a partition to the context.

System_CAPS_pubmethodDelete()

Deletes a partition from the context.

System_CAPS_pubmethodDispose()

Releases all resources that the Context used.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

Finalizer.(Overrides Object::Finalize().)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodRemovePartition(Partition^)

Removes a partition from the context.

System_CAPS_pubmethodToString()

(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.

Return to top
Show: