Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Closes the current HttpServer instance.
Namespace: System.Web.Http.SelfHost
Assembly: System.Web.Http.SelfHost (in System.Web.Http.SelfHost.dll)
Syntax
'Declaration
Public Function CloseAsync As Task
'Usage
Dim instance As HttpSelfHostServer
Dim returnValue As Task
returnValue = instance.CloseAsync()
public Task CloseAsync()
public:
Task^ CloseAsync()
member CloseAsync : unit -> Task
public function CloseAsync() : Task
Return Value
Type: System.Threading.Tasks.Task
A Task representing the asynchronous HttpServer close operation.