ImapSettings.RaiseEventsFromCurrentThread Property
Namespace: Rebex.Net
Assembly: Rebex.Imap.dll (version 7.0.9083)
RaiseEventsFromCurrentThread
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.
Declaration
public bool RaiseEventsFromCurrentThread { get; set; }
Property Value
Type | Description |
---|---|
Boolean | 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.