DispatcherSynchronizationContext.Post(SendOrPostCallback, Object) 方法

定義

在同步處理內容中以非同步方式叫用回呼。

public:
 override void Post(System::Threading::SendOrPostCallback ^ d, System::Object ^ state);
public override void Post (System.Threading.SendOrPostCallback d, object state);
override this.Post : System.Threading.SendOrPostCallback * obj -> unit
Public Overrides Sub Post (d As SendOrPostCallback, state As Object)

參數

d
SendOrPostCallback

要呼叫的委派。

state
Object

傳送至委派的物件。

例外狀況

dnull

備註

委派會放在發送器佇列中,優先順序 Normal 為 。

Post 會啟動非同步要求來張貼訊息。

適用於