PurviewRequestException Class

Definition

Exception for general http request errors from Purview.

public class PurviewRequestException : Microsoft.Agents.AI.Purview.PurviewException
type PurviewRequestException = class
    inherit PurviewException
Public Class PurviewRequestException
Inherits PurviewException
Inheritance
PurviewRequestException

Constructors

Name Description
PurviewRequestException()

Initializes a new instance of the Exception class.

PurviewRequestException(HttpStatusCode, String) System.Exception.#ctor(System.Net.HttpStatusCode,System.String)
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.

PurviewRequestException(String)

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

Properties

Name Description
StatusCode

HTTP status code returned by the Purview service.

Applies to