Uredi

Deli z drugimi prek


Try Class

Definition

Identifies blocks of code to run in error handling scopes. This class belongs to the abstract syntax tree category.

This API supports the product infrastructure and is not intended to be used directly from your code.

public ref class Try sealed : Microsoft::JScript::AST
public sealed class Try : Microsoft.JScript.AST
type Try = class
    inherit AST
Public NotInheritable Class Try
Inherits AST
Inheritance
Try

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
JScriptExceptionValue(Object, VsaEngine)

This API supports the product infrastructure and is not intended to be used directly from your code.

Returns the specified object as an exception, converting it to a specific JScriptException if it can.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
PushHandlerScope(VsaEngine, String, Int32)

This API supports the product infrastructure and is not intended to be used directly from your code.

Creates a new BlockScope object for the try block and pushes it onto the global scope stack.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to