WorkflowInstanceManager.PublishNotification Method (WorkflowNotification, Nullable<Int64>, array<String[])
Publishes an asynchronous event using a system request context with the specified WorkflowNotification.
Namespace: Microsoft.Workflow.Client
Assembly: Microsoft.Workflow.Client (in Microsoft.Workflow.Client.dll)
Syntax
'Declaration
Public Function PublishNotification ( _
notification As WorkflowNotification, _
expectedScopeRevision As Nullable(Of Long), _
ParamArray activationMetadata As String() _
) As PublishWorkflowNotificationResult
'Usage
Dim instance As WorkflowInstanceManager
Dim notification As WorkflowNotification
Dim expectedScopeRevision As Nullable(Of Long)
Dim activationMetadata As String()
Dim returnValue As PublishWorkflowNotificationResult
returnValue = instance.PublishNotification(notification, _
expectedScopeRevision, activationMetadata)
public PublishWorkflowNotificationResult PublishNotification(
WorkflowNotification notification,
Nullable<long> expectedScopeRevision,
params string[] activationMetadata
)
public:
PublishWorkflowNotificationResult PublishNotification(
WorkflowNotification^ notification,
Nullable<long long> expectedScopeRevision,
... array<String^>^ activationMetadata
)
member PublishNotification :
notification:WorkflowNotification *
expectedScopeRevision:Nullable<int64> *
activationMetadata:string[] -> PublishWorkflowNotificationResult
public function PublishNotification(
notification : WorkflowNotification,
expectedScopeRevision : Nullable<long>,
... activationMetadata : String[]
) : PublishWorkflowNotificationResult
Parameters
- notification
Type: Microsoft.Workflow.Client.WorkflowNotification
The notification to publish.
- expectedScopeRevision
Type: System.Nullable<Int64>
The expected scope revision.
- 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.