Partilhar via


HttpRequestMessage.Properties Propriedade

Definição

Cuidado

Use Options instead.

Cuidado

HttpRequestMessage.Properties has been deprecated. Use Options instead.

Obtém um conjunto de propriedades para a solicitação 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)

Valor da propriedade

Retorna IDictionary<TKey,TValue>.

Atributos

Comentários

Essa propriedade compartilha o armazenamento com a Options propriedade . Usar ambos ao mesmo tempo pode causar colisões de chave inesperadas.

Aplica-se a