ProxyException.NET40.cs 1.0 KB

12345678910111213141516171819202122
  1. using System;
  2. using System.Runtime.Serialization;
  3. namespace Renci.SshNet.Common
  4. {
  5. [Serializable]
  6. public partial class ProxyException : SshException
  7. {
  8. /// <summary>
  9. /// Initializes a new instance of the <see cref="ProxyException"/> class.
  10. /// </summary>
  11. /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data about the exception being thrown.</param>
  12. /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination.</param>
  13. /// <exception cref="ArgumentNullException">The <paramref name="info"/> parameter is null. </exception>
  14. /// <exception cref="SerializationException">The class name is null or <see cref="P:System.Exception.HResult"/> is zero (0). </exception>
  15. protected ProxyException(SerializationInfo info, StreamingContext context)
  16. : base(info, context)
  17. {
  18. }
  19. }
  20. }