| Visual Basic (Declaration) | |
|---|---|
Public Overrides NotOverridable Sub Start() | |
| C# | |
|---|---|
public override void Start() | |
The Start method will check whether this local service is already in the LocalServiceStatus.Running state and raise an System.InvalidOperationException if necessary. The Path property will also be checked for a valid locator package.
| Exception | Description |
|---|---|
| System.InvalidOperationException | An exception is raised if the Path property does not reference a valid locator package file. |
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8