PowerTCP SSH and SFTP for .NET
DisableInnerExceptions Property (SessionStream)




Set to true to disable the use of Exception.InnerException.
Syntax
'Declaration
 
<DefaultValueAttribute(False)>
Public Property DisableInnerExceptions As Boolean
'Usage
 
Dim instance As SessionStream
Dim value As Boolean
 
instance.DisableInnerExceptions = value
 
value = instance.DisableInnerExceptions
[DefaultValue(false)]
public bool DisableInnerExceptions {get; set;}
[DefaultValue(false)]
public: __property bool get_DisableInnerExceptions();
public: __property void set_DisableInnerExceptions( 
   bool value
);
[DefaultValue(false)]
public:
property bool DisableInnerExceptions {
   bool get();
   void set (    bool value);
}
Remarks
Use the default value of false to preserve stack trace information found in Exception.InnerException. Set to true in environments like VB6 that don't display Exception.InnerException (call stack information, however, is not preserved).
See Also

Reference

SessionStream Class
SessionStream Members


PowerTCP SSH and SFTP for .NET Documentation Version 7.0
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic