SharpCifs.Smb.SmbException.ToString C# (CSharp) Method

ToString() public method

public ToString ( ) : string
return string
		public override string ToString()
		{
		    if (_rootCause != null)
			{
				StringWriter sw = new StringWriter();
				PrintWriter pw = new PrintWriter(sw);
				Runtime.PrintStackTrace(_rootCause, pw);
				return base.ToString() + "\n" + sw;
			}
		    return base.ToString();
		}
	}