Share via


TimeoutException Constructors

Definition

Overloads

TimeoutException(Exception)

Initializes a new instance of the TimeoutException class with the specified inner exception.

TimeoutException(String)

Initializes a new instance of the TimeoutException class with the specified error message.

TimeoutException(String, Exception)

Initializes a new instance of the TimeoutException class with the specified error message and inner exception.

TimeoutException(Exception)

Initializes a new instance of the TimeoutException class with the specified inner exception.

public:
 TimeoutException(Exception ^ innerException);
public TimeoutException (Exception innerException);
new Microsoft.Xrm.Sdk.Data.Exceptions.TimeoutException : Exception -> Microsoft.Xrm.Sdk.Data.Exceptions.TimeoutException
Public Sub New (innerException As Exception)

Parameters

innerException
Exception

The exception that is the cause of the current exception.

Applies to

TimeoutException(String)

Initializes a new instance of the TimeoutException class with the specified error message.

public:
 TimeoutException(System::String ^ message);
public TimeoutException (string message);
new Microsoft.Xrm.Sdk.Data.Exceptions.TimeoutException : string -> Microsoft.Xrm.Sdk.Data.Exceptions.TimeoutException
Public Sub New (message As String)

Parameters

message
String

The message that describes the error.

Applies to

TimeoutException(String, Exception)

Initializes a new instance of the TimeoutException class with the specified error message and inner exception.

public:
 TimeoutException(System::String ^ message, Exception ^ innerException);
public TimeoutException (string message, Exception innerException);
new Microsoft.Xrm.Sdk.Data.Exceptions.TimeoutException : string * Exception -> Microsoft.Xrm.Sdk.Data.Exceptions.TimeoutException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The message that describes the error.

innerException
Exception

>The exception that is the cause of the current exception.

Applies to