Visual Basic (Declaration) | |
---|---|
Public Shared Sub Initialize() |
C# | |
---|---|
public static void Initialize() |
The Status property should be checked prior to calling the Initialize method. If Initialize is called whilst the LocalServer is LocalServerStatus.Initializing or LocalServerStatus.Running the method will return immediately. If the LocalServer is LocalServerStatus.ShuttingDown a LocalServerException will be raised.
Exception | Description |
---|---|
LocalServerException | Initialize should not be called if the LocalServer is currently LocalServerStatus.ShuttingDown. |
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8