Compartilhar via


ExceptionHandlingScope.ErrorMessage propriedade

Obtém a mensagem de erro de exceção quando o código é executado no escopo try .

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

Sintaxe

'Declaração
Public ReadOnly Property ErrorMessage As String
    Get
'Uso
Dim instance As ExceptionHandlingScope
Dim value As String

value = instance.ErrorMessage
public string ErrorMessage { get; }

Valor de propriedade

Tipo: System.String
A mensagem de erro de exceção.

Ver também

Referência

ExceptionHandlingScope classe

ExceptionHandlingScope membros

Microsoft.SharePoint.Client namespace