Partager via


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

  • connectToServer
    Type: System.Boolean

    true 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