Public Overloads Function OpenTaskFileAsync( _ ByVal taskFile As String, _ ByVal taskGuid As Guid _ ) As Task(Of Guid)
public Task<Guid> OpenTaskFileAsync( string taskFile, Guid taskGuid )
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 CloseTaskItemAsync or ExportTaskItemAsync.