FtpSettings.RaiseEventsFromCurrentThread Property
Namespace: Rebex.Net
Assembly: Rebex.Ftp.dll (version 7.0.9119)
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) raise events using SynchronizationContext; true to raise them directly from the current working thread. |
Implements
Remarks
Events of synchronous methods are always raised from the current working thread.