HttpRequestMessageExtensions.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.
public static void SetProperty (this System.Net.Http.HttpRequestMessage request, string propertyName, object value);
static member SetProperty : System.Net.Http.HttpRequestMessage * string * obj -> unit
<Extension()>
Public Sub SetProperty (request As HttpRequestMessage, propertyName As String, value As Object)
Parameters
- request
- HttpRequestMessage
- propertyName
- String
- value
- Object