Dart.PowerTCP.SslSockets Namespace > PingEventArgs Class : Exception Property (PingEventArgs) |
Gets any exception which occurred during the asynchronous operation.
[Visual Basic]
Public ReadOnly Property Exception As Exception
[C#]
public Exception Exception {get;}
[C++]
public: __property Exception* get_Exception();
If any exception occurred during the asynchronous operation, this property will contain an Exception object describing the exception.
Check this property to tell if an exception occurred during the asynchronous operation. If this property is null, no exception occurred.
The exception property is useful for checking exceptions and handling them appropriately. For example, if a bad command was sent to the server, a ProtocolException may be thrown. You could check this property to see if it was of type ProtocolException, than handle appropriately.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
PingEventArgs Class | PingEventArgs Members
Send comments on this topic.
Documentation version 1.1.2.0.
© 2008 Dart Communications. All rights reserved.