Session Class
Represents a session that contains information about an active user.
Inheritance Hierarchy
SystemObject
TcHmiSrv.CoreSession
Namespace: TcHmiSrv.Core
Assembly: TcHmiSrvExtNet.Core (in
TcHmiSrvExtNet.Core.dll) Version:
3.1.7447.0+85f9b473a1dd11b8f3e5c9a182fd1901975e46f9
Syntax
C#
public class Session : ICopyable<Session>,
IDeepCopyable<Session>, IShallowCopyable<Session>, IEquatable<Session>The Session type exposes the following members.
Properties
|
|
Name |
Description |
|---|---|---|
|
|
Contains the EndpointInfo the Session. | |
|
|
Contains the identifier of the Session. | |
|
|
Contains the locale of the active user in BCP 47 representation. | |
|
|
Contains the numeric identifier of the WebSocket of the Session. | |
|
|
Contains the name of the active user. |
Methods
|
|
Name |
Description |
|---|---|---|
|
|
Creates a new object that is a deep copy of the current Session. | |
|
|
Determines whether the specified Object is equal to the
current Session. | |
|
|
Indicates whether the current Session is equal to another Session. | |
|
|
Allows an object to try to free resources and perform other
cleanup operations before it is reclaimed by garbage
collection. | |
|
|
Serves as the default hash function. | |
|
|
Gets the Type of the current
instance. | |
|
|
Creates a shallow copy of the current Object. | |
|
|
Creates a new Session that is a shallow copy of the current Session. | |
|
|
Returns a string that represents the current object. |
Operators
|
|
Name |
Description |
|---|---|---|
|
|
Determines whether two instances of the Session class are equal. | |
|
|
Determines whether two instances of the Session class are not equal. |
Extension Methods
|
|
Name |
Description |
|---|---|---|
|
|
Returns an unformatted JSON String that represents the
current Session. | |
|
|
Returns a JSON String that represents the
current Session. |
Version Information
Supported in: 3.1.7447.0, 2.3.7447.0, 1.10.7447.0