Partager via


NotificationSubscription Constructor (INotificationSubscriber, String[])

 

Initializes a new instance of the NotificationSubscription class with the specified subscriber and categories.

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

Syntax

public NotificationSubscription(
    INotificationSubscriber subscriber,
    params string[] categories
)
public:
NotificationSubscription(
    INotificationSubscriber^ subscriber,
    ... array<String^>^ categories
)
Public Sub New (
    subscriber As INotificationSubscriber,
    ParamArray categories As String()
)

Parameters

  • categories
    Type: System.String[]

    The list of categories for the subscription.

See Also

NotificationSubscription Overload
NotificationSubscription Class
Microsoft.WindowsServerSolutions.Common.ProviderFramework.Notifications Namespace

Return to top