WebSocketClientSettings.RaiseEventsFromCurrentThread Property
Namespace: Rebex.Net
Assembly: Rebex.WebSocket.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. |
Remarks
Events of synchronous methods are always raised from the current working thread.