Visual Basic (Declaration) | |
---|---|
Public Overloads Sub StartAsync( _ ByVal callback As Action(Of LocalService) _ ) |
C# | |
---|---|
public void StartAsync( Action<LocalService> callback ) |
The callback action will always be called even if an error was encountered starting the local service. It is recommended that you check the Error property to confirm the start was successful.
Parameters
- callback
- An Action representing the local service that has been started.
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8