Notification Constructor
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Initializes a new instance of the Notification class.
Namespace: Microsoft.WindowsCE.Forms
Assembly: Microsoft.WindowsCE.Forms (in Microsoft.WindowsCE.Forms.dll)
Syntax
'Declaration
Public Sub New
'Usage
Dim instance As New Notification()
public Notification()
public:
Notification()
new : unit -> Notification
Remarks
This class is not supported on the Smartphone or other Windows CE devices that are not Pocket PCs.
You can create multiple notifications, such as an array of notifications, and display them as needed with the Visible property.
Examples
The following code example creates an instance of the Notification class, defines the HTML used for the message balloon as set by the Text property, and configures the event handlers for the ResponseSubmitted and BalloonChanged events. This code example is part of a larger example provided for the Notification class.
' Create a Notification.
Notification1 = New Microsoft.WindowsCE.Forms.Notification()
// Create a Notification.
notification1 = new Microsoft.WindowsCE.Forms.Notification();
.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 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