Share via


SPDeploymentErrorEventArgs.ErrorMessage property

Gets a string that represents the error message for the specified error.

Namespace:  Microsoft.SharePoint.Deployment
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

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

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

Property value

Type: System.String
Returns the string representation of the error message.

See also

Reference

SPDeploymentErrorEventArgs class

SPDeploymentErrorEventArgs members

Microsoft.SharePoint.Deployment namespace