共用方式為


HttpResponseException Class

Definition

Exception class for webcmdlets to enable returning HTTP error response.

public sealed class HttpResponseException : System.Net.Http.HttpRequestException
type HttpResponseException = class
    inherit HttpRequestException
Public NotInheritable Class HttpResponseException
Inherits HttpRequestException
Inheritance
HttpResponseException

Constructors

HttpResponseException(String, HttpResponseMessage)

Initializes a new instance of the HttpResponseException class.

Properties

Response

HTTP error response.

Applies to