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);
override this.Post : System.Threading.SendOrPostCallback * obj -> unit
Public Overrides Sub Post (d As SendOrPostCallback, state As Object)

參數

d
SendOrPostCallback

要呼叫的 SendOrPostCallback 委派。

state
Object

傳送至委派的物件。

備註

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

適用於

另請參閱