Sprache

IAsyncErrorNotify Schnittstelle

Definition

Implementiert fehler trapping on the asynchron 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
Attribute

Hinweise

IAsyncErrorNotify wird verwendet, um fehler trapping für die asynchrone Batcharbeit zu implementieren, die Activity vom Objekt übermittelt wird. Implementieren Sie diese Schnittstelle für das Objekt, das im Aufruf des AsynchronousCallActivity Objekts übergeben wird. AsynchronousCall bestimmt, ob bei Batcharbeiten ein Fehler aufgetreten ist, der asynchron ausgeführt wird. Diese Schnittstelle ermöglicht es Ihnen, über Fehler zu informieren, die in asynchroner Batcharbeit auftreten, und der Prozess wird bei einem nicht behebbaren Fehler beendet (failfast).

Informationen zu failfast finden Sie im Thema "Fehlerisolation und Failfast-Richtlinie" im Platform SDK in MSDN.

Methoden

Name Beschreibung
OnError(Int32)

Behandelt Fehler für asynchrone Batcharbeit.

Gilt für: