Partager via


ReadOnlyObservableNotificationCollection.Create Method (String[])

 

Creates a subscription to receive persistent notifications through a ReadOnlyObservableNotificationCollection object. The subscription can be filtered with a list of categories.

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

Syntax

public static ReadOnlyObservableNotificationCollection Create(
    params string[] filterCategories
)
public:
static ReadOnlyObservableNotificationCollection^ Create(
    ... array<String^>^ filterCategories
)
Public Shared Function Create (
    ParamArray filterCategories As String()
) As ReadOnlyObservableNotificationCollection

Parameters

  • filterCategories
    Type: System.String[]

    The list of categories to be used for filtering notifications.

Return Value

Type: Microsoft.WindowsServerSolutions.Common.ProviderFramework.Notifications.ReadOnlyObservableNotificationCollection

An instance of ReadOnlyObservableNotificationCollection.

See Also

Create Overload
ReadOnlyObservableNotificationCollection Class
Microsoft.WindowsServerSolutions.Common.ProviderFramework.Notifications Namespace

Return to top