Läs på engelska Redigera

Dela via


HttpRequestOptionsKey<TValue> Struct

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.

Represents a key in the options collection for an HTTP request.

C#
public readonly struct HttpRequestOptionsKey<TValue>

Type Parameters

TValue

The type of the value of the option.

Inheritance
HttpRequestOptionsKey<TValue>

Constructors

HttpRequestOptionsKey<TValue>(String)

Initializes a new instance of the HttpRequestOptionsKey<TValue> class using the specified key name.

Properties

Key

Gets the name of the option.

Applies to

Produkt Versioner
.NET 5, 6, 7, 8, 9, 10