WindowsFormsSynchronizationContext.Post(SendOrPostCallback, Object) 方法

定義

將非同步訊息發送到同步上下文。

public:
 override void Post(System::Threading::SendOrPostCallback ^ d, System::Object ^ state);
public override void Post(System.Threading.SendOrPostCallback d, 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

SendOrPostCallback要打電話給代表。

state
Object

該物件交由代表完成。

備註

此方法會 Post 啟動一個非同步的請求來發佈訊息。

適用於

另請參閱