SessionProvider.TSession, TAddress, TSettings. Class

Abstract base class for a Custom Session provider

Inheritance Hierarchy

System.Object
  TwinCAT.SessionProvider.TSession, TAddress, TSettings.
Namespace:  TwinCAT
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 6.0.328+39e3229

Syntax

C#

public abstract class SessionProvider<TSession, TAddress, TSettings> : ISessionProvider<TSession, TAddress, TSettings>, 
    ISessionProvider
where TSession : ISession
where TSettings : class

Type Parameters

TSession

SessionType

TAddress

Address type

TSettings

Communication settings type

The SessionProvider.TSession, TAddress, TSettings. type exposes the following members.

Constructors

 

Name

Description

SessionProvider.TSession, TAddress, TSettings. Class 1:

SessionProvider.TSession, TAddress, TSettings..

Initializes a new instance of the SessionProvider.TSession, TAddress, TSettings. class.

SessionProvider.TSession, TAddress, TSettings. Class 2:

SessionProvider.TSession, TAddress, TSettings.(SessionProviderCapabilities)

Initializes a new instance of the SessionProvider.TSession, TAddress, TSettings. class.

Properties

 

Name

Description

SessionProvider.TSession, TAddress, TSettings. Class 3:

Capabilities

Gets the capabilities.

SessionProvider.TSession, TAddress, TSettings. Class 4:

Name

Gets the name of the SessionProvider

Methods

 

Name

Description

SessionProvider.TSession, TAddress, TSettings. Class 5:

Equals

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

SessionProvider.TSession, TAddress, TSettings. Class 6:

Finalize

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

SessionProvider.TSession, TAddress, TSettings. Class 7:

GetHashCode

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

SessionProvider.TSession, TAddress, TSettings. Class 8:

GetType

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

SessionProvider.TSession, TAddress, TSettings. Class 9:

MemberwiseClone

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

SessionProvider.TSession, TAddress, TSettings. Class 10:

ToString

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

Fields

 

Name

Description

SessionProvider.TSession, TAddress, TSettings. Class 11:

SessionProvider.TSession, TAddress, TSettings. Class 12:

s_self

Singleton Instance.

Reference

TwinCAT Namespace

TwinCAT.ISessionProvider.TSession, TAddress, TSettings.