PurviewRequestException Constructors

Definition

Overloads

PurviewRequestException()

Initializes a new instance of the Exception class.

public PurviewRequestException();
Public Sub New ()

Applies to

PurviewRequestException(String)

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

public PurviewRequestException(string message);
new Microsoft.Agents.AI.Purview.PurviewRequestException : string -> Microsoft.Agents.AI.Purview.PurviewRequestException
Public Sub New (message As String)

Parameters

message
String

Applies to

PurviewRequestException(HttpStatusCode, String)

System.Exception.#ctor(System.Net.HttpStatusCode,System.String)
public PurviewRequestException(System.Net.HttpStatusCode statusCode, string endpointName);
new Microsoft.Agents.AI.Purview.PurviewRequestException : System.Net.HttpStatusCode * string -> Microsoft.Agents.AI.Purview.PurviewRequestException
Public Sub New (statusCode As HttpStatusCode, endpointName As String)

Parameters

statusCode
HttpStatusCode
endpointName
String

Applies to

PurviewRequestException(String, Exception)

Initializes a new instance of the Exception class with a specified error message and a reference to the inner exception that is the cause of this exception.

public PurviewRequestException(string? message, Exception? innerException);
new Microsoft.Agents.AI.Purview.PurviewRequestException : string * Exception -> Microsoft.Agents.AI.Purview.PurviewRequestException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String
innerException
Exception

Applies to