ProtocolSocketShutdownAsync Method (Boolean, LogMessageLogLevel, String, Object) |
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,
LogMessageLogLevel level,
string? message,
Object? context = null
)
Parameters
- sync
- Type: SystemBoolean
If true, the Task returned is guaranteed to be complete. - level
- Type: Demo3D.CommonLogMessageLogLevel
The message level. - message
- Type: SystemString
The message to log. - context (Optional)
- Type: SystemObject
Any contextual information about the message (such as the associated exception).
Return Value
Type:
Task[Missing <returns> documentation for "M:Demo3D.Net.ProtocolSocket.ShutdownAsync(System.Boolean,Demo3D.Common.LogMessage.LogLevel,System.String,System.Object)"]
See Also