Debug Constants

Debug constants return constant values that are properties of the Debug object.

The following table lists constant values that are properties of the Debug object.

Constant

Description

Value

Debug.MS_ASYNC_CALLBACK_STATUS_ASSIGN_DELEGATE

The synchronous work item assigned a callback or continuation to be run by an asynchronous operation.

0

Debug.MS_ASYNC_CALLBACK_STATUS_JOIN

The synchronous work item satisfied part of a join asynchronous operation.

1

Debug.MS_ASYNC_CALLBACK_STATUS_CHOOSEANY

The synchronous work item satisfied a choice asynchronous operation.

2

Debug.MS_ASYNC_CALLBACK_STATUS_CANCEL

The synchronous work item was canceled.

3

Debug.MS_ASYNC_CALLBACK_STATUS_ERROR

The synchronous work item caused an error in an asynchronous operation.

4

Debug.MS_ASYNC_OP_STATUS_SUCCESS

The asynchronous operation was successful.

1

Debug.MS_ASYNC_OP_STATUS_CANCELED

The asynchronous operation was canceled.

2

Debug.MS_ASYNC_OP_STATUS_ERROR

The asynchronous operation resulted in an error.

3

Supported in the Internet Explorer 11 standards document mode. Also supported in Store apps (Windows 8.1 and Windows Phone 8.1). See Version Information. 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.

Show:
© 2014 Microsoft