These two operators can be overloaded based on both their parameters and their return value. Exceptions Exception objects must derive from System.Exception or from another type derived from System.Exception.
When overridden in a derived class, returns the System.Exception that is the root cause of one or more subsequent exceptions.
Gibt, falls in einer abgeleiteten Klasse überschrieben, eine System.Exception zurück, die der Hauptgrund für eine oder mehrere nachfolgende Ausnahmebedingungen ist.
For example, if you define a type called Exception, scripts that use Exception as the shortcut for System.Exception will fail.
Wenn Sie beispielsweise einen Typ mit dem Namen Exception definieren, schlagen Skripts fehl, in denen Exception als Kurzform für System.Exception verwendet wird.
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.