PowerTCP Mail for .NET
ProtocolException Class
Members  See Also  Send comments on this topic.
Dart.PowerTCP.Mail Namespace : ProtocolException Class




Used to throw protocol exceptions for upper-layer protocols like FTP, SMTP and POP3.

Object Model

ProtocolException Class

Syntax

Visual Basic (Declaration) 
<SerializableAttribute()>
Public Class ProtocolException 
   Inherits System.ApplicationException
Visual Basic (Usage)Copy Code
Dim instance As ProtocolException
C# 
[SerializableAttribute()]
public class ProtocolException : System.ApplicationException 
Managed Extensions for C++ 
[SerializableAttribute()]
public __gc class ProtocolException : public System.ApplicationException 
C++/CLI 
[SerializableAttribute()]
public ref class ProtocolException : public System.ApplicationException 

Remarks

This exception is thrown when a server response is negative. For example, if the server returned "500" (indicating a syntax error) as response to a command being sent, a ProtocolException would be thrown.

Inheritance Hierarchy

System.Object
   System.Exception
      System.ApplicationException
         Dart.PowerTCP.Mail.ProtocolException

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 3.2
© 2010 Dart Communications. All Rights Reserved.