Class GraphThrottlingException

GraphThrottlingException class

Represents a Microsoft Graph throttling or transient service response.

public class GraphThrottlingException : Exception

Constructors

NameDescription
GraphThrottlingException(HttpStatusCode, string, TimeSpan?, int, WebHeaderCollection, string)Initializes a new instance of the GraphThrottlingException class.

Properties

NameDescription
ClientRequestId { get; }Gets the client request identifier, when present.
Headers { get; }Gets response headers captured from the throttling response.
RequestId { get; }Gets the Microsoft Graph request identifier, when present.
RetryAfter { get; }Gets the Retry-After value returned by Microsoft Graph, when present.
RetryAfterHeader { get; }Gets the raw Retry-After header value returned by Microsoft Graph, when present.
RetryAttempts { get; }Gets the number of retry attempts that were performed before the exception was raised.
StatusCode { get; }Gets the HTTP status code returned by Microsoft Graph.
StatusDescription { get; }Gets the HTTP status description returned by Microsoft Graph.

See Also