ProtocolSocketShutdownAsync Method (Boolean, Exception) |
Forcibly shuts down the socket, and then logs an error.
Namespace:
Demo3D.Net
Assembly:
Demo3D.IO (in Demo3D.IO.dll) Version: 18.04.00
Syntaxpublic Task ShutdownAsync(
bool sync,
Exception? e
)
Parameters
- sync
- Type: SystemBoolean
If true, the Task returned is guaranteed to be complete. - e
- Type: SystemException
The exception that's provoking the shutdown.
Return Value
Type:
Task[Missing <returns> documentation for "M:Demo3D.Net.ProtocolSocket.ShutdownAsync(System.Boolean,System.Exception)"]
See Also