
| 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 | |
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.
System.Object
System.Exception
System.ApplicationException
Dart.PowerTCP.Mail.ProtocolException
Target Platforms: Microsoft .NET Framework 2.0