SessionConnectionStateChangedEventArgs Class

EventArguments for the ConnectionStatusChanged events.

Inheritance Hierarchy

System.Object
  System.EventArgs
    TwinCAT.ConnectionStateChangedEventArgs
      TwinCAT.SessionConnectionStateChangedEventArgs
Namespace:  TwinCAT
Assembly:  TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229

Syntax

C#

public class SessionConnectionStateChangedEventArgs : ConnectionStateChangedEventArgs

The SessionConnectionStateChangedEventArgs type exposes the following members.

Constructors

 

Name

Description

SessionConnectionStateChangedEventArgs Class 1:

SessionConnectionStateChangedEventArgs(ConnectionStateChangedReason, ConnectionState, ConnectionState, ISession, IConnection)

Initializes a new instance of the SessionConnectionStateChangedEventArgs class.

SessionConnectionStateChangedEventArgs Class 2:

SessionConnectionStateChangedEventArgs(ConnectionStateChangedReason, ConnectionState, ConnectionState, ISession, IConnection, Exception)

Initializes a new instance of the SessionConnectionStateChangedEventArgs class.

Properties

 

Name

Description

SessionConnectionStateChangedEventArgs Class 3:

Connection

The connection

SessionConnectionStateChangedEventArgs Class 4:

Exception

Exception, (only for Error (Inherited from ConnectionStateChangedEventArgs.)

SessionConnectionStateChangedEventArgs Class 5:

NewState

New connection state (Inherited from ConnectionStateChangedEventArgs.)

SessionConnectionStateChangedEventArgs Class 6:

OldState

Old connection state (Inherited from ConnectionStateChangedEventArgs.)

SessionConnectionStateChangedEventArgs Class 7:

Reason

Reason for the event (Inherited from ConnectionStateChangedEventArgs.)

SessionConnectionStateChangedEventArgs Class 8:

Session

The session

Methods

 

Name

Description

SessionConnectionStateChangedEventArgs Class 9:

Equals

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

SessionConnectionStateChangedEventArgs Class 10:

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

SessionConnectionStateChangedEventArgs Class 11:

GetHashCode

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

SessionConnectionStateChangedEventArgs Class 12:

GetType

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

SessionConnectionStateChangedEventArgs Class 13:

MemberwiseClone

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

SessionConnectionStateChangedEventArgs Class 14:

ToString

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

Reference

TwinCAT Namespace

TwinCAT.ConnectionStateChangedEventArgs