Session Methods

The Session type exposes the following members.

Methods

 

Name

Description

Close

Closes this ISession

Connect

Connects the session.

Disconnect

Disconnects the session from the target.

Dispose.

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

Dispose(Boolean)

Releases unmanaged and - optionally - managed resources.

Equals

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

Finalize

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

GetHashCode

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

GetSessionName

Gets the name/string identifier of the session.

GetType

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

MemberwiseClone

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

OnConnect

Handler function connecting the Session.

OnCreateSymbolServer

Handler function creating the ISymbolServer

OnDisconnect

Handler function disconnecting the session.

OnGetAddress

Handler function getting the address of the session.

ToString

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

Reference

Session Class

TwinCAT Namespace