HttpRequestMessage.Properties Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.