Dart.PowerTCP.EmailValidation Namespace > ExceptionEventArgs Class : Exception Property (ExceptionEventArgs) |
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 ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista
ExceptionEventArgs Class | ExceptionEventArgs Members
Send comments on this topic.
Documentation version 1.0.3.0.
© 2008 Dart Communications. All rights reserved.