SocketsHttpHandler.Properties 属性

定义

获取可写字典 (,即 HttpClient 请求的自定义属性的映射) 。 初始字典为空;可以为自定义处理程序和特殊处理插入和查询键值对。

public:
 property System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ Properties { System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ get(); };
public System.Collections.Generic.IDictionary<string,object?> Properties { get; }
public System.Collections.Generic.IDictionary<string,object> Properties { get; }
member this.Properties : System.Collections.Generic.IDictionary<string, obj>
Public ReadOnly Property Properties As IDictionary(Of String, Object)

属性值

适用于