Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Initializes a new instance of the SharePointCommandException class with a specified error message, full type name, the original stack trace, and a reference to the inner exception that caused the 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 SharePointCommandException(
string message,
string commandId,
string fullTypeName,
string originalStackTrace,
Exception innerException
)
Parameters
message
Type: StringThe error message that explains the reason for the exception.
commandId
Type: StringThe ID of the command that threw the exception.
fullTypeName
Type: StringThe full type name of the command class that threw the exception.
originalStackTrace
Type: StringThe original stack trace of the exception in the vssphost4.exe process.
innerException
Type: ExceptionThe exception that is the cause of the current exception.
If the innerException parameter is not a null reference (Nothing in Visual Basic), then 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
SharePointCommandException Class