共用方式為


HttpRetryStrategyOptionsExtensions Class

Definition

Extensions for HttpRetryStrategyOptions.

public ref class HttpRetryStrategyOptionsExtensions abstract sealed
[System.Diagnostics.CodeAnalysis.Experimental("EXTEXP0001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")]
public static class HttpRetryStrategyOptionsExtensions
[<System.Diagnostics.CodeAnalysis.Experimental("EXTEXP0001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")>]
type HttpRetryStrategyOptionsExtensions = class
Public Module HttpRetryStrategyOptionsExtensions
Inheritance
HttpRetryStrategyOptionsExtensions
Attributes

Methods

DisableFor(HttpRetryStrategyOptions, HttpMethod[])

Disables retry attempts for the given list of HTTP methods.

DisableForUnsafeHttpMethods(HttpRetryStrategyOptions)

Disables retry attempts for POST, PATCH, PUT, DELETE, and CONNECT HTTP methods.

Applies to