Visual Basic (Declaration) | |
---|---|
Public Overloads Function StopAsync() As Task(Of LocalService) |
C# | |
---|---|
public Task<LocalService> StopAsync() |
The StopAsync call should be enclosed in a try-catch block to handle any exceptions raised.
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8