WorkflowManagementClient.PublishNotification Method
Publishes a notification to the current scope.
Namespace: Microsoft.Workflow.Client
Assembly: Microsoft.Workflow.Client (in Microsoft.Workflow.Client.dll)
Overload List
Name | Description | |
---|---|---|
PublishNotification(WorkflowNotification) | Publishes a notification to the current scope. |
|
PublishNotification(WorkflowNotification, IDictionary<String, String>) | Publishes a notification to the current scope. |
|
PublishNotification(WorkflowNotification, IDictionary<String, String>, Int64) | Publishes a notification to the current scope. |
Remarks
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.
See Also
WorkflowManagementClient Class
Microsoft.Workflow.Client Namespace
Return to top
WorkflowManagementClient.PublishNotification Method (WorkflowNotification)
Publishes a notification to the current scope.
Syntax
public PublishWorkflowNotificationResult PublishNotification(
WorkflowNotification notification
)
public:
PublishWorkflowNotificationResult PublishNotification(
WorkflowNotification^ notification
)
member PublishNotification :
notification:WorkflowNotification -> PublishWorkflowNotificationResult
Public Function PublishNotification (
notification As WorkflowNotification
) As PublishWorkflowNotificationResult
Parameters
notification
Type: Microsoft.Workflow.Client.WorkflowNotificationThe published notification.
Return Value
Type: Microsoft.Workflow.Client.PublishWorkflowNotificationResult
The notification result of the publish workflow.
Remarks
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.
Return to top
WorkflowManagementClient.PublishNotification Method (WorkflowNotification, IDictionary<String, String>)
Publishes a notification to the current scope.
Syntax
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 As WorkflowNotification,
activationMetadata As IDictionary(Of String, String)
) As PublishWorkflowNotificationResult
Parameters
notification
Type: Microsoft.Workflow.Client.WorkflowNotificationThe published notification.
activationMetadata
Type: System.Collections.Generic.IDictionary<String, String>The user-specified metadata used to tag the workflow instances activated by this notification.
Return Value
Type: Microsoft.Workflow.Client.PublishWorkflowNotificationResult
The notification result of the publish workflow.
Remarks
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.
Return to top
WorkflowManagementClient.PublishNotification Method (WorkflowNotification, IDictionary<String, String>, Int64)
Publishes a notification to the current scope.
Syntax
public PublishWorkflowNotificationResult PublishNotification(
WorkflowNotification notification,
IDictionary<string, string> activationMetadata,
long expectedScopeRevision
)
public:
PublishWorkflowNotificationResult PublishNotification(
WorkflowNotification^ notification,
IDictionary<String^, String^>^ activationMetadata,
long long expectedScopeRevision
)
member PublishNotification :
notification:WorkflowNotification *
activationMetadata:IDictionary<string, string> *
expectedScopeRevision:int64 -> PublishWorkflowNotificationResult
Public Function PublishNotification (
notification As WorkflowNotification,
activationMetadata As IDictionary(Of String, String),
expectedScopeRevision As Long
) As PublishWorkflowNotificationResult
Parameters
notification
Type: Microsoft.Workflow.Client.WorkflowNotificationThe published notification.
activationMetadata
Type: System.Collections.Generic.IDictionary<String, String>The user-specified metadata used to tag the workflow instances activated by this notification.
expectedScopeRevision
Type: System.Int64The expected scope revision.
Return Value
Type: Microsoft.Workflow.Client.PublishWorkflowNotificationResult
The notification result of the publish workflow.
Remarks
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.
Return to top