RequestBuilder.And(Action<HttpRequestMessage>) 方法

定义

配置任何 HttpRequestMessage 属性。

public:
 Microsoft::AspNetCore::TestHost::RequestBuilder ^ And(Action<System::Net::Http::HttpRequestMessage ^> ^ configure);
public Microsoft.AspNetCore.TestHost.RequestBuilder And (Action<System.Net.Http.HttpRequestMessage> configure);
member this.And : Action<System.Net.Http.HttpRequestMessage> -> Microsoft.AspNetCore.TestHost.RequestBuilder
Public Function And (configure As Action(Of HttpRequestMessage)) As RequestBuilder

参数

返回

用于 RequestBuilder 链接的。

适用于