Click or drag to resize

ProtocolSocketShutdownAsync Method (Boolean, String, Boolean)

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

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

Parameters

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

Return Value

Type: Task

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

See Also