ServerException.ToString 方法

返回一个字符串,表示ServerException

命名空间:  Microsoft.SharePoint.Client
程序集:   Microsoft.SharePoint.Client.Silverlight.Runtime(位于 Microsoft.SharePoint.Client.Silverlight.Runtime.dll 中);  Microsoft.SharePoint.Client.Runtime(位于 Microsoft.SharePoint.Client.Runtime.dll 中)  Microsoft.SharePoint.Client.Phone.Runtime(位于 Microsoft.SharePoint.Client.Phone.Runtime.dll 中)

语法

声明
Public Overrides Function ToString As String
用法
Dim instance As ServerException
Dim returnValue As String

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

返回值

类型:System.String
描述服务器异常的文本。

备注

此重写返回基本错误消息和ServerStackTrace信息。

另请参阅

引用

ServerException 类

ServerException 成员

Microsoft.SharePoint.Client 命名空间