共用方式為


WorkflowNotificationPublisher.BeginPublishNotificationWithRetry 方法 (String, WorkflowNotification, ICredentials, String, Guid, TimeSpan, AsyncCallback, Object)

 

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

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

語法

protected IAsyncResult BeginPublishNotificationWithRetry(
    string address,
    WorkflowNotification notification,
    ICredentials credentials,
    string userCulture,
    Guid traceActivityId,
    TimeSpan requestTimeout,
    AsyncCallback callback,
    object state
)
protected:
IAsyncResult^ BeginPublishNotificationWithRetry(
    String^ address,
    WorkflowNotification^ notification,
    ICredentials^ credentials,
    String^ userCulture,
    Guid traceActivityId,
    TimeSpan requestTimeout,
    AsyncCallback^ callback,
    Object^ state
)
member BeginPublishNotificationWithRetry : 
        address:string *
        notification:WorkflowNotification *
        credentials:ICredentials *
        userCulture:string *
        traceActivityId:Guid *
        requestTimeout:TimeSpan *
        callback:AsyncCallback *
        state:Object -> IAsyncResult
Protected Function BeginPublishNotificationWithRetry (
    address As String,
    notification As WorkflowNotification,
    credentials As ICredentials,
    userCulture As String,
    traceActivityId As Guid,
    requestTimeout As TimeSpan,
    callback As AsyncCallback,
    state As Object
) As IAsyncResult

參數

  • traceActivityId
    Type: System.Guid

    追蹤活動識別碼。

  • state
    Type: System.Object

    可指定作業狀態的使用者定義物件。

傳回值

Type: System.IAsyncResult

包含非同步作業之狀態的物件。

請參閱

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

回到頁首