AdsException Constructor (String, Exception)

Initializes a new Instance of the AdsException class.

Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

public AdsException(
    string message,
    Exception innerException
)

VB

Public Sub New ( 
    message As String,
    innerException As Exception
)

Parameters

message

Type: System.String
The error message that explains the reason for the exception.

innerException

Type: System.Exception
The exception that is the cause of the current exception. If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception.

Reference

AdsException Class

AdsException Overload

TwinCAT.Ads Namespace