共用方式為


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

適用於