HttpMessage.SetProperty Method
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.
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. |
- 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
Azure SDK for .NET Latest
Product | Versions |
---|---|
Azure SDK for .NET | Latest |
- 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
Azure SDK for .NET Latest
Product | Versions |
---|---|
Azure SDK for .NET | Latest |
Azure SDK for .NET feedback
Azure SDK for .NET is an open source project. Select a link to provide feedback: