MessageWindow Constructor
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Creates a new instance of the MessageWindow class.
Namespace: Microsoft.WindowsCE.Forms
Assembly: Microsoft.WindowsCE.Forms (in Microsoft.WindowsCE.Forms.dll)
Syntax
'Declaration
Public Sub New
'Usage
Dim instance As New MessageWindow()
public MessageWindow()
public:
MessageWindow()
new : unit -> MessageWindow
Exceptions
Exception | Condition |
---|---|
Exception | The window handle is invalid. |
Remarks
To use the MessageWindow class, derive a class from it. The derived class typically takes a form for its constructor. The form can be the containing form or another form, but is always the form that contains the callback method that responds to sent messages.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Platforms
Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Compact Framework
Supported in: 3.5, 2.0, 1.0