C# 클래스 Microsoft.Threading.AsyncPump.SingleThreadSynchronizationContext

Provides a SynchronizationContext that's single-threaded.
상속: System.Threading.SynchronizationContext
파일 보기 프로젝트 열기: Psychlist1972/Windows-10-PowerShell-MIDI

공개 메소드들

메소드 설명
Complete ( ) : void

Notifies the context that no more work will arrive.

Post ( SendOrPostCallback d, object state ) : void

Dispatches an asynchronous message to the synchronization context.

RunOnCurrentThread ( ) : void

Runs an loop to process all queued work items.

Send ( SendOrPostCallback d, object state ) : void

Not supported.

메소드 상세

Complete() 공개 메소드

Notifies the context that no more work will arrive.
public Complete ( ) : void
리턴 void

Post() 공개 메소드

Dispatches an asynchronous message to the synchronization context.
public Post ( SendOrPostCallback d, object state ) : void
d SendOrPostCallback The System.Threading.SendOrPostCallback delegate to call.
state object The object passed to the delegate.
리턴 void

RunOnCurrentThread() 공개 메소드

Runs an loop to process all queued work items.
public RunOnCurrentThread ( ) : void
리턴 void

Send() 공개 메소드

Not supported.
public Send ( SendOrPostCallback d, object state ) : void
d SendOrPostCallback
state object
리턴 void