Freigeben über


HostBuilderTestServerExtensions.GetTestClient(IHost) Methode

Definition

Ruft den Testclient aus dem TestServer in den Hostdiensten ab.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Net::Http::HttpClient ^ GetTestClient(Microsoft::Extensions::Hosting::IHost ^ host);
public static System.Net.Http.HttpClient GetTestClient (this Microsoft.Extensions.Hosting.IHost host);
static member GetTestClient : Microsoft.Extensions.Hosting.IHost -> System.Net.Http.HttpClient
<Extension()>
Public Function GetTestClient (host As IHost) As HttpClient

Parameter

host
IHost

Gibt zurück

Gilt für: