HttpClientHandler.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)

属性值

IDictionary<String,Object>

自定义属性的可写字典。

适用于