Click or drag to resize

ProtocolSocketShutdownAsync(Boolean, String, Boolean) Method

Forcibly shuts down the socket, and then logs an error.

Namespace: Demo3D.Net
Assembly: Demo3D.IO (in Demo3D.IO.dll) Version: 19.00.00
Syntax
C#
public Task ShutdownAsync(
	bool sync,
	string? message,
	bool logMessage = true
)

Parameters

sync  Boolean
If true, the Task returned is guaranteed to be complete.
message  String
The message of the error that's provoking the shutdown.
logMessage  Boolean  (Optional)
True to log message.

Return Value

Task

[Missing <returns> documentation for "M:Demo3D.Net.ProtocolSocket.ShutdownAsync(System.Boolean,System.String,System.Boolean)"]

See Also