JobRaiseEventsUsingSynchronizationContext Property |
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
, 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
, 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.Client
Assembly:
AGI.Parallel.Client (in AGI.Parallel.Client.dll) Version: 2.10.0.1777 (2.10.0.1777)
Syntaxpublic bool RaiseEventsUsingSynchronizationContext { get; set; }
Public Property RaiseEventsUsingSynchronizationContext As Boolean
Get
Set
Property Value
Type:
BooleanImplements
IJobRaiseEventsUsingSynchronizationContext
See Also