Freigeben über


IAsyncErrorNotify-Schnittstelle

Implementiert das Abfangen von Fehlern für die asynchrone Batchverarbeitung, die vom Activity-Objekt übermittelt wird.

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

Syntax

'Declaration
<GuidAttribute("FE6777FB-A674-4177-8F32-6D707E113484")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
Public Interface IAsyncErrorNotify
'Usage
Dim instance As IAsyncErrorNotify
[GuidAttribute("FE6777FB-A674-4177-8F32-6D707E113484")] 
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)] 
public interface IAsyncErrorNotify
[GuidAttribute(L"FE6777FB-A674-4177-8F32-6D707E113484")] 
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)] 
public interface class IAsyncErrorNotify
/** @attribute GuidAttribute("FE6777FB-A674-4177-8F32-6D707E113484") */ 
/** @attribute InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown) */ 
public interface IAsyncErrorNotify
GuidAttribute("FE6777FB-A674-4177-8F32-6D707E113484") 
InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown) 
public interface IAsyncErrorNotify

Hinweise

IAsyncErrorNotify wird zum Implementieren des Abfangens von Fehlern für die asynchrone Batchverarbeitung verwendet, die vom Activity-Objekt übermittelt wird. Implementieren Sie diese Schnittstelle für das Objekt, das beim Aufruf von AsynchronousCall für das Activity-Objekt übergeben wird. AsynchronousCall bestimmt, ob bei der asynchron ausgeführten Batchverarbeitung ein Fehler aufgetreten ist. Mithilfe dieser Schnittstelle werden Sie über Fehler informiert, die bei der asynchronen Batchverarbeitung auftreten, und der Prozess wird bei nicht behebbaren Fehlern beendet (Failfast).

Weitere Informationen über Failfast finden Sie im Platform SDK in MSDN unter dem Thema "Fault Isolation and Failfast Policy" (nur auf Englisch verfügbar).

Plattformen

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1

Siehe auch

Referenz

IAsyncErrorNotify-Member
System.EnterpriseServices-Namespace