Session Class

Represents a session that contains information about an active user.

Inheritance Hierarchy

System.Object
  TcHmiSrv.Session
Namespace:  TcHmiSrv
Assembly:  TcHmiSrvExtNet (in TcHmiSrvExtNet.dll) Version: 3.0.0.0

Syntax

C#

public class Session : IEquatable<Session>, 
    IDisposable

The Session type exposes the following members.

Constructors

 

Name

Description

Session Class 1:

Session.

Initializes a new instance of the Session class.

Session Class 2:

Session(Session)

Initializes a new instance of the Session class based on another Session.

Properties

 

Name

Description

Session Class 3:

EndpointInfo

Gets or sets the endpoint information.

Session Class 4:

Id

Gets or sets the ID of the Session.

Session Class 5:

Locale

Gets or sets the locale of the user in BCP 47 representation.

Session Class 6:

SocketId

Gets or sets the socket ID of the Session.

Session Class 7:

User

Gets or sets the user name.

Methods

 

Name

Description

Session Class 8:

Dispose.

Releases all resources used by the Session

Session Class 9:

Dispose(Boolean)

Releases the unmanaged resources used by the Session and optionally releases the managed resources

Session Class 10:

Equals(Object)

Determines whether the specified object is equal to the current object. (Inherited from Object.)

Session Class 11:

Equals(Session)

Indicates whether the current Session is equal to another Session.

Session Class 12:

Finalize

(Overrides Object.Finalize..)

Session Class 13:

GetHashCode

Serves as the default hash function. (Inherited from Object.)

Session Class 14:

GetType

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

Session Class 15:

MemberwiseClone

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

Session Class 16:

ToString

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

Operators

 

Name

Description

Session Class 17:

Session Class 18:

Equality

Determines whether two instances of the Session class are equal.

Session Class 19:

Session Class 20:

Inequality

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

Reference

TcHmiSrv Namespace