ErrorDialog.ShowSystemErrorAsync Method

Begins an asynchronous operation showing an error dialog.

Syntax

public:
static IAsyncOperation<IUICommand^ >^ ShowSystemErrorAsync(
         int32 errorHResult,
         String^ context
)  

Parameters

errorHResult
Type: int32 

 The error code to display.

context
Type: String 

 The error context to display.

Return value

Type: IAsyncOperation<IUICommand^ > 

Returns an IUICommand representing the button on the dialog.

Requirements

Namespace: Windows.Xbox.UI.Popups

Metadata: windows.winmd

See also

Reference

ErrorDialog Class

ErrorDialog Members

Windows.Xbox.UI.Popups Namespace