Partager via


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

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