コード例 #1
0
ファイル: FtpResponseQueue.cs プロジェクト: lw1994/nUpdate
 /// <summary>
 /// Adds an Response object to the end of the FtpResponseQueue.
 /// </summary>
 /// <param name="item">An FtpResponse item.</param>
 public void Enqueue(nUpdate.Administration.Core.Ftp.FtpResponse item)
 {
     lock (this)
     {
         _queue.Enqueue(item);
     }
 }
コード例 #2
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="message">Exception message text.</param>
 /// <param name="response">Ftp response object.</param>
 public FtpDataConnectionTimeoutException(string message, nUpdate.Administration.Core.Ftp.FtpResponse response)
     : base(message, response)
 {
 }
コード例 #3
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="message">Exception message text.</param>
 /// <param name="response">Ftp response object.</param>
 public FtpAsynchronousOperationException(string message, nUpdate.Administration.Core.Ftp.FtpResponse response)
     : base(message, response)
 {
 }
コード例 #4
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="message">Exception message text.</param>
 /// <param name="response">Ftp response object.</param>
 public FtpConnectionOpenException(string message, nUpdate.Administration.Core.Ftp.FtpResponse response)
     : base(message, response)
 {
 }
コード例 #5
0
ファイル: FtpProxyException.cs プロジェクト: lw1994/nUpdate
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="message">Exception message text.</param>
 /// <param name="response">Ftp response object.</param>
 public FtpProxyException(string message, nUpdate.Administration.Core.Ftp.FtpResponse response)
     : base(message, response)
 {
 }
コード例 #6
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="message">Exception message text.</param>
 /// <param name="response">Ftp response object.</param>
 /// <param name="innerException">The inner exception object.</param>
 public FtpLoginException(string message, nUpdate.Administration.Core.Ftp.FtpResponse response, Exception innerException)
     :  base(message, response, innerException)
 {
 }
コード例 #7
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="message">Exception message text.</param>
 /// <param name="response">Ftp response object.</param>
 public FtpCertificateValidationException(string message, nUpdate.Administration.Core.Ftp.FtpResponse response)
     : base(message, response)
 {
 }
コード例 #8
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="message">Exception message text.</param>
 /// <param name="response">Ftp response object.</param>
 public FtpCommandResponseTimeoutException(string message, nUpdate.Administration.Core.Ftp.FtpResponse response)
     : base(message, response)
 {
 }
コード例 #9
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="message">Exception message text.</param>
 /// <param name="response">Ftp response object.</param>
 public FtpDataTransferException(string message, nUpdate.Administration.Core.Ftp.FtpResponse response)
     : base(message, response)
 {
 }
コード例 #10
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="response">FtpResponse object.</param>
 public FtpResponseEventArgs(nUpdate.Administration.Core.Ftp.FtpResponse response)
 {
     _response = response;
 }