Diese kann für Vorgänge verwendet werden, die unabhängig davon, ob ein Fehler aufgetreten ist, immer ausgeführt werden sollen.
Im folgenden Beispiel wird die Erweiterung Erweiterung "ArcGIS 3D Analyst" nach einer finally-Klausel wieder eingecheckt.
resources.arcgis.comThe try statement has an optional finally clause that can be used for tasks that should be always be executed, whether an exception has occurred or not.
In the following example, the ArcGIS 3D Analyst extension is checked back in under a finally clause, ensuring that the extension is always checked back in.
resources.arcgis.comGrundlagen der Ausnahmebehandlung
Erläutert das Behandeln von Ausnahmen mit den Anweisungen catch, throw und finally.
Best Practices für Ausnahmen
msdn.microsoft.comException Handling Fundamentals
Explains how to handle exceptions using catch, throw, and finally statements.
Best Practices for Handling Exceptions
msdn.microsoft.comGrundlagen der Ausnahmebehandlung
Erläutert das Behandeln von Ausnahmen mit Catch, Throw und finally-Anweisungen.
Empfohlene Vorgehensweise für die Ausnahmebehandlung
msdn.microsoft.comException Handling Fundamentals
Explains how to handle exceptions using catch, throw, and finally statements.
Best Practices for Handling Exceptions
msdn.microsoft.comVuoi aggiungere una parola, una frase o una traduzione?
Inserisci una nuova voce.