Metodo WorkflowNotificationPublisher.BeginPublishNotificationWithRetry

Inizia una notifica di pubblicazione asincrona con un nuovo tentativo.

Spazio dei nomi  Microsoft.Workflow.Client
Assembly:  Microsoft.Workflow.Client (in Microsoft.Workflow.Client.dll)

Sintassi

'Dichiarazione
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
'Utilizzo
Dim address As String 
Dim notification As WorkflowNotification 
Dim credentials As ICredentials 
Dim userCulture As String 
Dim traceActivityId As Guid 
Dim requestTimeout As TimeSpan 
Dim callback As AsyncCallback 
Dim state As Object 
Dim returnValue As IAsyncResult 

returnValue = Me.BeginPublishNotificationWithRetry(address, _
    notification, credentials, userCulture, _
    traceActivityId, requestTimeout, _
    callback, state)
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 : String, 
    notification : WorkflowNotification, 
    credentials : ICredentials, 
    userCulture : String, 
    traceActivityId : Guid, 
    requestTimeout : TimeSpan, 
    callback : AsyncCallback, 
    state : Object
) : IAsyncResult

Parametri

  • traceActivityId
    Tipo: System.Guid
    Identificatore dell'attività di traccia.
  • state
    Tipo: System.Object
    Oggetto definito dall'utente che specifica lo stato dell'operazione.

Valore restituito

Tipo: System.IAsyncResult
Oggetto contenente lo stato dell'operazione asincrona.

Vedere anche

Riferimento

WorkflowNotificationPublisher Classe

Spazio dei nomi Microsoft.Workflow.Client