backgroundworker中文翻譯,backgroundworker是什么意思,backgroundworker發(fā)音、用法及例句
?backgroundworker
backgroundworker發(fā)音
英: 美:
backgroundworker中文意思翻譯
常見(jiàn)釋義:
后臺工作人員
backgroundworker雙語(yǔ)使用場(chǎng)景
1、You are now ready to add event handlers for the BackgroundWorker component's asynchronous events.───現在已準備好為BackgroundWorker組件的異步事件添加事件處理程序。
2、Use multiple BackgroundWorker objects for several simultaneous operations.───在同時(shí)進(jìn)行的幾項操作中使用多個(gè)BackgroundWorker對象。
3、Instead, a reference to the BackgroundWorker that raised this event is recovered from the sender parameter.───相反,引發(fā)此事件的BackgroundWorker引用將從sender參數恢復。
4、By using BackgroundWorker, the Dispatcher is being employed automatically to invoke cross-thread method calls.───通過(guò)使用BackgroundWorker,可自動(dòng)應用Dispatcher來(lái)調用跨線(xiàn)程方法調用。
5、The BackgroundWorker class exposes the DoWork event, to which your worker thread is attached through a DoWork event handler.───BackgroundWorker類(lèi)公開(kāi)DoWork事件,您的輔助線(xiàn)程通過(guò)DoWork事件處理程序附加到該事件。
6、To implement the periodic animation feature, you will use BackgroundWorker objects from the System. ComponentModel namespace.───為實(shí)現周期動(dòng)畫(huà)特性,需要使用System.ComponentModel命名空間中的BackgroundWorker對象。
backgroundworker相似詞語(yǔ)短語(yǔ)
1、background music───背景音樂(lè );陪襯音樂(lè )
2、background color───背景顏色
3、acolyte background 5e───助手背景5e
4、checkmate background checks───核對背景調查
5、footpaths background───人行道背景
6、cultural backgrounds───文化背景(culturalbackground的復數)
7、background───vt.作…的背景;adj.背景的;發(fā)布背景材料的;n.背景;隱蔽的位置
8、eery background───每個(gè)背景
9、background image───背景影像;背景圖像
10、parchment background───羊皮紙背景
wpf怎么取消把backgroundWorker的后臺線(xiàn)程?
終止BackgroundWorker,其實(shí)就是取消正在運行的后臺操作。
為此,執行以下步驟:1)首先要把BackgroundWorker.WorkerSupportsCancellation屬性的值設置為true
2)接著(zhù)調用CancelAsync()方法
3)檢查BackgroundWorker.CancellationPending 屬性,判斷后臺異步操作是否被真正取消。====== 終止后臺操作之所以這么繁瑣,是因為后臺操作是以異步方式運行在后臺線(xiàn)程上的。
版權聲明: 本站僅提供信息存儲空間服務(wù),旨在傳遞更多信息,不擁有所有權,不承擔相關(guān)法律責任,不代表本網(wǎng)贊同其觀(guān)點(diǎn)和對其真實(shí)性負責。如因作品內容、版權和其它問(wèn)題需要同本網(wǎng)聯(lián)系的,請發(fā)送郵件至 舉報,一經(jīng)查實(shí),本站將立刻刪除。