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
System_CAPS_pubmethod PublishNotification(WorkflowNotification)

Publishes a notification to the current scope.

System_CAPS_pubmethod PublishNotification(WorkflowNotification, IDictionary<String, String>)

Publishes a notification to the current scope.

System_CAPS_pubmethod 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

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

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

  • expectedScopeRevision
    Type: System.Int64

    The 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