Gets a value indicating whether to raise events from the current thread or
to use a
SynchronizationContext object available when an asynchronous operation was started.
The default value is
false
.
public bool InvokeFromCurrentThreads { get; set; }
Public Property InvokeFromCurrentThreads As Boolean
public:
property bool InvokeFromCurrentThreads {
bool get();
void set(bool InvokeFromCurrentThreads);
}
Value
true
to raise events directly from the current working thread;
false
to raise them using a
SynchronizationContext object.
Remarks
Synchronous methods always raise events from the current working thread.