SendResultCreateOkResult Method

Creates a result indicating a successful request.

Definition

Namespace: MobileTrack.Common.Models
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
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