AdsSessionBase Methods

The AdsSessionBase type exposes the following members.

Methods

 

Name

Description

AdsSessionBase Methods 1:

Close

Closes this ISession
(Inherited from Session)

AdsSessionBase Methods 2:

Connect

Connects the session.
(Inherited from Session)

AdsSessionBase Methods 3:

ConnectAndWaitAsync

Connects the session.
(Inherited from Session)

AdsSessionBase Methods 4:

ConnectAsync

Connects the session.
(Inherited from Session)

AdsSessionBase Methods 5:

Disconnect

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

AdsSessionBase Methods 6:

Dispose

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

AdsSessionBase Methods 7:

Dispose(Boolean)

Releases unmanaged and - optionally - managed resources.
(Overrides SessionDispose(Boolean))

AdsSessionBase Methods 8:

EnsureConnection

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

AdsSessionBase Methods 9:

Equals

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

AdsSessionBase Methods 10:

Finalize

Finalizes an instance of the AdsSessionBase class.
(Overrides ObjectFinalize)

AdsSessionBase Methods 11:

GetHashCode

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

AdsSessionBase Methods 12:

GetSessionName

Gets the name/string identifier of the session.
(Overrides SessionGetSessionName)

AdsSessionBase Methods 13:

GetType

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

AdsSessionBase Methods 14:

MemberwiseClone

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

AdsSessionBase Methods 15:

OnConnect

Handler function connecting the Session.
(Overrides SessionOnConnect(Boolean))

AdsSessionBase Methods 16:

OnConnectAndWaitAsync

Handler function connecting the Session.
(Overrides SessionOnConnectAndWaitAsync(Boolean, CancellationToken))

AdsSessionBase Methods 17:

OnConnectAsync

Handler function connecting the Session.
(Overrides SessionOnConnectAsync(Boolean, CancellationToken))

AdsSessionBase Methods 18:

OnConnectionStateChanged

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

AdsSessionBase Methods 19:

OnCreateSymbolServer

Handler function creating the symbol server object.
(Overrides SessionOnCreateSymbolServer)

AdsSessionBase Methods 20:

OnDisconnect

Handler function disconnecting the session.
(Overrides SessionOnDisconnect)

AdsSessionBase Methods 21:

OnGetAddress

Handler function getting the address of the session.
(Overrides SessionOnGetAddress)

AdsSessionBase Methods 22:

ToString

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

Reference

AdsSessionBase Class TwinCAT.Ads Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026