JobNotificationSubscriptionCollection.AddNew Method
Adds a new INotificationEndPoint instance to the collection.
Namespace: Microsoft.WindowsAzure.MediaServices.Client
Assembly: Microsoft.WindowsAzure.MediaServices.Client (in Microsoft.WindowsAzure.MediaServices.Client.dll)
Syntax
'Declaration
Public Sub AddNew ( _
targetJobState As NotificationJobState, _
notificationEndPoint As INotificationEndPoint _
)
'Usage
Dim instance As JobNotificationSubscriptionCollection
Dim targetJobState As NotificationJobState
Dim notificationEndPoint As INotificationEndPoint
instance.AddNew(targetJobState, notificationEndPoint)
public void AddNew(
NotificationJobState targetJobState,
INotificationEndPoint notificationEndPoint
)
public:
void AddNew(
NotificationJobState targetJobState,
INotificationEndPoint^ notificationEndPoint
)
member AddNew :
targetJobState:NotificationJobState *
notificationEndPoint:INotificationEndPoint -> unit
public function AddNew(
targetJobState : NotificationJobState,
notificationEndPoint : INotificationEndPoint
)
Parameters
- targetJobState
Type: Microsoft.WindowsAzure.MediaServices.Client.NotificationJobState
The state of the job that subscriber wants to get notifications about: 0 = None, 1 = FinalStatesOnly, 2 = AllStates.
- notificationEndPoint
Type: Microsoft.WindowsAzure.MediaServices.Client.INotificationEndPoint
An INotificationEndPoint instance.