Session Methods

The Session type exposes the following members.

Methods

 

Name

Description

Session Methods 1:

Close

Closes this ISession

Session Methods 2:

Connect

Connects the session.

Session Methods 3:

ConnectAsync

Connects the session.

Session Methods 4:

Disconnect

Disconnects the session from the target.

Session Methods 5:

Dispose.

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Session Methods 6:

Dispose(Boolean)

Releases unmanaged and - optionally - managed resources.

Session Methods 7:

EnsureConnection

Ensures, that the ISession is connected and returns the IConnection object.

Session Methods 8:

Equals

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

Session Methods 9:

Finalize

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

Session Methods 10:

GetHashCode

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

Session Methods 11:

GetSessionName

Gets the name/string identifier of the session.

Session Methods 12:

GetType

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

Session Methods 13:

MemberwiseClone

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

Session Methods 14:

OnConnect

Handler function connecting the Session.

Session Methods 15:

OnConnectAsync

Handler function connecting the Session.

Session Methods 16:

OnConnectionStateChanged

Handles the [E:ConnectionStateChanged] event.

Session Methods 17:

OnCreateSymbolServer

Handler function creating the ISymbolServer

Session Methods 18:

OnDisconnect

Handler function disconnecting the session.

Session Methods 19:

OnGetAddress

Handler function getting the address of the session.

Session Methods 20:

ToString

Returns a String that represents this instance. (Overrides Object.ToString..)

Reference

Session Class

TwinCAT Namespace