Method ToString ToString() Represents the exception in string form with type and stack trace Declaration public override string ToString() Returns Type Description System.String