Sub UnsubscribeFromJobs( _ ByVal jobIds As List(Of String) _ )
void UnsubscribeFromJobs( List<string> jobIds )
Parameters
- jobIds
- The ids of the jobs to subscribe to
Sub UnsubscribeFromJobs( _ ByVal jobIds As List(Of String) _ )
void UnsubscribeFromJobs( List<string> jobIds )
{
// Unsubscribe from the job message event using the subscription token
JobMessageEvent.Unsubscribe(subscriptionToken);
// Unsubscribe from jobs using the same instance of Notification Manager used to subscribe to jobs.
// This will remove the jobs from the subscribed job list if no other clients are subscribed to those jobs.
var notifManager = WorkflowClientModule.NotificationManager;
notifManager.UnsubscribeFromJobs(jobIds);
}
Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)