Dispatcher.BeginInvokeShutdown(DispatcherPriority) Dispatcher.BeginInvokeShutdown(DispatcherPriority) Dispatcher.BeginInvokeShutdown(DispatcherPriority) Dispatcher.BeginInvokeShutdown(DispatcherPriority) Method

정의

비동기적으로 Dispatcher 종료를 시작합니다.Initiates shutdown of the Dispatcher asynchronously.

public:
 void BeginInvokeShutdown(System::Windows::Threading::DispatcherPriority priority);
[System.Security.SecurityCritical]
public void BeginInvokeShutdown (System.Windows.Threading.DispatcherPriority priority);
member this.BeginInvokeShutdown : System.Windows.Threading.DispatcherPriority -> unit
Public Sub BeginInvokeShutdown (priority As DispatcherPriority)

매개 변수

priority
DispatcherPriority DispatcherPriority DispatcherPriority DispatcherPriority

Dispatcher 종료를 시작하는 우선 순위입니다.The priority at which to begin shutting down the dispatcher.

설명

BeginInvokeShutdown 무제한 UI 권한을 요청 합니다.BeginInvokeShutdown demands unrestricted UI Permissions.

경우는 Dispatcher 종료를 시작 합니다 ShutdownStarted 이벤트가 발생 및 HasShutdownStarted 로 설정 된 true.When the Dispatcher starts to shut down, the ShutdownStarted event is raised and HasShutdownStarted is set to true.

Dispatcher 종료 되지 않는 완전히 이벤트 큐 해제 될 때까지 합니다.The Dispatcher does not shut down completely until the event queue unwinds.

Dispatcher 종료를 완료 하는 경우를 ShutdownFinished 이벤트가 발생 하며 HasShutdownFinished 속성 true.When the Dispatcher finishes shutting down, the ShutdownFinished event is raised and the HasShutdownFinished property is set to true.

종료 프로세스 시작 되 면 모든 보류 중인 작업 항목이 큐에서 중단 됩니다.Once the shutdown process begins, all pending work items in the queue are aborted.

보안

UIPermission
발송자를 종료 합니다.for shutting down the dispatcher. 연관 된 열거형: UnrestrictedAssociated enumerations: Unrestricted

적용 대상