ErrorDialog.ShowCustomErrorAsync Method

Begins an asynchronous operation showing a custom error dialog.

Syntax

public:
static IAsyncOperation<IUICommand^ >^ ShowCustomErrorAsync(
         int32 errorHResult,
         String^ context,
         String^ dialogTitle,
         String^ dialogContent
)  

Parameters

errorHResult
Type: int32 

 The error code to display.

context
Type: String 

 The error context to display.

dialogTitle
Type: String 

 The title of the dialog.

dialogContent
Type: String 

 The content of the dialog.

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