共用方式為


ServerException.ToString Method

Returns a string that represents the ServerException.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight.Runtime (in Microsoft.SharePoint.Client.Silverlight.Runtime.dll);  Microsoft.SharePoint.Client.Runtime (in Microsoft.SharePoint.Client.Runtime.dll)

Syntax

'Declaration
Public Overrides Function ToString As String
'Usage
Dim instance As ServerException
Dim returnValue As String

returnValue = instance.ToString()
public override string ToString()

Return Value

Type: System.String
The text that describes the server exception.

Implements

_Exception.ToString()

Remarks

This override returns the basic error message and the ServerStackTrace information.

See Also

Reference

ServerException Class

ServerException Members

Microsoft.SharePoint.Client Namespace