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 ) |
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.
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8