語言

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

該物件交由代表完成。

例外狀況

d 是 null。

備註

代理被放入派遣隊列,優先權為 Normal。

Post 啟動非同步請求來發佈訊息。

適用於