文章編號: 2461678 - 上次校閱: 2011年1月10日 - 版次: 2.0 如果在控制項中的資料繫結的來源物件就是定義控制項的名稱範圍外的項目,.NET Framework 4.0 WPF 應用程式當機
在此頁中徵狀考慮下列案例::
值不能是空值 發生的原因之所以發生這個問題,是因為它 reevaluates 控制項中的資料繫結時由 WPF 應用程式傳回 null 引數。 解決方案Hotfix 資訊一個支援的 Hotfix 現在已可從 Microsoft取得。。 不過,它只修正本文中所述此問題。。 請只在發生此特定問題的系統上套用。。 此 Hotfix 可能會接受其他測試。 因此,如果您不會嚴重影響這個問題,我們建議您等候下一個包含此 Hotfix 的軟體更新。如果要立即解決這個問題,請連絡 Microsoft 客戶支援服務,以取得 Hotfix。 一個有完整的 Microsoft 客戶支援服務的電話號碼以及支援費用的資訊清單,請造訪下列 Microsoft 網站: http://support.microsoft.com/contactus/?ws=support
(http://support.microsoft.com/contactus/?ws=support)
附註特殊的情況下正常情況下會因支援電話所產生的費用可能如果 Microsoft 支援人員認為某特定更新程式可以解決您的問題被取消。 一般支援成本會套用至其他的支援問題與嗎有問題的特定更新程式無法解決的問題。附註您可以從下列 Microsoft 連線網站下載這個 Hotfix: http://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=33315
(http://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=33315)
必要條件若要將此 Hotfix,您必須安裝的.NET Framework 4.0。重新啟動需求您沒有重新啟動電腦,如果未使用受影響的檔案套用此 Hotfix 之後。Hotfix 取代資訊此 Hotfix 不會取代任何其他的 Hotfix。檔案資訊此 Hotfix 的英文版在檔案屬性 (或更新版本的檔案屬性) 如下列表格中所列。。 這些檔案的日期和時間為 Coordinated Universal Time (UTC)。。 當您檢視檔案資訊時,會將它轉換為本地時間。 使用 [到要查看 UTC 與當地時間的差異,時區在索引標籤上,日期和時間在 [控制台] 中的項目。所有支援 x86 版的 Windows XP、 Windows Server 2003 的、 Windows Vista,Windows Server 2008 的、 Windows 7,及 Windows Server 2008 R2摺疊此表格
所有支援 x64 為主的 Windows XP、 Windows Server 2003 的、 的 Windows Vista,Windows Server 2008 的、 的 Windows 7,和版本的 Windows Server 2008 R2 x摺疊此表格
狀況說明Microsoft 已確認<適用於>一節所列之 Microsoft 產品確實有此問題。。 其他相關資訊呼叫堆疊資訊at MS.Internal.Data.ElementObjectRef.GetObject(DependencyObject d, ObjectRefArgs args) at MS.Internal.Data.ObjectRef.GetDataObject(DependencyObject d, ObjectRefArgs args) at System.Windows.Data.BindingExpression.MS.Internal.Data.IDataBindEngineClient.VerifySourceReference(Boolean lastChance) at MS.Internal.Data.DataBindEngine.Task.Run(Boolean lastChance) at MS.Internal.Data.DataBindEngine.Run(Object arg) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state) at System.Threading.ExecutionContext.runTryCode(Object userData) at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
機器翻譯重要:本文是以 Microsoft 機器翻譯軟體翻譯而成,而非使用人工翻譯而成。Microsoft 同時提供使用者人工翻譯及機器翻譯兩個版本的文章,讓使用者可以依其使用語言使用知識庫中的所有文章。但是,機器翻譯的文章可能不盡完美。這些文章中也可能出現拼字、語意或文法上的錯誤,就像外國人在使用本國語言時可能發生的錯誤。Microsoft 不為內容的翻譯錯誤或客戶對該內容的使用所產生的任何錯誤或損害負責。Microsoft也同時將不斷地就機器翻譯軟體進行更新。 按一下這裡查看此文章的英文版本:2461678?
(http://support.microsoft.com/kb/2461678/en-us/
)
Microsoft及(或)其供應商不就任何在本伺服器上發表的文字資料及其相關圖表資訊的恰當性作任何承諾。所有文字資料及其相關圖表均以「現狀」供應,不負任何擔保責任。Microsoft及(或)其供應商謹此聲明,不負任何對與此資訊有關之擔保責任,包括關於適售性、適用於某一特定用途、權利或不侵權的明示或默示擔保責任。Microsoft及(或)其供應商無論如何不對因或與使用本伺服器上資訊或與資訊的實行有關而引起的契約、過失或其他侵權行為之訴訟中的特別的、間接的、衍生性的損害或任何因使用而喪失所導致的之損害、資料或利潤負任何責任。 | 其他資源 其他支援網站社群立即取得協助文章翻譯
|






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email


回此頁最上方
