共用方式為


HttpRequestMessageExtensions.SetProperty Method

Definition

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

propertyName
String
value
Object

Applies to