HttpRequestMessage.Properties Egenskap

Definition

Varning

HttpRequestMessage.Properties has been deprecated. Use Options instead.

Varning

Use Options instead.

Hämtar en uppsättning egenskaper för HTTP-begäran.

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; }
[System.Obsolete("HttpRequestMessage.Properties has been deprecated. Use Options instead.")]
public System.Collections.Generic.IDictionary<string,object?> Properties { get; }
[System.Obsolete("Use Options instead.")]
public System.Collections.Generic.IDictionary<string,object?> Properties { get; }
member this.Properties : System.Collections.Generic.IDictionary<string, obj>
[<System.Obsolete("HttpRequestMessage.Properties has been deprecated. Use Options instead.")>]
member this.Properties : System.Collections.Generic.IDictionary<string, obj>
[<System.Obsolete("Use Options instead.")>]
member this.Properties : System.Collections.Generic.IDictionary<string, obj>
Public ReadOnly Property Properties As IDictionary(Of String, Object)

Egenskapsvärde

Returnerar IDictionary<TKey,TValue>.

Attribut

Kommentarer

Den här egenskapen delar lagring med egenskapen Options . Att använda båda samtidigt kan orsaka oväntade nyckelkollisioner.

Gäller för