RequestBuilder(TestServer, String) 构造函数

定义

使用给定的路径构造新的 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

适用于