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
參數
address
Type: System.String要發行至的位址。
notification
Type: Microsoft.Workflow.Client.WorkflowNotification要發行的通知。
credentials
Type: System.Net.ICredentials要使用的認證。
userCulture
Type: System.String使用者文化特性。
traceActivityId
Type: System.Guid追蹤活動識別碼。
requestTimeout
Type: System.TimeSpan要求的逾時。
callback
Type: System.AsyncCallback作業完成時所呼叫的委派方法。
state
Type: System.Object可指定作業狀態的使用者定義物件。
傳回值
Type: System.IAsyncResult
包含非同步作業之狀態的物件。
請參閱
WorkflowNotificationPublisher 類別
Microsoft.Workflow.Client 命名空間
回到頁首