MessageDialog Constructor (String)

Initializes a new instance of the MessageDialog class to display an untitled message dialog that can be used to ask your user simple questions.

Syntax

public:
MessageDialog(
         String^ content
)  

Parameters

content
Type: String 

  The message displayed to the user.

Remarks

When localizing the content of a message dialog with string resources (WinJS.Resources), the lang property returned by the getString method is applied by the MessageDialog constructor automatically. You cannot specify this property in the constructor.

Requirements

Namespace: Windows.UI.Popups

Metadata: windows.winmd

See also

Reference

MessageDialog Class

MessageDialog Members

Windows.UI.Popups Namespace