コード例 #1
0
ファイル: MessageEventArgs.cs プロジェクト: xsjames/GSMComm
 /// <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;
 }
コード例 #2
0
 /// <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;
 }