SendResult Class

Describes the result of an attempt to deliver a message to an endpoint.

Definition

Namespace: MobileTrack.Common.Models
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
public sealed class SendResult
Inheritance
Object    SendResult

Properties

Endpoint The hostname or URI that the message was delivered to.
Exception A message indicating the nature of a failure.
HttpStatusCode In case of a HTTP request, the HTTP status code returned by the endpoint.
MessageSent The message that was delivered to the remote endpoint.
MessageSentAt The UTC timestamp when the message was sent to the endpoint.
Response Contains the response from the endpoint if message was delivered successfully.
Type Classifies the result.

Methods

CreateInternalErrorResult Creates a result for cases when transmission failed due to an exception that occurred within the Nexus platform.
CreateNoSendResult Creates a result when no send operation can be initiated.
CreateOkResult Creates a result indicating a successful request.
CreateRejectedResult Creates a result indicating that there was a problem with the message that was transmitted.
CreateRemoteErrorResult Creates a result indicating that the third party has reported a problem on their end.
CreateSocketErrorResult Creates a result indicating a socket exception occurred while attempting to send a message to an endpoint.
CreateTimeoutResult Creates a result indicating a timeout occurred while attempting to send a message to an endpoint.
CreateUnexpectedResponseResult Creates a result indicating that the remote response was not understood by the connector.

See Also