INotificationSubscriber.OnNotificationCleared Method (Notification)
Informs the subscriber that a persistent Notification object has been cleared.
Namespace: Microsoft.WindowsServerSolutions.Common.ProviderFramework.Notifications
Assembly: CoreProviders (in CoreProviders.dll)
Syntax
void OnNotificationCleared(
Notification clearedNotification
)
void OnNotificationCleared(
Notification^ clearedNotification
)
Sub OnNotificationCleared (
clearedNotification As Notification
)
Parameters
clearedNotification
Type: Microsoft.WindowsServerSolutions.Common.ProviderFramework.Notifications.NotificationThe persistent notification that has been cleared, either because the publisher explicitly cleared it, or because the publisher could not be contacted.
Remarks
Because one-shot notifications do not have a lifetime, they cannot be cleared. Only persistent notifications will be cleared by using this method. This method may be called on any thread.
See Also
INotificationSubscriber Interface
Microsoft.WindowsServerSolutions.Common.ProviderFramework.Notifications Namespace
Return to top