SendResultCreateSocketErrorResult Method
Creates a result indicating a socket exception occurred while attempting to send a message to an endpoint.
Namespace: MobileTrack.Common.ModelsAssembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
public static SendResult CreateSocketErrorResult(
Exception exception
)
- exception Exception
-
The socket error code that indicates the underlying problem that triggered the exception.
See https://learn.microsoft.com/en-us/windows/win32/winsock/windows-sockets-error-codes-2 for a full list.
SendResultAn instance of
SendResult.