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:

ConnectAsync

Connects the session. (Inherited from Session.)

AdsSessionBase Methods 4:

Disconnect

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

AdsSessionBase Methods 5:

Dispose.

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

AdsSessionBase Methods 6:

Dispose(Boolean)

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

AdsSessionBase Methods 7:

EnsureConnection

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

AdsSessionBase Methods 8:

Equals

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

AdsSessionBase Methods 9:

Finalize

Finalizes an instance of the AdsSessionBase class. (Overrides Object.Finalize..)

AdsSessionBase Methods 10:

GetHashCode

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

AdsSessionBase Methods 11:

GetSessionName

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

AdsSessionBase Methods 12:

GetType

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

AdsSessionBase Methods 13:

MemberwiseClone

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

AdsSessionBase Methods 14:

OnConnect

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

AdsSessionBase Methods 15:

OnConnectAsync

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

AdsSessionBase Methods 16:

OnConnectionStateChanged

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

AdsSessionBase Methods 17:

OnCreateSymbolServer

Handler function creating the symbol server object. (Overrides Session.OnCreateSymbolServer..)

AdsSessionBase Methods 18:

OnDisconnect

Handler function disconnecting the session. (Overrides Session.OnDisconnect..)

AdsSessionBase Methods 19:

OnGetAddress

Handler function getting the address of the session. (Overrides Session.OnGetAddress..)

AdsSessionBase Methods 20:

ToString

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

Reference

AdsSessionBase Class

TwinCAT.Ads Namespace