Gets or sets a value indicating whether Job and Task events such as JobCompleted are raised using the SynchronizationContext of the thread that submits the job. If this property is falseFalsefalsefalse (False in Visual Basic), no events are raised until WaitUntilDone()()()() is called, at which point the events are raised in the thread that calls it. If this property is trueTruetruetrue (True in Visual Basic), events are raised by posting them to the SynchronizationContext of the thread that calls Submit()()()(), no matter if WaitUntilDone()()()() is called or not.
Namespace: AGI.Parallel.Infrastructure
Assembly: AGI.Parallel.Infrastructure (in AGI.Parallel.Infrastructure.dll) Version: (


bool RaiseEventsUsingSynchronizationContext { get; set; }
Visual Basic
Property RaiseEventsUsingSynchronizationContext As Boolean

See Also