Share via


ExceptionHandlingScope.ErrorMessage property

Gets the error message of the exception when the code is executed in the try scope.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client.Runtime (in Microsoft.SharePoint.Client.Runtime.dll)

Syntax

'Declaration
Public ReadOnly Property ErrorMessage As String
    Get
'Usage
Dim instance As ExceptionHandlingScope
Dim value As String

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

Property value

Type: System.String
The error message of the exception.

See also

Reference

ExceptionHandlingScope class

ExceptionHandlingScope members

Microsoft.SharePoint.Client namespace