SharePointCommandCanceledException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SharePointCommandCanceledException() |
Initializes a new instance of the SharePointCommandCanceledException class. |
SharePointCommandCanceledException(String) |
Initializes a new instance of the SharePointCommandCanceledException class with a specified error message. |
SharePointCommandCanceledException(SerializationInfo, StreamingContext) |
Initializes a new instance of the SharePointCommandCanceledException class with serialized data. |
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. |
SharePointCommandCanceledException()
Initializes a new instance of the SharePointCommandCanceledException class.
public:
SharePointCommandCanceledException();
public SharePointCommandCanceledException ();
Public Sub New ()
Applies to
SharePointCommandCanceledException(String)
Initializes a new instance of the SharePointCommandCanceledException class with a specified error message.
public:
SharePointCommandCanceledException(System::String ^ message);
public SharePointCommandCanceledException (string message);
new Microsoft.VisualStudio.SharePoint.SharePointCommandCanceledException : string -> Microsoft.VisualStudio.SharePoint.SharePointCommandCanceledException
Public Sub New (message As String)
Parameters
- message
- String
The message that describes the error.
Applies to
SharePointCommandCanceledException(SerializationInfo, StreamingContext)
Initializes a new instance of the SharePointCommandCanceledException class with serialized data.
protected:
SharePointCommandCanceledException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected SharePointCommandCanceledException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.VisualStudio.SharePoint.SharePointCommandCanceledException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.VisualStudio.SharePoint.SharePointCommandCanceledException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
The SerializationInfo that holds the serialized object data about the exception being thrown.
- context
- StreamingContext
The StreamingContext that contains contextual information about the source or destination.
Applies to
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.
public:
SharePointCommandCanceledException(System::String ^ message, Exception ^ innerException);
public SharePointCommandCanceledException (string message, Exception innerException);
new Microsoft.VisualStudio.SharePoint.SharePointCommandCanceledException : string * Exception -> Microsoft.VisualStudio.SharePoint.SharePointCommandCanceledException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
The message that describes the error.
- innerException
- 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.
Applies to
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.
public:
SharePointCommandCanceledException(System::String ^ message, System::String ^ commandId, System::String ^ fullTypeName, System::String ^ originalStackTrace);
public SharePointCommandCanceledException (string message, string commandId, string fullTypeName, string originalStackTrace);
new Microsoft.VisualStudio.SharePoint.SharePointCommandCanceledException : string * string * string * string -> Microsoft.VisualStudio.SharePoint.SharePointCommandCanceledException
Public Sub New (message As String, commandId As String, fullTypeName As String, originalStackTrace As String)
Parameters
- message
- String
The error message that explains the reason for the exception.
- commandId
- String
The ID of the command that thrown the exception.
- fullTypeName
- String
The full type name of the command class thrown the exception.
- originalStackTrace
- String
The original stack trace of the exception in the vssphost4.exe process.
Applies to
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.
public:
SharePointCommandCanceledException(System::String ^ message, System::String ^ commandId, System::String ^ fullTypeName, System::String ^ originalStackTrace, Exception ^ innerException);
public SharePointCommandCanceledException (string message, string commandId, string fullTypeName, string originalStackTrace, Exception innerException);
new Microsoft.VisualStudio.SharePoint.SharePointCommandCanceledException : string * string * string * string * Exception -> Microsoft.VisualStudio.SharePoint.SharePointCommandCanceledException
Public Sub New (message As String, commandId As String, fullTypeName As String, originalStackTrace As String, innerException As Exception)
Parameters
- message
- String
The error message that explains the reason for the exception.
- commandId
- String
The ID of the command that thrown the exception.
- fullTypeName
- String
The full type name of the command class thrown the exception.
- originalStackTrace
- String
The original stack trace of the exception in the vssphost4.exe process.
- innerException
- 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.