SendResult
Relay.Messaging.SendResult
This object returned from send method that represents the result of a send operation.
Properties
Methods
GetMsgId
Returns the ID of the queued message (MessageId).
Parameters
None
Returns
string - Message ID.
Examples
Send a message and retrieve the ID.
GetSuccessful
Return true if the message was queued, false otherwise.
Parameters
None
Returns
boolean - True/False accordingly to the state.
Examples
Send a message and then check if there was an error.