IAsyncErrorNotify Interface

 

Implements error trapping on the asynchronous batch work that is submitted by the Activity object.

Namespace:   System.EnterpriseServices
Assembly:  System.EnterpriseServices (in System.EnterpriseServices.dll)

<GuidAttribute("FE6777FB-A674-4177-8F32-6D707E113484")>
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>
Public Interface IAsyncErrorNotify

NameDescription
System_CAPS_pubmethodOnError(Int32)

Handles errors for asynchronous batch work.

IAsyncErrorNotify is used to implement error trapping on the asynchronous batch work that is submitted by the Activity object. Implement this interface on the object that is passed in the call to AsynchronousCall on the Activity object. AsynchronousCall determines if an error occurred in batch work that is running asynchronously. This interface enables you to be informed of errors that occur in asynchronous batch work, and the process will terminate (failfast) on any unrecoverable error.

For information about failfast, see the "Fault Isolation and Failfast Policy" topic in the Platform SDK in MSDN.

.NET Framework
Available since 1.1
Return to top
Show: