NET SFTP Library
LastException Property (SFTP)






KellermanSoftware.NetSFtpLibrary Namespace > SFTP Class : LastException Property
Get the last exception that occurred during an FTP Operation. This value is automatically set to null each time a new FTP Session is Connected. The default for this property is null.
Syntax
'Declaration
 
Public Property LastException As System.Exception
'Usage
 
Dim instance As SFTP
Dim value As System.Exception
 
instance.LastException = value
 
value = instance.LastException
public System.Exception LastException {get; set;}
public read-write property LastException: System.Exception; 
public function get,set LastException : System.Exception
public: __property System.Exception* get_LastException();
public: __property void set_LastException( 
   System.Exception* value
);
public:
property System.Exception^ LastException {
   System.Exception^ get();
   void set (    System.Exception^ value);
}
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SFTP Class
SFTP Members