ContextLayer Class

The items in the context item manager are divided into layers. A layer may be isolated, in which it does not inherit context from previous layers, or normal, in which it does. Once a layer is created new context items can be set into that layer. When the layer is removed, all the prior context items come back.

Inheritance Hierarchy


Namespace:  Microsoft.Data.Tools.Design.Core.Context
Assembly:  Microsoft.Data.Tools.Design.Core (in Microsoft.Data.Tools.Design.Core.dll)


Public MustInherit Class ContextLayer _
    Implements IDisposable
Dim instance As ContextLayer
public abstract class ContextLayer : IDisposable
public ref class ContextLayer abstract : IDisposable
type ContextLayer =  
        interface IDisposable
public abstract class ContextLayer implements IDisposable

The ContextLayer type exposes the following members.


  Name Description
Protected method ContextLayer Creates a new ContextLayer object.



  Name Description
Public method Dispose() () () () Disposes this layer by calling Dispose(true).
Protected method Dispose(Boolean) Disposes this layer by calling Remove on it.
Public method Equals (Inherited from Object.)
Protected method Finalize Implements the finalization part of the IDisposable pattern by calling Dispose(false). (Overrides Object..::..Finalize() () () ().)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Remove Removes this layer from the items.
Public method ToString (Inherited from Object.)


Thread Safety

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

See Also


Microsoft.Data.Tools.Design.Core.Context Namespace