Share via


SharePointCommandException Constructor (String, String, String, String)

Initializes a new instance of the SharePointCommandException class with a specified error message, full type name, and the original stack trace.

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

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    commandId As String, _
    fullTypeName As String, _
    originalStackTrace As String _
)
public SharePointCommandException(
    string message,
    string commandId,
    string fullTypeName,
    string originalStackTrace
)

Parameters

  • message
    Type: String

    The error message that explains the reason for the exception.

  • commandId
    Type: String

    The ID of the command that threw the exception.

  • fullTypeName
    Type: String

    The full type name of the command class that threw the exception.

  • originalStackTrace
    Type: String

    The original stack trace of the exception in the vssphost4.exe process.

.NET Framework Security

See Also

Reference

SharePointCommandException Class

SharePointCommandException Overload

Microsoft.VisualStudio.SharePoint Namespace