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);
member this.SetProperty : string * obj -> unit
Public Sub SetProperty (name As String, value As Object)

Parameters

name
String

The property name.

value
Object

The property value.

Applies to

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);
member this.SetProperty : Type * obj -> unit
Public Sub SetProperty (type As Type, value As Object)

Parameters

type
Type

The key for the value.

value
Object

The property value.

Applies to