AdsErrorException Constructor (String, AdsErrorCode)

Initializes a new Instance of the AdsErrorException class.

Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 6.0.328+39e3229

Syntax

C#

public AdsErrorException(
    string? message,
    AdsErrorCode errorCode
)

Parameters

message

Type: System.String
The message.

errorCode

Type: TwinCAT.Ads.AdsErrorCode
The error code.

Reference

AdsErrorException Class

AdsErrorException Overload

TwinCAT.Ads Namespace