Microsoft로 로그인
로그인하거나 계정을 만듭니다.
안녕하세요.
다른 계정을 선택합니다.
계정이 여러 개 있음
로그인할 계정을 선택합니다.
영어
죄송합니다. 이 문서는 귀하의 언어로 사용할 수 없습니다.

Symptoms

Consider the following scenario:

  • You run a .NET Framework 3.0-based Windows Presentation Foundation (WPF) application on a multi-touch device.

  • You perform a touch gesture on a control of the WPF application to open a shortcut menu.

    Note A shortcut menu can usually be opened by pressing the right mouse button on a control.

  • You tap a menu item on the shortcut menu.

In this scenario, a System.ArgumentNullException exception may occur, and then the WPF application crashes.

Cause

This issue occurs because the PopupControlService.OnPostProcessInput method in the WPF application refers to a property that has a null value.

Resolution

To resolve this issue, apply the hotfix package that is described in the following Microsoft Knowledge Base article:

2667241An update rollup is available for Windows Presentation Foundation (WPF) for Microsoft .NET Framework 3.5

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

More Information

Additional file information

Additional file information for all supported x86-based versions of Windows 7

File name

X86_presentationcore_31bf3856ad364e35_6.1.7600.20904_none_ace68dc20a25779b.manifest

File version

Not Applicable

File size

4,445

Date (UTC)

18-Feb-2011

Time (UTC)

06:26

File name

X86_wpf-presentationframework_31bf3856ad364e35_6.1.7600.20904_none_6f3bd788d02795c8.manifest

File version

Not Applicable

File size

2,189

Date (UTC)

18-Feb- 2011

Time (UTC)

06:27

File name

X86_wpf- presentationhostdll_31bf3856ad364e35_6.1.7600.20904_none_70c0e8bb9a3069e6.manifest

File version

Not Applicable

File size

2,993

Date (UTC)

18-Feb-2011

Time (UTC)

06:28

File name

X86_wpf-windowsbase_31bf3856ad364e35_6.1.7600.20904_none_58228866c1f74d9e.manifest

File version

Not Applicable

File size

2,149

Date (UTC)

18-Feb-2011

Time (UTC)

06:25

Additional file information for all supported x64-based versions of Windows 7 and of Windows Server 2008 R2

File name

Amd64_presentationcore_31bf3856ad364e35_6.1.7600.20904_none_09052945c282e8d1.manifest

File version

Not Applicable

File size

4,459

Date (UTC)

18-Feb-2011

Time (UTC)

07:27

File name

Amd64_wpf- presentationframework_31bf3856ad364e35_6.1.7600.20904_none_cb5a730c888506fe.manifest

File version

Not Applicable

File size

3,600

Date (UTC)

18-Feb-2011

Time (UTC)

07:30

File name

Amd64_wpf-presentationhostdll_31bf3856ad364e35_6.1.7600.20904_none_ccdf843f528ddb1c.manifest

File version

Not Applicable

File size

3,003

Date (UTC)

18-Feb-2011

Time (UTC)

07:31

File name

Amd64_wpf-windowsbase_31bf3856ad364e35_6.1.7600.20904_none_b44123ea7a54bed4.manifest

File version

Not Applicable

File size

5,426

Date (UTC)

18-Feb- 2011

Time (UTC)

07:36

  Call stack information

PresentationCore.dll!System.Windows.PresentationSource.CriticalFromVisual(System.Windows.DependencyObject v, bool enable2DTo3DTransition) Line 614           C# 
PresentationFramework.dll!System.Windows.Controls.PopupControlService.OnPostProcessInput(object sender, System.Windows.Input.ProcessInputEventArgs e) Line 82 + 0x45 bytes C#
PresentationCore.dll!System.Windows.Input.InputManager.ProcessStagingArea() Line 833 + 0xd bytes C#
PresentationCore.dll!System.Windows.Input.InputManager.ProcessInput(System.Windows.Input.InputEventArgs input) Line 562 + 0x8 bytes C#
PresentationCore.dll!System.Windows.Input.InputProviderSite.ReportInput(System.Windows.Input.InputReport inputReport) Line 125 + 0x16 bytes C#
PresentationCore.dll!System.Windows.Interop.HwndMouseInputProvider.ReportInput(System.IntPtr hwnd, System.Windows.Input.InputMode mode, int timestamp, System.Windows.Input.RawMouseActions actions, int x, int y, int wheel) Line 1359 C#
PresentationCore.dll!System.Windows.Interop.HwndMouseInputProvider.FilterMessage(System.IntPtr hwnd = 2560340, int msg = 512, System.IntPtr wParam = 0, System.IntPtr lParam = 100, ref bool handled = false) Line 490 + 0x37 bytes C#



도움이 더 필요하세요?

더 많은 옵션을 원하세요?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

이 정보가 유용한가요?

사용 경험에 어떠한 영향을 주었나요?
제출을 누르면 피드백이 Microsoft 제품과 서비스를 개선하는 데 사용됩니다. IT 관리자는 이 데이터를 수집할 수 있습니다. 개인정보처리방침

의견 주셔서 감사합니다!

×