Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a new instance of the Notification class with the specified category and identifier.
Namespace:   Microsoft.WindowsServerSolutions.Common.ProviderFramework.Notifications
Assembly:  CoreProviders (in CoreProviders.dll)
Syntax
public Notification(
    string category,
    string id
)
public:
Notification(
    String^ category,
    String^ id
)
Public Sub New (
    category As String,
    id As String
)
Parameters
- category 
 Type: System.String- The category. 
- id 
 Type: System.String- The identifier. 
Remarks
You can subscribe to notifications by category, so a group of related notifications should all have the same Category and each notification must have a different Id.
Two notifications are considered equal if they have the same Category, Id, and the same Source. If you create a persistent notification, and then create another equivalent persistent notification (same Category and Id) by using the same Notifier object, the second notification replaces the first.
See Also
Notification Class
Microsoft.WindowsServerSolutions.Common.ProviderFramework.Notifications Namespace
Return to top