AdsSession Methods

The AdsSession type exposes the following members.

Methods

 

Name

Description

AdsSession Methods 1:

Close

Closes this ISession (Inherited from Session.)

AdsSession Methods 2:

Connect

Connects the session. (Inherited from Session.)

AdsSession Methods 3:

ConnectAsync

Connects the session. (Inherited from Session.)

AdsSession Methods 4:

Disconnect

Disconnects the session from the target. (Inherited from Session.)

AdsSession Methods 5:

Dispose.

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from Session.)

AdsSession Methods 6:

Dispose(Boolean)

Releases unmanaged and - optionally - managed resources. (Inherited from AdsSessionBase.)

AdsSession Methods 7:

EnsureConnection

Ensures, that the ISession is connected and returns the IConnection object. (Inherited from AdsSessionBase.)

AdsSession Methods 8:

Equals

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

AdsSession Methods 9:

Finalize

Finalizes an instance of the AdsSessionBase class. (Inherited from AdsSessionBase.)

AdsSession Methods 10:

GetHashCode

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

AdsSession Methods 11:

GetSessionName

Gets the name/string identifier of the session. (Inherited from AdsSessionBase.)

AdsSession Methods 12:

GetType

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

AdsSession Methods 13:

MemberwiseClone

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

AdsSession Methods 14:

OnConnect

Handler function connecting the Session. (Inherited from AdsSessionBase.)

AdsSession Methods 15:

OnConnectAsync

Handler function connecting the Session. (Inherited from Session.)

AdsSession Methods 16:

OnConnectionStateChanged

Handles the [E:ConnectionStateChanged] event. (Inherited from Session.)

AdsSession Methods 17:

OnCreateSymbolServer

Handler function creating the symbol server object. (Inherited from AdsSessionBase.)

AdsSession Methods 18:

OnDisconnect

Handler function disconnecting the session. (Inherited from AdsSessionBase.)

AdsSession Methods 19:

OnGetAddress

Handler function getting the address of the session. (Inherited from AdsSessionBase.)

AdsSession Methods 20:

ToString

Returns a String that represents this instance. (Inherited from Session.)

Reference

AdsSession Class

TwinCAT.Ads Namespace