Edit

Share via


HttpRequestMessage.Properties Property

Definition

Caution

Use Options instead.

Caution

HttpRequestMessage.Properties has been deprecated. Use Options instead.

Gets a set of properties for the HTTP request.

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

Property Value

Returns IDictionary<TKey,TValue>.

Attributes

Remarks

This property shares storage with the Options property. Using both at the same time may cause unexpected key collisions.

Applies to