SendResultCreateRejectedResult Method

Creates a result indicating that there was a problem with the message that was transmitted.

Definition

Namespace: MobileTrack.Common.Models
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
public static SendResult CreateRejectedResult(
	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