Metodo WorkflowManagementClient.PublishNotification (WorkflowNotification, IDictionary<String, String>)

Pubblica una notifica nell'ambito corrente.

Spazio dei nomi  Microsoft.Workflow.Client
Assembly:  Microsoft.Workflow.Client (in Microsoft.Workflow.Client.dll)

Sintassi

'Dichiarazione
Public Function PublishNotification ( _
    notification As WorkflowNotification, _
    activationMetadata As IDictionary(Of String, String) _
) As PublishWorkflowNotificationResult
'Utilizzo
Dim instance As WorkflowManagementClient 
Dim notification As WorkflowNotification 
Dim activationMetadata As IDictionary(Of String, String)
Dim returnValue As PublishWorkflowNotificationResult 

returnValue = instance.PublishNotification(notification, _
    activationMetadata)
public PublishWorkflowNotificationResult PublishNotification(
    WorkflowNotification notification,
    IDictionary<string, string> activationMetadata
)
public:
PublishWorkflowNotificationResult PublishNotification(
    WorkflowNotification^ notification, 
    IDictionary<String^, String^>^ activationMetadata
)
member PublishNotification : 
        notification:WorkflowNotification * 
        activationMetadata:IDictionary<string, string> -> PublishWorkflowNotificationResult
public function PublishNotification(
    notification : WorkflowNotification, 
    activationMetadata : IDictionary<String, String>
) : PublishWorkflowNotificationResult

Parametri

Valore restituito

Tipo: Microsoft.Workflow.Client.PublishWorkflowNotificationResult
Risultato della notifica del flusso di lavoro di pubblicazione.

Osservazioni

Depending on the settings of activation filters and subscriptions filters, a notification can activate an instance of 0 to N workflows and/or be delivered to 0 to N existing workflow instances.

Vedere anche

Riferimento

WorkflowManagementClient Classe

Overload PublishNotification

Spazio dei nomi Microsoft.Workflow.Client