SharePointCommandCanceledException Class

Definition

The exception that is raised when a SharePoint command is canceled by user.

public ref class SharePointCommandCanceledException : Microsoft::VisualStudio::SharePoint::SharePointCommandException
[System.Serializable]
public class SharePointCommandCanceledException : Microsoft.VisualStudio.SharePoint.SharePointCommandException
[<System.Serializable>]
type SharePointCommandCanceledException = class
    inherit SharePointCommandException
Public Class SharePointCommandCanceledException
Inherits SharePointCommandException
Inheritance
SharePointCommandCanceledException
Attributes

Constructors

SharePointCommandCanceledException()

Initializes a new instance of the SharePointCommandCanceledException class.

SharePointCommandCanceledException(SerializationInfo, StreamingContext)

Initializes a new instance of the SharePointCommandCanceledException class with serialized data.

SharePointCommandCanceledException(String)

Initializes a new instance of the SharePointCommandCanceledException class with a specified error message.

SharePointCommandCanceledException(String, Exception)

Initializes a new instance of the SharePointCommandCanceledException class with a specified error message and a reference to the inner exception that is the cause of this exception.

SharePointCommandCanceledException(String, String, String, String)

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

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

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.

Properties

CommandId

Gets the command ID that caused the exception.

(Inherited from SharePointCommandException)
FullTypeName

Gets the full type name of the command class that caused the exception.

(Inherited from SharePointCommandException)
OriginalStackTrace

Gets the original exception stack trace from the vssphost4.exe process.

(Inherited from SharePointCommandException)

Methods

GetObjectData(SerializationInfo, StreamingContext)

Sets SerializationInfo with information about the exception.

(Inherited from SharePointCommandException)

Applies to