Specifies whether to raise asynchronous events from the current working thread or
whether to raise them using a SynchronizationContext available when an asynchronous operation was started.
Namespace:
Rebex.Net
Assembly:
Rebex.Imap (in Rebex.Imap.dll)
Syntax
Visual Basic |
---|
Public Property RaiseEventsFromCurrentThread As Boolean Get Set |
C# |
---|
public bool RaiseEventsFromCurrentThread { get; set; } |
Field Value
False (default) to raise events using SynchronizationContext; true to raise them directly form the current working thread.
Remarks
Events of synchronous methods are always raised from the current working thread.