# GoogleWorkspaceRetryEvent

Describes a retry immediately before its delay is applied.

Class 

`OfficeIMO.GoogleWorkspace`

**Namespace**

`OfficeIMO.GoogleWorkspace`

**Assembly**

`OfficeIMO.GoogleWorkspace`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[GoogleWorkspaceRetryPolicy.cs:78](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.GoogleWorkspace/GoogleWorkspaceRetryPolicy.cs#L78)

**Modifiers**

sealed

Describes a retry immediately before its delay is applied.

## Inheritance

- object
- GoogleWorkspaceRetryEvent

## Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Accepted by parameters 1

- Method [GoogleWorkspaceRetryPolicy.SendAsync](/api/google-workspace/officeimo-googleworkspace-googleworkspaceretrypolicy/#method-sendasync-net-http-httpclient-func-system-net-http-httprequestmessage-officeimo-googleworkspace-googleworkspaceretryoptions-officeimo-googleworkspace-googleworkspacerequestsafety-threading-cancellationtoken-action-officeimo-googleworkspace-googleworkspaceretryevent) parameter `onRetry`

Filter members 

Show inherited

## Constructors

`public GoogleWorkspaceRetryEvent(string method, string uri, int retryAttempt, int maxRetryCount, string trigger, TimeSpan delay, string delayStrategy)` [#](#constructor-ctor-string-string-int32-int32-string-timespan-string)

[GoogleWorkspaceRetryPolicy.cs:78](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.GoogleWorkspace/GoogleWorkspaceRetryPolicy.cs#L78)

Creates observable retry telemetry.

Parameters

**method string required**

HTTP method of the request.

**uri string required**

Request URI.

**retryAttempt int required**

One-based retry number about to run.

**maxRetryCount int required**

Maximum retries allowed.

**trigger string required**

Response or transport condition that triggered the retry.

**delay System.TimeSpan required**

Delay before the next attempt.

**delayStrategy string required**

Strategy that selected the delay.

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string Method { get; }` [#](#property-method)

[GoogleWorkspaceRetryPolicy.cs:96](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.GoogleWorkspace/GoogleWorkspaceRetryPolicy.cs#L96)

Gets the HTTP method of the request.

`public string Uri { get; }` [#](#property-uri)

[GoogleWorkspaceRetryPolicy.cs:98](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.GoogleWorkspace/GoogleWorkspaceRetryPolicy.cs#L98)

Gets the request URI.

`public int RetryAttempt { get; }` [#](#property-retryattempt)

[GoogleWorkspaceRetryPolicy.cs:100](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.GoogleWorkspace/GoogleWorkspaceRetryPolicy.cs#L100)

Gets the one-based retry number about to run.

`public int MaxRetryCount { get; }` [#](#property-maxretrycount)

[GoogleWorkspaceRetryPolicy.cs:102](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.GoogleWorkspace/GoogleWorkspaceRetryPolicy.cs#L102)

Gets the maximum retries allowed.

`public string Trigger { get; }` [#](#property-trigger)

[GoogleWorkspaceRetryPolicy.cs:104](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.GoogleWorkspace/GoogleWorkspaceRetryPolicy.cs#L104)

Gets the response or transport condition that triggered the retry.

`public TimeSpan Delay { get; }` [#](#property-delay)

[GoogleWorkspaceRetryPolicy.cs:106](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.GoogleWorkspace/GoogleWorkspaceRetryPolicy.cs#L106)

Gets the delay before the next attempt.

`public string DelayStrategy { get; }` [#](#property-delaystrategy)

[GoogleWorkspaceRetryPolicy.cs:108](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.GoogleWorkspace/GoogleWorkspaceRetryPolicy.cs#L108)

Gets whether server guidance or exponential backoff selected the delay.

<!-- PowerForge markdown artifact sha256:2259E6F2969C8A41D61FB22541DCFC6682B7BDD3B3627C50FFFECF16BD3C47D5 -->
