이 항목은 아직 평가되지 않았습니다.- 이 항목 평가

HwndSource.Dispose 메서드

Releases all managed resources used by the HwndSource, and raises the Disposed event.

네임스페이스: System.Windows.Interop
어셈블리: PresentationCore(presentationcore.dll)

public void Dispose ()
public final void Dispose ()
public final function Dispose ()
XAML에서 메서드를 사용할 수 없습니다.
 보안 참고:

This method is not available in the Internet security zone.

Dispose initiates related cleanup work for the HWND. If Dispose is called through a different thread than the main UI thread, that work may be deferred until it can be posted to the main UI thread.

Calling Dispose explicitly from the interoperating code might be necessary for certain interoperation scenarios, because an HwndSource in some interoperation scenarios can generate a number of references to it across the interoperation boundaries that might prevent timely garbage collection.

Microsoft .NET Framework 3.0은 Windows Vista, Microsoft Windows XP SP2 및 Windows Server 2003 SP1에서 지원됩니다.

.NET Framework

3.0에서 지원
이 정보가 도움이 되었습니까?
(1500자 남음)

커뮤니티 추가 항목

추가
© 2013 Microsoft. All rights reserved.