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
- address
Tipo: System.String
Indirizzo di pubblicazione.
- notification
Tipo: Microsoft.Workflow.Client.WorkflowNotification
Notifica da pubblicare.
- credentials
Tipo: System.Net.ICredentials
Credenziali da utilizzare.
- userCulture
Tipo: System.String
Impostazioni cultura utente.
- traceActivityId
Tipo: System.Guid
Identificatore dell'attività di traccia.
- requestTimeout
Tipo: System.TimeSpan
Timeout richiesto.
- callback
Tipo: System.AsyncCallback
Metodo delegato da chiamare al termine dell'operazione.
- 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.