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:

ConnectAndWaitAsync

Connects the session.
(Inherited from Session)

AdsSession Methods 4:

ConnectAsync

Connects the session.
(Inherited from Session)

AdsSession Methods 5:

Disconnect

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

AdsSession Methods 6:

Dispose

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

AdsSession Methods 7:

Dispose(Boolean)

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

AdsSession Methods 8:

EnsureConnection

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

AdsSession Methods 9:

Equals

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

AdsSession Methods 10:

Finalize

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

AdsSession Methods 11:

GetHashCode

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

AdsSession Methods 12:

GetSessionName

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

AdsSession Methods 13:

GetType

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

AdsSession Methods 14:

MemberwiseClone

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

AdsSession Methods 15:

OnConnect

Handler function connecting the Session.
(Inherited from AdsSessionBase)

AdsSession Methods 16:

OnConnectAndWaitAsync

Handler function connecting the Session.
(Inherited from AdsSessionBase)

AdsSession Methods 17:

OnConnectAsync

Handler function connecting the Session.
(Inherited from AdsSessionBase)

AdsSession Methods 18:

OnConnectionStateChanged

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

AdsSession Methods 19:

OnCreateSymbolServer

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

AdsSession Methods 20:

OnDisconnect

Handler function disconnecting the session.
(Inherited from AdsSessionBase)

AdsSession Methods 21:

OnGetAddress

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

AdsSession Methods 22:

ToString

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

Reference

AdsSession Class TwinCAT.Ads Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026