Notifier Constructor (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.
Namespace: Microsoft.WindowsServerSolutions.Common.ProviderFramework.Notifications
Assembly: CoreProviders (in CoreProviders.dll)
Syntax
public Notifier(
Action<NotificationChangeRequest> onRequestChange,
bool connectToServer
)
public:
Notifier(
Action<NotificationChangeRequest^>^ onRequestChange,
bool connectToServer
)
Public Sub New (
onRequestChange As Action(Of NotificationChangeRequest),
connectToServer As Boolean
)
Parameters
onRequestChange
Type: System.Action<NotificationChangeRequest>The NotificationChangeRequest object that defines the requested changes to the notification.
connectToServer
Type: System.Booleantrue if the connection is made to the Notifications Provider on the server; otherwise, false.
See Also
Notifier Overload
Notifier Class
Microsoft.WindowsServerSolutions.Common.ProviderFramework.Notifications Namespace
Return to top