Partager via


HttpRequestMessage.Properties Propriété

Définition

Attention

Use Options instead.

Attention

HttpRequestMessage.Properties has been deprecated. Use Options instead.

Obtient un ensemble de propriétés pour la requête HTTP.

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)

Valeur de propriété

Retourne IDictionary<TKey,TValue>.

Attributs

Remarques

Cette propriété partage le stockage avec la Options propriété . L’utilisation des deux en même temps peut entraîner des collisions de clés inattendues.

S’applique à