Try.PushHandlerScope(VsaEngine, String, Int32) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Crée un BlockScope objet pour le try bloc et l’envoie (push) sur la pile d’étendue globale.
Cette API prend en charge l'infrastructure du produit et n'est pas destinée à être utilisée directement à partir de votre code.
public:
static void PushHandlerScope(Microsoft::JScript::Vsa::VsaEngine ^ engine, System::String ^ id, int scopeId);
public static void PushHandlerScope(Microsoft.JScript.Vsa.VsaEngine engine, string id, int scopeId);
static member PushHandlerScope : Microsoft.JScript.Vsa.VsaEngine * string * int -> unit
Public Shared Sub PushHandlerScope (engine As VsaEngine, id As String, scopeId As Integer)
Paramètres
- engine
- VsaEngine
Référence au moteur de script.
- id
- String
Nom de l’étendue du try bloc.
- scopeId
- Int32
ID de l’étendue du try bloc.