C# 클래스 Codebreak.Framework.Generic.TaskSchedulerExtensions.TaskSchedulerSynchronizationContext

Provides a SynchronizationContext wrapper for a TaskScheduler.
상속: System.Threading.SynchronizationContext
파일 보기 프로젝트 열기: hussein-aitlahcen/codebreak

공개 메소드들

메소드 설명
Post ( SendOrPostCallback d, object state ) : void

Dispatches an asynchronous message to the synchronization context.

Send ( SendOrPostCallback d, object state ) : void

Dispatches a synchronous message to the synchronization context.

비공개 메소드들

메소드 설명
TaskSchedulerSynchronizationContext ( TaskScheduler scheduler ) : System

Initializes the context with the specified scheduler.

메소드 상세

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

Send() 공개 메소드

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