Class Receipt
Represents Delivery receipt
public class Receipt
- Inheritance
-
Receipt
- Inherited Members
Constructors
Receipt()
public Receipt()
Properties
Delivered
Number of short messages delivered. This is only relevant where the original message was submitted to a distribution list
public int Delivered { get; set; }
Property Value
DoneDate
The time and date at which the short message reached it�s final state.
public DateTime DoneDate { get; set; }
Property Value
ErrorCode
Network specific error code or an SMSC error code for the attempted delivery of the message.
public string ErrorCode { get; set; }
Property Value
Items
public SortedList<string, string> Items { get; }
Property Value
MessageId
The message ID allocated to the message by the SMSC when originally submitted. You can get it from SUBMIT_SM_RESP.
public string MessageId { get; set; }
Property Value
State
The final status of the message.
public MessageState State { get; set; }
Property Value
SubmitDate
The time and date at which the short message was submitted.
public DateTime SubmitDate { get; set; }
Property Value
Submitted
Number of short messages originally submitted. This is only relevant when the original message was submitted to a distribution list.
public int Submitted { get; set; }
Property Value
Text
The first 20 characters of the short message.
public string Text { get; set; }
Property Value
Methods
Create(byte[], Encoding, Encoding)
public static Receipt Create(byte[] messageBytes, Encoding messageEncoding, Encoding textEncoding)
Parameters
Returns
Parse(string)
public void Parse(string text)
Parameters
text
string
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.