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

System..::..Object
  Microsoft.Data.Tools.Design.Core.Context..::..ContextLayer

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

Syntax

'Declaration
Public MustInherit Class ContextLayer _
    Implements IDisposable
'Usage
Dim instance As ContextLayer
public abstract class ContextLayer : IDisposable
public ref class ContextLayer abstract : IDisposable
[<AbstractClassAttribute>]
type ContextLayer =  
    class
        interface IDisposable
    end
public abstract class ContextLayer implements IDisposable

The ContextLayer type exposes the following members.

Constructors

  Name Description
Protected method ContextLayer Creates a new ContextLayer object.

Top

Methods

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

Top

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

Reference

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