Partager via


ContextState Class

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016

Represents contextual information.

Namespace:   Microsoft.Uii.Csr
Assembly:  Microsoft.Uii.Csr.Core (in Microsoft.Uii.Csr.Core.dll)

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    Microsoft.Uii.Csr.Context
      Microsoft.Uii.Csr.ContextState

Syntax

public class ContextState : Context
Public Class ContextState
    Inherits Context

Constructors

Name Description
System_CAPS_pubmethod ContextState()

Initializes a new instance of the ContextState class.

System_CAPS_pubmethod ContextState(Context)

Initializes a new instance of the ContextState class.

Properties

Name Description
System_CAPS_pubproperty ContextInformation

Gets or sets the context with an XML context(Inherited from Context.)

System_CAPS_pubproperty Count

Gets the number of items in the context.(Inherited from Context.)

System_CAPS_pubproperty Item[String]

Gets or sets the value associated with the specified key.(Inherited from Context.)

System_CAPS_pubproperty Modifier

Gets or sets the object that modifies the context state.

Methods

Name Description
System_CAPS_pubmethod Clear()

Clears the context.(Inherited from Context.)

System_CAPS_pubmethod CreateObjRef(Type)

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetContext()

Get the XML context string from the context.(Inherited from Context.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod InitializeLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone(Boolean)

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethod SetContext(String)

Sets the context with an XML context.(Inherited from Context.)

System_CAPS_pubmethod 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.Uii.Csr Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright