Breyta

Deila með


IAsyncErrorNotify Interface

Definition

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

public interface class IAsyncErrorNotify
[System.Runtime.InteropServices.Guid("FE6777FB-A674-4177-8F32-6D707E113484")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IAsyncErrorNotify
[<System.Runtime.InteropServices.Guid("FE6777FB-A674-4177-8F32-6D707E113484")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IAsyncErrorNotify = interface
Public Interface IAsyncErrorNotify
Attributes

Remarks

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.

Methods

OnError(Int32)

Handles errors for asynchronous batch work.

Applies to