Notifier Class

 

Represents the operations that raise and clear persistent notifications and send one-shot notifications by using the Notifications Provider.

Namespace:   Microsoft.WindowsServerSolutions.Common.ProviderFramework.Notifications
Assembly:  CoreProviders (in CoreProviders.dll)

System::Object
  Microsoft.WindowsServerSolutions.Common.ProviderFramework.Notifications::Notifier

public ref class Notifier sealed : IDisposable

NameDescription
System_CAPS_pubmethodNotifier()

Initializes a new instance of the Notifier class.

System_CAPS_pubmethodNotifier(Action<NotificationChangeRequest^>^)

Initializes a new instance of the Notifier class with the specified change request.

System_CAPS_pubmethodNotifier(Action<NotificationChangeRequest^>^, Boolean)

Initializes a new instance of the Notifier class with the specified change request. The Notifier object can connect to the Notifications Provider on the server or the local computer.

NameDescription
System_CAPS_pubmethodDispose()

Releases all of the resources that are used by the Notifier object.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

Releases unmanaged resources and performs other cleanup operations before the M:Microsoft.WindowsServerSolutions.Common.ProviderFramework.Notifications.Notifier object is reclaimed by garbage collection.(Overrides Object::Finalize().)

System_CAPS_pubmethodFireEvent(Notification^)

Sends a one-shot notification.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodRaiseNotification(Notification^)

Raises a persistent notification that is managed by the Notifications Provider.

System_CAPS_pubmethodRaiseNotifications(IList<Notification^>^, IList<Action^>^%)

Raises a list of persistent notifications that are managed by the Notifications Provider.

System_CAPS_pubmethodToString()

(Inherited from Object.)

When a Notifier object is disposed, any persistent notifications that were raised by it are automatically cleared. One-shot notifications do not need to be cleared.

Instances of this class are not thread; raising or clearing notifications from one thread while disposing the notifier object on another thread may lead to undefined behavior (such as a NullReferenceException).

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top

Community Additions

ADD
Show: