Vertaling van "Try block" in Duits
We konden deze vermelding niet vinden. Er worden benaderende resultaten weergegeven. Controleer je spelling of stel voor deze term aan het woordenboek toe te voegen.
If a terminating error occurs while the statements in the statement list are being run, the script passes the error object from the Try block to an appropriate Catch block.
Bei einem Fehler mit Abbruch während der Ausführung der Anweisungen in der Anweisungsliste übergibt das Skript das Fehlerobjekt vom Try-Block an einen entsprechenden Catch-Block.
The Finally block statements run regardless of whether the Try block encounters a terminating error.
Die Anweisungen des Finally-Blocks werden unabhängig davon ausgeführt, ob im Try-Block ein Fehler mit Abbruch auftritt.
The following sample script shows a Try block with a Catch block
Das folgende Beispielskript zeigt einen Try-Block mit einem Catch-Block
If a Catch block does not specify an error type, that Catch block handles any error encountered in the Try block.
Wenn in einem Catch-Block kein Fehlertyp angegeben wird, behandelt dieser Catch-Block jeden im Try-Block aufgetretenen Fehler.
Use the Try block to define a section of a script in which you want Windows
Definieren Sie mit dem Try-Block einen Abschnitt eines Skripts, in dem
The Catch keyword must immediately follow the Try block or another Catch block.
Das Catch-Schlüsselwort muss dem Try-Block oder einem anderen Catch-Block unmittelbar folgen.
For example, the following script has a Try block that downloads MyFile.doc, and it contains two Catch blocks
Das folgende Skript enthält beispielsweise einen Try-Block, mit dem heruntergeladen wird, sowie zwei Catch-Blöcke
Use the Try block to define a section of a script in which you want Windows PowerShell to monitor for errors.
Definieren Sie mit dem Try-Block einen Abschnitt eines Skripts, in dem Windows PowerShell Fehler überwachen soll.
A Try statement contains a Try block, zero or more Catch blocks, and zero or one Finally block.
Eine Try-Anweisung enthält einen Try-Block, 0 oder mehr Catch-Blöcke und 0 oder einen Finally-Block.
If a terminating error occurs in the Try block, Windows PowerShell searches for an appropriate Catch block.
Bei einem Fehler mit Abbruch im Try-Block sucht Windows PowerShell nach einem entsprechenden Catch-Block.
Catching Errors The following sample script shows a Try block with a Catch block: try {NonsenseString} catch {"An error occurred."}
Abfangen von Fehlern Das folgende Beispielskript zeigt einen Try-Block mit einem Catch-Block: try {NonsenseString} catch {"Fehler."}
Initially, the statements within the try block execute.
Zu Beginn werden die Anweisungen im try-Block ausgeführt.
Every try block has exactly one except block. try-except statements can be nested.
Zu jedem try-Block gehört genau ein except-Block. try-except-Blöcke können geschachtelt werden.