SendResultCreateSocketErrorResult Method

Creates a result indicating a socket exception occurred while attempting to send a message to an endpoint.

Definition

Namespace: MobileTrack.Common.Models
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
public static SendResult CreateSocketErrorResult(
	Exception exception
)

Parameters

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.

Return Value

SendResult
An instance of SendResult.

See Also