FaultCallback FaultCallback FaultCallback FaultCallback Delegate

Definición

Representa el método al que se llama cuando una actividad programada o uno de sus elementos secundarios entra en el estado Faulted.Represents the method that is called when a scheduled activity or one of its children enters the Faulted state.

public delegate void FaultCallback(NativeActivityFaultContext ^ faultContext, Exception ^ propagatedException, ActivityInstance ^ propagatedFrom);
public delegate void FaultCallback(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom);
type FaultCallback = delegate of NativeActivityFaultContext * Exception * ActivityInstance -> unit
Public Delegate Sub FaultCallback(faultContext As NativeActivityFaultContext, propagatedException As Exception, propagatedFrom As ActivityInstance)

Parámetros

faultContext
NativeActivityFaultContext NativeActivityFaultContext NativeActivityFaultContext NativeActivityFaultContext

Contexto NativeActivityFaultContext proporcionado para inspeccionar el error del flujo de trabajo.The NativeActivityFaultContext provided for inspecting the workflow fault.

propagatedException
Exception Exception Exception Exception

Excepción que provocó el error.The exception that caused the fault.

propagatedFrom
ActivityInstance ActivityInstance ActivityInstance ActivityInstance

Actividad que produjo la excepción y generó el error.The activity that threw the exception and generated the fault.

Herencia
FaultCallbackFaultCallbackFaultCallbackFaultCallback

Métodos de extensión

GetMethodInfo(Delegate) GetMethodInfo(Delegate) GetMethodInfo(Delegate) GetMethodInfo(Delegate)

Obtiene un objeto que representa el método representado por el delegado especificado.Gets an object that represents the method represented by the specified delegate.

Se aplica a