SharePointCommandCanceledException Constructor (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 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, _
innerException As Exception _
)
public SharePointCommandCanceledException(
string message,
Exception innerException
)
Parameters
message
Type: System.StringThe message that describes the error.
innerException
Type: System.ExceptionThe 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
SharePointCommandCanceledException Class