Notification.Notification Constructor
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 ()
public Notification ()
public function Notification ()
Not applicable.
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.
Example
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();
Platforms
Windows Mobile for Pocket PC
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.
Version Information
.NET Compact Framework
Supported in: 2.0
See Also
Reference
Notification Class
Notification Members
Microsoft.WindowsCE.Forms Namespace