Share via


HttpMessage.SetProperty Method

Definition

Overloads

SetProperty(String, Object)

Sets a property that modifies the pipeline behavior. Please refer to individual policies documentation on what properties it supports.

SetProperty(Type, Object)

Sets a property that is stored with this HttpMessage instance and can be used for modifying pipeline behavior. Internal properties can be keyed with internal types to prevent external code from overwriting these values.

SetProperty(String, Object)

Source:
HttpMessage.cs

Sets a property that modifies the pipeline behavior. Please refer to individual policies documentation on what properties it supports.

public void SetProperty(string name, object value);

Parameters

name
String

The property name.

value
Object

The property value.

Applies to

Azure SDK for .NET Latest
Product Versions
Azure SDK for .NET Latest

SetProperty(Type, Object)

Source:
HttpMessage.cs

Sets a property that is stored with this HttpMessage instance and can be used for modifying pipeline behavior. Internal properties can be keyed with internal types to prevent external code from overwriting these values.

public void SetProperty(Type type, object value);

Parameters

type
Type

The key for the value.

value
Object

The property value.

Applies to

Azure SDK for .NET Latest
Product Versions
Azure SDK for .NET Latest