/// <summary> /// Initializes a new instance of the <see cref="T:GsmComm.GsmCommunication.MessageEventArgs" />. /// </summary> /// <param name="pdu">The message that was dealt with.</param> public MessageEventArgs(OutgoingSmsPdu pdu) { this.pdu = pdu; }
/// <summary> /// Initializes a new instance of the <see cref="T:GsmComm.GsmCommunication.MessageErrorEventArgs" />. /// </summary> /// <param name="pdu">The message that failed sending.</param> /// <param name="exception">The exception that caused the error.</param> public MessageErrorEventArgs(OutgoingSmsPdu pdu, Exception exception) : base(pdu) { this.exception = exception; }