Updates the task information to the server.
| Visual Basic | 
|---|
| Public Sub UpdateTask( _ ByVal TaskID As String, _ ByVal NewState As MFTaskState, _ ByVal Progress As String _ ) | 
| Value | Description | 
|---|---|
| MFTaskStateCanceled | Task processing has been canceled. | 
| MFTaskStateCompleted | The task has been successfully processed. | 
| MFTaskStateFailed | Processing the task has failed. | 
| MFTaskStateInProgress | The task is currently being processed. | 
| MFTaskStateNone | State information does not apply to this task. | 
| MFTaskStateWaiting | The initial state. The task is pending for processing. | 
Requires M-Files 19.3.7499.1 or later.
This method is available only if M-Files API is used in the server interface mode.