SocketConnectionFactoryOptions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Options for SocketConnectionContextFactory.
public class SocketConnectionFactoryOptions
type SocketConnectionFactoryOptions = class
Public Class SocketConnectionFactoryOptions
- Inheritance
-
SocketConnectionFactoryOptions
Constructors
SocketConnectionFactoryOptions() |
Create a new instance. |
Properties
IOQueueCount |
The number of I/O queues used to process requests. Set to 0 to directly schedule I/O to the ThreadPool. |
MaxReadBufferSize |
Gets or sets the maximum unconsumed incoming bytes the transport will buffer. |
MaxWriteBufferSize |
Gets or sets the maximum outgoing bytes the transport will buffer before applying write backpressure. |
UnsafePreferInlineScheduling |
Inline application and transport continuations instead of dispatching to the threadpool. |
WaitForDataBeforeAllocatingBuffer |
Wait until there is data available to allocate a buffer. Setting this to false can increase throughput at the cost of increased memory usage. |