MarkLogic XCC/.Net Library |

# XQueryException.ToString Method

Returns a string representation (possibly multiline) of the XQuery error message and stack frame.

[Visual Basic]
Overrides Public Function ToString() As String
[C#]
public override string ToString();

#### Return Value

A string representation of this XQuery exception.

#### See Also

XQueryException Class | Marklogic.Xcc.Exceptions Namespace