Share via


ClientException Class

Definition

Graph client exception.

public class ClientException : Microsoft.Graph.ServiceException
type ClientException = class
    inherit ServiceException
Public Class ClientException
Inherits ServiceException
Inheritance
ClientException

Constructors

ClientException(Error, Exception)

Creates a new client exception.

Properties

Error

The error from the service exception.

(Inherited from ServiceException)
RawResponseBody

Provide the raw JSON response body.

(Inherited from ServiceException)
ResponseHeaders

The HTTP response headers from the response.

(Inherited from ServiceException)
StatusCode

The HTTP status code from the response.

(Inherited from ServiceException)

Methods

IsMatch(String)

Checks if a given error code has been returned in the response at any level in the error stack.

(Inherited from ServiceException)
ToString() (Inherited from ServiceException)

Applies to