ProtocolSocketShutdownAsync(Boolean, LogMessageLogLevel, String, Object) Method |
Forcibly shuts down the socket, and then logs an error.
Namespace: Demo3D.NetAssembly: Demo3D.IO (in Demo3D.IO.dll) Version: 19.00.00
Syntaxpublic Task ShutdownAsync(
bool sync,
LogMessageLogLevel level,
string? message,
Object? context = null
)
Parameters
- sync Boolean
- If true, the Task returned is guaranteed to be complete.
- level LogMessageLogLevel
- The message level.
- message String
- The message to log.
- context Object (Optional)
- Any contextual information about the message (such as the associated exception).
Return Value
Task[Missing <returns> documentation for "M:Demo3D.Net.ProtocolSocket.ShutdownAsync(System.Boolean,Demo3D.Common.LogMessage.LogLevel,System.String,System.Object)"]
See Also