SendResultCreateOkResult Method

Creates a result indicating a successful request.

Definition

Namespace: MobileTrack.Common.Models
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
public static SendResult CreateOkResult(
	string messageSent,
	string response,
	string endpoint,
	DateTimeOffset messageSentAt
)

Parameters

messageSent  String
The message that was delivered to the endpoint.
response  String
The response message received from the endpoint.
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