RequestBuilder(TestServer, String) 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
使用给定的路径构造新的 HttpRequestMessage。
public:
RequestBuilder(Microsoft::AspNetCore::TestHost::TestServer ^ server, System::String ^ path);
public RequestBuilder (Microsoft.AspNetCore.TestHost.TestServer server, string path);
new Microsoft.AspNetCore.TestHost.RequestBuilder : Microsoft.AspNetCore.TestHost.TestServer * string -> Microsoft.AspNetCore.TestHost.RequestBuilder
Public Sub New (server As TestServer, path As String)
参数
- server
- TestServer
- path
- String