共用方式為


WorkflowManagementClient.PublishNotification 方法

 

將通知發行至目前的領域。

命名空間:   Microsoft.Workflow.Client
組件:  Microsoft.Workflow.Client (在 Microsoft.Workflow.Client.dll 中)

多載清單

名稱 描述
System_CAPS_pubmethod PublishNotification(WorkflowNotification)

將通知發行至目前的領域。

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

將通知發行至目前的領域。

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

將通知發行至目前的領域。

備註

依據啟用篩選條件和訂閱篩選條件的設定,通知可以啟用 0 至 N 個工作流程的執行個體及/或傳遞至 0 至 N 個現有工作流程執行個體。

請參閱

WorkflowManagementClient 類別
Microsoft.Workflow.Client 命名空間

回到頁首

WorkflowManagementClient.PublishNotification 方法 (WorkflowNotification)

將通知發行至目前的領域。

語法

public PublishWorkflowNotificationResult PublishNotification(
    WorkflowNotification notification
)
public:
PublishWorkflowNotificationResult PublishNotification(
    WorkflowNotification^ notification
)
member PublishNotification : 
        notification:WorkflowNotification -> PublishWorkflowNotificationResult
Public Function PublishNotification (
    notification As WorkflowNotification
) As PublishWorkflowNotificationResult

參數

傳回值

Type: Microsoft.Workflow.Client.PublishWorkflowNotificationResult

發行工作流程的通知結果。

備註

依據啟用篩選條件和訂閱篩選條件的設定,通知可以啟用 0 至 N 個工作流程的執行個體及/或傳遞至 0 至 N 個現有工作流程執行個體。

回到頁首

WorkflowManagementClient.PublishNotification 方法 (WorkflowNotification, IDictionary<String, String>)

將通知發行至目前的領域。

語法

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

參數

傳回值

Type: Microsoft.Workflow.Client.PublishWorkflowNotificationResult

發行工作流程的通知結果。

備註

依據啟用篩選條件和訂閱篩選條件的設定,通知可以啟用 0 至 N 個工作流程的執行個體及/或傳遞至 0 至 N 個現有工作流程執行個體。

回到頁首

WorkflowManagementClient.PublishNotification 方法 (WorkflowNotification, IDictionary<String, String>, Int64)

將通知發行至目前的領域。

語法

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

參數

  • expectedScopeRevision
    Type: System.Int64

    預期的領域修訂。

傳回值

Type: Microsoft.Workflow.Client.PublishWorkflowNotificationResult

發行工作流程的通知結果。

備註

依據啟用篩選條件和訂閱篩選條件的設定,通知可以啟用 0 至 N 個工作流程的執行個體及/或傳遞至 0 至 N 個現有工作流程執行個體。

回到頁首