ArcGIS Runtime SDK for WPF - Library Reference
InitializeWithLocalServiceAsync Method
See Also 
ESRI.ArcGIS.Client.Tasks Namespace > GeometryServiceLocalExtensions Class : InitializeWithLocalServiceAsync Method

geometryService
The GeometryService task to initialize.
callback
An Action delegate to support inline event handling.
Asynchronously initializes a GeometryService task instance with a UrlGeometryService.

Syntax

Visual Basic (Declaration) 
Public Shared Sub InitializeWithLocalServiceAsync( _
   ByVal geometryService As GeometryService, _
   ByVal callback As Action(Of LocalGeometryService) _
) 
C# 
public static void InitializeWithLocalServiceAsync( 
   GeometryService geometryService,
   Action<LocalGeometryService> callback
)

Remarks

This method will reuse an existing local geometry service if one exists or start a new one if none are found on the runtime local server.

Parameters

geometryService
The GeometryService task to initialize.
callback
An Action delegate to support inline event handling.

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.