Share via


SharePointCommandCanceledException Constructor (String, String, String, String, Exception)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Initializes a new instance of the SharePointCommandCanceledException class with a specified error message, full type name, the original stack trace and a reference to the inner exception that is the cause of this exception.

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, _
    innerException As Exception _
)
public SharePointCommandCanceledException(
    string message,
    string commandId,
    string fullTypeName,
    string originalStackTrace,
    Exception innerException
)

Parameters

  • message
    Type: System.String

    The error message that explains the reason for the exception.

  • commandId
    Type: System.String

    The ID of the command that thrown the exception.

  • fullTypeName
    Type: System.String

    The full type name of the command class thrown the exception.

  • originalStackTrace
    Type: System.String

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

  • innerException
    Type: System.Exception

    The exception that is the cause of the current exception. If the innerException parameter is not a null reference (Nothing in Visual Basic), the current exception is raised in a catch block that handles the inner exception.

.NET Framework Security

See Also

Reference

SharePointCommandCanceledException Class

SharePointCommandCanceledException Overload

Microsoft.VisualStudio.SharePoint Namespace