Share via


EndpointException Constructors

Definition

Overloads

EndpointException(String)

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

EndpointException(String, Exception)

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

EndpointException(String)

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

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

Parameters

message
String

The message that describes the error.

Applies to

EndpointException(String, Exception)

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

public:
 EndpointException(System::String ^ message, Exception ^ innerException);
public EndpointException (string message, Exception innerException);
new Microsoft.Xrm.Sdk.Data.Exceptions.EndpointException : string * Exception -> Microsoft.Xrm.Sdk.Data.Exceptions.EndpointException
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