HttpResponseException(String, HttpResponseMessage) Constructor
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.
Initializes a new instance of the HttpResponseException class.
public HttpResponseException (string message, System.Net.Http.HttpResponseMessage response);
new Microsoft.PowerShell.Commands.HttpResponseException : string * System.Net.Http.HttpResponseMessage -> Microsoft.PowerShell.Commands.HttpResponseException
Public Sub New (message As String, response As HttpResponseMessage)
Parameters
- message
- String
Message for the exception.
- response
- HttpResponseMessage
Response from the HTTP server.