HttpRequestOptionsKey<TValue> 结构
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示 HTTP 请求的选项集合中的键。
generic <typename TValue>
public value class HttpRequestOptionsKey
C#
public readonly struct HttpRequestOptionsKey<TValue>
type HttpRequestOptionsKey<'Value> = struct
Public Structure HttpRequestOptionsKey(Of TValue)
- TValue
选项的值的类型。
- 继承
Http |
使用指定的键名初始化 HttpRequestOptionsKey<TValue> 类的新实例。 |
Key |
获取选项的名称。 |
产品 | 版本 |
---|---|
.NET | 5, 6, 7, 8, 9 |