Dela via


APIErrorException Constructors

Definition

Overloads

APIErrorException()

Initializes a new instance of the APIErrorException class.

APIErrorException(String)

Initializes a new instance of the APIErrorException class.

APIErrorException(String, Exception)

Initializes a new instance of the APIErrorException class.

APIErrorException()

Initializes a new instance of the APIErrorException class.

public APIErrorException ();
Public Sub New ()

Applies to

APIErrorException(String)

Initializes a new instance of the APIErrorException class.

public APIErrorException (string message);
new Microsoft.Azure.CognitiveServices.ContentModerator.Models.APIErrorException : string -> Microsoft.Azure.CognitiveServices.ContentModerator.Models.APIErrorException
Public Sub New (message As String)

Parameters

message
String

The exception message.

Applies to

APIErrorException(String, Exception)

Initializes a new instance of the APIErrorException class.

public APIErrorException (string message, Exception innerException);
new Microsoft.Azure.CognitiveServices.ContentModerator.Models.APIErrorException : string * Exception -> Microsoft.Azure.CognitiveServices.ContentModerator.Models.APIErrorException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The exception message.

innerException
Exception

Inner exception.

Applies to