ClientResultException Class
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.
The exception that is thrown when the processing of a client request failed.
public class ClientResultException : Exception
type ClientResultException = class
inherit Exception
Public Class ClientResultException
Inherits Exception
- Inheritance
-
ClientResultException
Constructors
ClientResultException(PipelineResponse, Exception) |
Initializes a new instance of ClientResultException from a
PipelineResponse containing the details of the service's
error response. The Message is created from the
provided |
ClientResultException(String, PipelineResponse, Exception) |
Initializes a new instance of ClientResultException with a
custom exception message and an optional PipelineResponse.
The Message is set to |
Properties
Status |
Gets the HTTP status code of the response. Returns. |
Methods
CreateAsync(PipelineResponse, Exception) |
Asynchronously create an instance of ClientResultException from the PipelineResponse containing the details of the service's error response. |
GetRawResponse() |
Gets the PipelineResponse, if any, that led to the exception. |
Applies to
Azure SDK for .NET