Share via


CloudSpatialException Constructors

Definition

Overloads

CloudSpatialException()

Creates a new instance of the CloudSpatialException class.

CloudSpatialException(CloudSpatialErrorCode)

Creates a new instance of the CloudSpatialException class.

CloudSpatialException(CloudSpatialErrorCode, String)

Creates a new instance of the CloudSpatialException class.

CloudSpatialException(CloudSpatialErrorCode, String, String, String)

Creates a new instance of the CloudSpatialException class.

CloudSpatialException(CloudSpatialErrorCode, String, String, String, Exception)

Creates a new instance of the CloudSpatialException class.

CloudSpatialException()

Creates a new instance of the CloudSpatialException class.

public:
 CloudSpatialException();
public CloudSpatialException ();
Public Sub New ()

Applies to

CloudSpatialException(CloudSpatialErrorCode)

Creates a new instance of the CloudSpatialException class.

public:
 CloudSpatialException(Microsoft::Azure::SpatialAnchors::CloudSpatialErrorCode code);
public CloudSpatialException (Microsoft.Azure.SpatialAnchors.CloudSpatialErrorCode code);
new Microsoft.Azure.SpatialAnchors.CloudSpatialException : Microsoft.Azure.SpatialAnchors.CloudSpatialErrorCode -> Microsoft.Azure.SpatialAnchors.CloudSpatialException
Public Sub New (code As CloudSpatialErrorCode)

Parameters

code
CloudSpatialErrorCode

Error code for this exception.

Applies to

CloudSpatialException(CloudSpatialErrorCode, String)

Creates a new instance of the CloudSpatialException class.

public:
 CloudSpatialException(Microsoft::Azure::SpatialAnchors::CloudSpatialErrorCode code, System::String ^ message);
public CloudSpatialException (Microsoft.Azure.SpatialAnchors.CloudSpatialErrorCode code, string message);
new Microsoft.Azure.SpatialAnchors.CloudSpatialException : Microsoft.Azure.SpatialAnchors.CloudSpatialErrorCode * string -> Microsoft.Azure.SpatialAnchors.CloudSpatialException
Public Sub New (code As CloudSpatialErrorCode, message As String)

Parameters

code
CloudSpatialErrorCode

Error code for this exception.

message
String

Plain text error message for this exception.

Applies to

CloudSpatialException(CloudSpatialErrorCode, String, String, String)

Creates a new instance of the CloudSpatialException class.

public:
 CloudSpatialException(Microsoft::Azure::SpatialAnchors::CloudSpatialErrorCode code, System::String ^ message, System::String ^ requestCorrelationVector, System::String ^ responseCorrelationVector);
public CloudSpatialException (Microsoft.Azure.SpatialAnchors.CloudSpatialErrorCode code, string message, string requestCorrelationVector, string responseCorrelationVector);
new Microsoft.Azure.SpatialAnchors.CloudSpatialException : Microsoft.Azure.SpatialAnchors.CloudSpatialErrorCode * string * string * string -> Microsoft.Azure.SpatialAnchors.CloudSpatialException
Public Sub New (code As CloudSpatialErrorCode, message As String, requestCorrelationVector As String, responseCorrelationVector As String)

Parameters

code
CloudSpatialErrorCode

Error code for this exception.

message
String

Plain text error message for this exception.

requestCorrelationVector
String

Request correlation vector for this exception.

responseCorrelationVector
String

Response correlation vector for this exception.

Applies to

CloudSpatialException(CloudSpatialErrorCode, String, String, String, Exception)

Creates a new instance of the CloudSpatialException class.

public:
 CloudSpatialException(Microsoft::Azure::SpatialAnchors::CloudSpatialErrorCode code, System::String ^ message, System::String ^ requestCorrelationVector, System::String ^ responseCorrelationVector, Exception ^ inner);
public CloudSpatialException (Microsoft.Azure.SpatialAnchors.CloudSpatialErrorCode code, string message, string requestCorrelationVector, string responseCorrelationVector, Exception inner);
new Microsoft.Azure.SpatialAnchors.CloudSpatialException : Microsoft.Azure.SpatialAnchors.CloudSpatialErrorCode * string * string * string * Exception -> Microsoft.Azure.SpatialAnchors.CloudSpatialException
Public Sub New (code As CloudSpatialErrorCode, message As String, requestCorrelationVector As String, responseCorrelationVector As String, inner As Exception)

Parameters

code
CloudSpatialErrorCode

Error code for this exception.

message
String

Plain text error message for this exception.

requestCorrelationVector
String

Request correlation vector for this exception.

responseCorrelationVector
String

Response correlation vector for this exception.

inner
Exception

Exception that caused this exception to be thrown.

Applies to