Context Class

Represents the context of an invoked method or symbol.

Inheritance Hierarchy

SystemObject
  TcHmiSrv.CoreContext

Namespace: TcHmiSrv.Core
Assembly: TcHmiSrvExtNet.Core (in TcHmiSrvExtNet.Core.dll) Version: 3.1.7447.0+85f9b473a1dd11b8f3e5c9a182fd1901975e46f9

Syntax

C#

public class Context : ICopyable<Context>, 
    IDeepCopyable<Context>, IShallowCopyable<Context>, IEquatable<Context>

The Context type exposes the following members.

Constructors

 

Name

Description

Context Class 1:

Context

Initializes a new instance of the Context class.

Properties

 

Name

Description

Context Class 2:

Domain

Contains the currently active domain.

Context Class 3:

Hash

Contains a hash value that uniquely identifies the Context.

Context Class 4:

RequestType

Contains the type of the request that is currently being executed.

Context Class 5:

Session

Contains the Session of the active user.

Context Class 6:

SubscriptionId

Contains an identifier to uniquely identify a subscription.

Methods

 

Name

Description

Context Class 7:

DeepCopy

Creates a new object that is a deep copy of the current Context.

Context Class 8:

Equals(Context)

Indicates whether the current Context is equal to another Context.

Context Class 9:

Equals(Object)

Determines whether the specified Object is equal to the current Context.
(Overrides ObjectEquals(Object))

Context Class 10:

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)

Context Class 11:

GetHashCode

Serves as the default hash function.
(Overrides ObjectGetHashCode)

Context Class 12:

GetType

Gets the Type of the current instance.
(Inherited from Object)

Context Class 13:

MemberwiseClone

Creates a shallow copy of the current Object.
(Inherited from Object)

Context Class 14:

ShallowCopy

Creates a new Context that is a shallow copy of the current Context.

Context Class 15:

ToString

Returns a string that represents the current object.
(Inherited from Object)

Operators

 

Name

Description

Context Class 16:

Context Class 17:

Equality(Context, Context)

Determines whether two instances of the Context class are equal.

Context Class 18:

Context Class 19:

Inequality(Context, Context)

Determines whether two instances of the Context class are not equal.

Extension Methods

 

Name

Description

Context Class 20:

ToJson

Returns an unformatted JSON String that represents the current Context.
(Defined by ContextExtensions)

Context Class 21:

ToJson

Returns a JSON String that represents the current Context.
(Defined by ContextExtensions)

Version Information

Supported in: 3.1.7447.0, 2.3.7447.0, 1.10.7447.0

Reference

TcHmiSrv.Core Namespace

Copyright © Beckhoff Automation GmbH & Co. KG