public static Task<Guid> OpenTaskAsync( string taskFile, Guid taskGuid )
Public Overloads Shared Function OpenTaskAsync( _ ByVal taskFile As String, _ ByVal taskGuid As Guid _ ) As Task(Of Guid)
Parameters
- taskFile
- Full path to an .esriTasks file.
- taskGuid
- The unique identifier of a task in the task file to be opened. If the task can be found, it is opened and ready to be executed. If the task cannot be found, the task file opens as if no task was specified.
Return Value
A Task returning the unique identifier of the task file opened. Use this unique identifier as parameters to other API calls such as CloseTaskAsync or ExportTaskAsync.