PurviewRequestException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| PurviewRequestException() | |
| PurviewRequestException(String) | |
| PurviewRequestException(HttpStatusCode, String) | |
| PurviewRequestException(String, Exception) |
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)
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