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.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
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.