您要查找的是不是:
- In this example, the finally block is used to close a file opened in the try block. 在此示例中,finally塊用來(lái)關(guān)閉在try塊中打開(kāi)的文件。
- Control is always passed to the finally block regardless of how the try block exits. 控制總是傳遞給finally塊,與try塊的退出方式無(wú)關(guān)。
- 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語(yǔ)句之后,但在該return語(yǔ)句尚未執行之前。
- 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塊的工作方式類(lèi)似于Try.;Finally構造;在該構造中;Try塊使用資源;而Finally塊釋放資源。
- This class pads the final block of data if it is less than 8 bytes. 如果最終數據塊小于8字節,則此類(lèi)填充最終塊。
- Wire end from the final block is taken to the continuous coiler. 將最后一個(gè)鼓輪伸出的金屬絲端纏于連續纏卷裝置。
- 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. 匆忙,無(wú)知者無(wú)畏,苦海里沖浪,遇到了無(wú)數的挫折,終于嘗試到了苦澀的真正人生滋味。
- Finally blocks run whether or not an exception occurs. 塊無(wú)論是否發(fā)生異常都會(huì )執行。
- Control transfers into and out of try, catch, filter, and finally blocks cannot be performed by this instruction. 此指令無(wú)法執行進(jìn)出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塊中關(guān)閉數據庫連接是另一個(gè)不錯的選擇。
- In version 1. X, the exception causes the finally block to stop executing; the user never sees the "Resource Deallocated" message. 在x,異常導致要停止執行finally塊;用戶(hù)從不看到"資源Deallocated"消息。
- Finally block is executed, control is once again transferred to the last statement of the loop immediately following the label declaration. 塊執行完之后,才會(huì )將控制權再次轉交給緊跟在標記聲明后面的那個(gè)循環(huán)中的最后一個(gè)語(yǔ)句。
- 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模塊可保證,如果已經(jīng)打開(kāi)了文件與流之間的連接,不管是否丟出了例外,這些連接都會(huì )關(guān)閉。
- I'll try and rustle you up something to eat. 我設法給你弄點(diǎn)吃的。
- The Finally block is always run, regardless of any actions occurring in preceding Catch blocks. 不論前面的Finally塊中發(fā)生什么操作,Catch塊始終運行。
- The clerk held out a dress for Martha to try on. 店員拿出一件衣服給瑪莎試穿。