ToString() method

The complete text of the error message.

Visual Basic syntax

Public Overrides Function ToString () As String

C# syntax

public override string ToString ()

Examples

The return value is a string is in the form SAError:, followed by the Message. For example:

SAError:UserId or Password not valid.