SynchronizationContext.SetWaitNotificationRequired 方法

定义

设置指示需要等待通知的通知,并准备回调方法以使其在发生等待时可以更可靠地被调用。Sets notification that wait notification is required and prepares the callback method so it can be called more reliably when a wait occurs.

protected:
 void SetWaitNotificationRequired();
protected void SetWaitNotificationRequired ();
member this.SetWaitNotificationRequired : unit -> unit
Protected Sub SetWaitNotificationRequired ()

适用于