WorkflowInstanceManager.PublishNotification Method (WorkflowNotification, array<String[])

Publishes an asynchronous event using a system request context with the specified WorkflowNotification and activation metadata.

Namespace:  Microsoft.Workflow.Client
Assembly:  Microsoft.Workflow.Client (in Microsoft.Workflow.Client.dll)

Syntax

'Declaration
Public Function PublishNotification ( _
    notification As WorkflowNotification, _
    ParamArray activationMetadata As String() _
) As PublishWorkflowNotificationResult
'Usage
Dim instance As WorkflowInstanceManager 
Dim notification As WorkflowNotification 
Dim activationMetadata As String()
Dim returnValue As PublishWorkflowNotificationResult 

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

Parameters

  • activationMetadata
    Type: array<System.String[]
    The activation metadata.

Return Value

Type: Microsoft.Workflow.Client.PublishWorkflowNotificationResult
An asynchronous event using a system request context with the specified WorkflowNotification and activation metadata.

See Also

Reference

WorkflowInstanceManager Class

PublishNotification Overload

Microsoft.Workflow.Client Namespace