TestServer.Host Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
IWebHost is obsolete. Use IHost instead. For more information, visit https://aka.ms/aspnet/deprecate/008.
Gets the IWebHost instance associated with the test server.
public:
property Microsoft::AspNetCore::Hosting::IWebHost ^ Host { Microsoft::AspNetCore::Hosting::IWebHost ^ get(); };
public Microsoft.AspNetCore.Hosting.IWebHost Host { get; }
[System.Obsolete("IWebHost is obsolete. Use IHost instead. For more information, visit https://aka.ms/aspnet/deprecate/008.", DiagnosticId="ASPDEPR008", UrlFormat="https://aka.ms/aspnet/deprecate/008")]
public Microsoft.AspNetCore.Hosting.IWebHost Host { get; }
member this.Host : Microsoft.AspNetCore.Hosting.IWebHost
[<System.Obsolete("IWebHost is obsolete. Use IHost instead. For more information, visit https://aka.ms/aspnet/deprecate/008.", DiagnosticId="ASPDEPR008", UrlFormat="https://aka.ms/aspnet/deprecate/008")>]
member this.Host : Microsoft.AspNetCore.Hosting.IWebHost
Public ReadOnly Property Host As IWebHost
Property Value
- Attributes