Costruttore PublishNotificationErrorEventArgs
Inizializza una nuova istanza della classe PublishNotificationErrorEventArgs.
Spazio dei nomi Microsoft.Workflow.Client
Assembly: Microsoft.Workflow.Client (in Microsoft.Workflow.Client.dll)
Sintassi
'Dichiarazione
Public Sub New ( _
address As String, _
notification As WorkflowNotification, _
error As Exception, _
willBeRetried As Boolean _
)
'Utilizzo
Dim address As String
Dim notification As WorkflowNotification
Dim error As Exception
Dim willBeRetried As Boolean
Dim instance As New PublishNotificationErrorEventArgs(address, _
notification, error, willBeRetried)
public PublishNotificationErrorEventArgs(
string address,
WorkflowNotification notification,
Exception error,
bool willBeRetried
)
public:
PublishNotificationErrorEventArgs(
String^ address,
WorkflowNotification^ notification,
Exception^ error,
bool willBeRetried
)
new :
address:string *
notification:WorkflowNotification *
error:Exception *
willBeRetried:bool -> PublishNotificationErrorEventArgs
public function PublishNotificationErrorEventArgs(
address : String,
notification : WorkflowNotification,
error : Exception,
willBeRetried : boolean
)
Parametri
- address
Tipo: System.String
Indirizzo in cui la notifica verrà pubblicata.
- notification
Tipo: Microsoft.Workflow.Client.WorkflowNotification
Notifica da pubblicare.
- error
Tipo: System.Exception
Errore che ha causato l'eccezione.
- willBeRetried
Tipo: System.Boolean
true per ritirare la notifica di pubblicazione. In caso contrario, false.