您要查找的是不是:
- In this example, the finally block is used to close a file opened in the try block. 在此示例中,finally块用来关闭在try块中打开的文件。
- Control is always passed to the finally block regardless of how the try block exits. 控制总是传递给finally块,与try块的退出方式无关。
- Exit Try can be used only inside a Try or Catch block, and not inside a Finally block. 只能在Try或Catch块内使用Exit Try,不能在Finally块内使用它。
- The code in a Finally block is run after a Return statement in a Try or Catch block is encountered, but before that Return statement is executed. Finally块中的代码运行的条件是:在Try或Catch块中遇到了return语句之后,但在该return语句尚未执行之前。
- You cannot use a leave instruction to exit a finally block. 不能使用leave指令退出finally块。
- A Using block behaves like a Try.Finally construction in which the Try block uses the resources and the Finally block disposes of them. Using块的工作方式类似于Try.;Finally构造;在该构造中;Try块使用资源;而Finally块释放资源。
- This class pads the final block of data if it is less than 8 bytes. 如果最终数据块小于8字节,则此类填充最终块。
- Wire end from the final block is taken to the continuous coiler. 将最后一个鼓轮伸出的金属丝端缠于连续缠卷装置。
- A SyncLock block behaves like a Try.Finally construction in which the Try block acquires an exclusive lock on lockobject and the Finally block releases it. SyncLock块的操作就像Try.;Finally结构;其中Try块获取lockobject上的独占锁;而Finally块则释放此锁。
- Hurried, the stupid is fearless, surfing in a sea of woes, meet numerous frustrates, try finally to bitter and astringent real life taste. 匆忙,无知者无畏,苦海里冲浪,遇到了无数的挫折,终于尝试到了苦涩的真正人生滋味。
- Finally blocks run whether or not an exception occurs. 块无论是否发生异常都会执行。
- Control transfers into and out of try, catch, filter, and finally blocks cannot be performed by this instruction. 此指令无法执行进出try、catch、filter和finally块的控制转移。
- The finally block adds a check to make sure that the FileStream object is not null before you call the Close method. finally块添加了一项检查,以确保在调用Close方法前,FileStream对象不为nullNothingnullptr空引用(在Visual Basic中为Nothing)。
- A database connection is another good candidate for being closed in a finally block. 在finally块中关闭数据库连接是另一个不错的选择。
- In version 1. X, the exception causes the finally block to stop executing; the user never sees the "Resource Deallocated" message. 在x,异常导致要停止执行finally块;用户从不看到"资源Deallocated"消息。
- Finally block is executed, control is once again transferred to the last statement of the loop immediately following the label declaration. 块执行完之后,才会将控制权再次转交给紧跟在标记声明后面的那个循环中的最后一个语句。
- The finally block ensures that if the file and stream connections have been opened, they get closed whether an exception has been thrown or not. finally模块可保证,如果已经打开了文件与流之间的连接,不管是否丢出了例外,这些连接都会关闭。
- I'll try and rustle you up something to eat. 我设法给你弄点吃的。
- The Finally block is always run, regardless of any actions occurring in preceding Catch blocks. 不论前面的Finally块中发生什么操作,Catch块始终运行。
- The clerk held out a dress for Martha to try on. 店员拿出一件衣服给玛莎试穿。