WorkflowManagementClient.PublishNotification メソッド (WorkflowNotification, IDictionary<String, String>, Int64)
現在のスコープに通知をパブリッシュします。
名前空間: Microsoft.Workflow.Client
アセンブリ: Microsoft.Workflow.Client (Microsoft.Workflow.Client.dll)
構文
'宣言
Public Function PublishNotification ( _
notification As WorkflowNotification, _
activationMetadata As IDictionary(Of String, String), _
expectedScopeRevision As Long _
) As PublishWorkflowNotificationResult
'使用
Dim instance As WorkflowManagementClient
Dim notification As WorkflowNotification
Dim activationMetadata As IDictionary(Of String, String)
Dim expectedScopeRevision As Long
Dim returnValue As PublishWorkflowNotificationResult
returnValue = instance.PublishNotification(notification, _
activationMetadata, expectedScopeRevision)
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 : WorkflowNotification,
activationMetadata : IDictionary<String, String>,
expectedScopeRevision : long
) : PublishWorkflowNotificationResult
パラメーター
- notification
型: Microsoft.Workflow.Client.WorkflowNotification
パブリッシュされた通知。
- activationMetadata
型: System.Collections.Generic.IDictionary<String, String>
この通知によってアクティブ化されたワークフロー インスタンスにタグを設定するために使用されるユーザー指定のメタデータ。
- expectedScopeRevision
型: System.Int64
予期されるスコープ リビジョン。
戻り値
型: Microsoft.Workflow.Client.PublishWorkflowNotificationResult
パブリッシュ ワークフローの通知結果。
説明
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.