Debug.msUpdateAsyncCallbackRelation

The debug.msUpdateAsyncCallbackRelation function updates the relationship status between a synchronous work item and the associated asynchronous operation.

Syntax

Debug.msUpdateAsyncCallbackRelation(relatedAsyncOperationId, relationType)

Parameters

relatedAsyncOperationId
The ID associated with the asynchronous operation.
relationType Optional
The value that specifies the relationship status.

Remarks

The synchronous work item is typically the callback function for the asynchronous operation. This function may be called when an asynchronous operation is aborted, when a join operation is used, or in other scenarios.

The possible values for relationType include:

  • Debug.MS_ASYNC_CALLBACK_STATUS_ASSIGN_DELEGATE

  • Debug.MS_ASYNC_CALLBACK_STATUS_JOIN

  • Debug.MS_ASYNC_CALLBACK_STATUS_CHOOSEANY

  • Debug.MS_ASYNC_CALLBACK_STATUS_CANCEL

  • Debug.MS_ASYNC_CALLBACK_STATUS_ERROR

    For more information, see Debug Constants.

Note: Some debugging tools do not display the information sent to the debugger by this function.

Requirements

Supported in the Internet Explorer 11 standards document mode. Also supported in Store apps (Windows 8.1 and Windows Phone 8.1).
Not supported in the following document modes: Quirks, Internet Explorer 6 standards, Internet Explorer 7 standards, Internet Explorer 8 standards, Internet Explorer 9 standards, Internet Explorer 10 standards. Not supported in Windows 8.

See also