RestException<T>(HttpResponseMessage, T) 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.
public RestException (System.Net.Http.HttpResponseMessage response, T error);
new Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Runtime.RestException<'T> : System.Net.Http.HttpResponseMessage * 'T -> Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Runtime.RestException<'T>
Public Sub New (response As HttpResponseMessage, error As T)
Parameters
- response
- HttpResponseMessage
- error
- T