RequestBuilder.And(Action<HttpRequestMessage>) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
配置任何 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
参数
- configure
- Action<HttpRequestMessage>
返回
用于 RequestBuilder 链接的。