Share via


WorkflowNotificationPublisher 類別

 

代表工作流程通知發行者。

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

繼承階層架構

System.Object
  Microsoft.Workflow.Client.WorkflowNotificationPublisher
    Microsoft.Workflow.Client.HttpWorkflowNotificationPublisher

語法

public abstract class WorkflowNotificationPublisher
public ref class WorkflowNotificationPublisher abstract 
[<AbstractClass>]
type WorkflowNotificationPublisher = class end
Public MustInherit Class WorkflowNotificationPublisher

建構函式

名稱 描述
System_CAPS_pubmethod WorkflowNotificationPublisher()

初始化 WorkflowNotificationPublisher 類別的新執行個體。

方法

名稱 描述
System_CAPS_pubmethod Abort()

中止發行通知。

System_CAPS_protmethod BeginPublishNotificationWithRetry(String, WorkflowNotification, ICredentials, String, Guid, TimeSpan, AsyncCallback, Object)

透過重試開始非同步發行通知。

System_CAPS_protmethod EndPublishNotificationWithRetry(IAsyncResult)

透過重試結束非同步發行通知。

System_CAPS_pubmethod Equals(Object)

(繼承自 Object。)

System_CAPS_protmethod Finalize()

(繼承自 Object。)

System_CAPS_pubmethod GetHashCode()

(繼承自 Object。)

System_CAPS_pubmethod GetType()

(繼承自 Object。)

System_CAPS_protmethod MemberwiseClone()

(繼承自 Object。)

System_CAPS_protmethod OnAbort()

引發 Abort 事件。

System_CAPS_protmethod OnPublishNotification(String, WorkflowNotification, ICredentials, String, Guid, TimeSpan)

引發 PublishNotification 事件。

System_CAPS_protmethod OnStart()

引發 Start 事件。

System_CAPS_pubmethod PublishNotification(String, WorkflowNotification, ICredentials, String, Guid, TimeSpan)

將通知發行至指定的位址。

System_CAPS_protmethod ReportPublisherError(PublisherErrorEventArgs)

將發行者錯誤回報給 PublisherError 事件的所有註冊處理常式。

System_CAPS_protmethod ReportPublishNotificationComplete(PublishNotificationCompleteEventArgs)

將發行通知完成回報給 PublishNotificationComplete 事件的所有註冊處理常式。

System_CAPS_protmethod ReportPublishNotificationError(PublishNotificationErrorEventArgs)

將發行通知錯誤回報給 PublishNotificationError 事件的所有註冊處理常式。

System_CAPS_pubmethod Start()

啟動通知發行者。

System_CAPS_pubmethod ToString()

(繼承自 Object。)

事件

名稱 描述
System_CAPS_pubevent PublisherError

在出現發行者錯誤時發生。

System_CAPS_pubevent PublishNotificationComplete

在發行通知完成時發生。

System_CAPS_pubevent PublishNotificationError

在出現發行通知錯誤時發生。

執行緒安全

這個類型的任何公用靜態 (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。

請參閱

Microsoft.Workflow.Client 命名空間

回到頁首