ErrorContractException Constructors

Definition

Overloads

ErrorContractException()

Initializes a new instance of the ErrorContractException class.

ErrorContractException(String)

Initializes a new instance of the ErrorContractException class.

ErrorContractException(String, Exception)

Initializes a new instance of the ErrorContractException class.

ErrorContractException()

Initializes a new instance of the ErrorContractException class.

public ErrorContractException ();
Public Sub New ()

Applies to

ErrorContractException(String)

Initializes a new instance of the ErrorContractException class.

public ErrorContractException (string message);
new Microsoft.Azure.Management.Monitor.Models.ErrorContractException : string -> Microsoft.Azure.Management.Monitor.Models.ErrorContractException
Public Sub New (message As String)

Parameters

message
String

The exception message.

Applies to

ErrorContractException(String, Exception)

Initializes a new instance of the ErrorContractException class.

public ErrorContractException (string message, Exception innerException);
new Microsoft.Azure.Management.Monitor.Models.ErrorContractException : string * Exception -> Microsoft.Azure.Management.Monitor.Models.ErrorContractException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The exception message.

innerException
Exception

Inner exception.

Applies to