HttpSelfHostServer.OpenAsync Method ()


Opens the current HttpServer instance.

Namespace:   System.Web.Http.SelfHost
Assembly:  System.Web.Http.SelfHost (in System.Web.Http.SelfHost.dll)


public Task OpenAsync()
Task^ OpenAsync()
member OpenAsync : unit -> Task
Public Function OpenAsync As Task

Return Value

Type: System.Threading.Tasks.Task

A Task representing the asynchronous HttpServer open operation. Once this task completes successfully the server is running.

See Also

HttpSelfHostServer Class
System.Web.Http.SelfHost Namespace

Return to top