ArcGIS Runtime SDK for WPF - Library Reference
Initialize Method
See Also 
ESRI.ArcGIS.Client.Local Namespace > LocalServer Class : Initialize Method

Synchronously starts the runtime local server.

Syntax

Visual Basic (Declaration) 
Public Shared Sub Initialize() 
C# 
public static void Initialize()

Remarks

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.

Exceptions

ExceptionDescription
LocalServerExceptionInitialize should not be called if the LocalServer is currently LocalServerStatus.ShuttingDown.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8

See Also

© ESRI, Inc. All Rights Reserved.