SendResultCreateRemoteErrorResult Method

Creates a result indicating that the third party has reported a problem on their end.

Definition

Namespace: MobileTrack.Common.Models
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
public static SendResult CreateRemoteErrorResult(
	string messageSent,
	string response,
	Exception exception,
	string endpoint,
	DateTimeOffset messageSentAt
)

Parameters

messageSent  String
The message that was delivered to the endpoint.
response  String
The response message received from the endpoint.
exception  Exception
An error message supplied by the third party.
endpoint  String
The URI or hostname where the message was delivered.
messageSentAt  DateTimeOffset
The UTC timestamp when the message was sent to the endpoint.

Return Value

SendResult
An instance of SendResult.

See Also