AdsSession Methods

The AdsSession type exposes the following members.

Methods

 

Name

Description

Close

Closes this ISession (Inherited from Session.)

Connect

Connects the session. (Inherited from Session.)

Disconnect

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

Dispose.

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

Dispose(Boolean)

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

Equals

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

Finalize

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

GetHashCode

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

GetSessionName

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

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. (Overrides Session.OnConnect(Boolean).)

OnCreateSymbolServer

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

OnDisconnect

Called when [disconnect]. (Overrides Session.OnDisconnect..)

OnGetAddress

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

ToString

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

Reference

AdsSession Class

TwinCAT.Ads Namespace