HttpSelfHostServer.OpenAsync Method
Opens the current HttpServer instance.
Namespace: System.Web.Http.SelfHost
Assembly: System.Web.Http.SelfHost (in System.Web.Http.SelfHost.dll)
Syntax
'Declaration
Public Function OpenAsync As Task
'Usage
Dim instance As HttpSelfHostServer
Dim returnValue As Task
returnValue = instance.OpenAsync()
public Task OpenAsync()
public:
Task^ OpenAsync()
member OpenAsync : unit -> Task
public function OpenAsync() : 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.