您要查找的是不是:
- Add the code you want to execute to the Try block. 将所需代码添加到Try块中。
- Try block that attempts to reopen the file would fail if. 块中尝试重新打开文件的代码就会失败。
- Use a try block around the statements that might throw exceptions. 在可能引发异常的语句周围使用try块。
- A group of Transact-SQL statements can be enclosed in a TRY block. Transact-SQL语句组可以包含在TRY块中。
- Cause execution to jump from a TRY block to the associated CATCH block. 导致执行从TRY块跳到关联的CATCH块。
- Changing code within a try block that contains the active statement. 更改包含活动语句的try块内的代码。
- The statement inside the TRY block generates a constraint violation error. TRY块内的语句会生成违反约束的错误。
- To change the flow of execution, GOTO can be used within a TRY block or a CATCH block. 若要更改执行流,可以在TRY块或CATCH块内使用GOTO。
- In the follow code example, the SELECT statement in the TRY block will generate a divide-by-zero error. 在下面的代码示例中,TRY块中的SELECT语句将生成一个被零除错误。
- In this example, the finally block is used to close a file opened in the try block. 在此示例中,finally块用来关闭在try块中打开的文件。
- Transact-SQL statements in the TRY block following the statement that generates an error will not be executed. 将不执行TRY块中生成错误的语句后面的Transact-SQL语句。
- Control is always passed to the finally block regardless of how the try block exits. 控制总是传递给finally块,与try块的退出方式无关。
- If an error occurs in the Try block, program control is passed to the appropriate Catch statement for disposition. 如果Try块中发生错误,程序控制权将传递给相应的Catch语句以进行部署。
- If the error occurs within the scope of a TRY block, execution continues and the CATCH block is not invoked. 如果错误发生在TRY块的作用域内,则执行将继续而不调用CATCH块。
- The TRY block ends with a BREAK command to exit the WHILE loop if the TRY is successful. 如果TRY成功,TRY语句块将以一个BREAK语句结束,退出WHILE循环。
- The Exception class instance corresponds to the error that occurred in the Try block. Exception类实例与Try块中发生的错误相对应。
- Qimprecise_fwaits removes internal fwait instructions, leaving only the waits around the try block. Qimprecise_fwaits移除fwait的内部指令,仅在try块周围保留等待。
- Method, the MSIL offset, and a message indicating the call does not immediately precede the beginning of the try block. 方法的方法的名称、MSIL偏移量和一条指示try块没有紧随在该调用之后的消息。
- I'll try and rustle you up something to eat. 我设法给你弄点吃的。
- Running the SELECT statement inside a stored procedure will cause the error to occur at a level lower than the TRY block. 在存储过程内运行SELECT语句将导致错误在低于TRY块的级别上发生。