AppPackageValidationException-Konstruktor (String, Exception, ValidationErrorContext)
Initialisiert eine neue Instanz der Klasse AppPackageValidationException mit einer angegebenen Fehlermeldung, einen Verweis auf die innere Ausnahme, die diese Ausnahme und einen Kontext verursacht.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
innerException As Exception, _
errorContext As ValidationErrorContext _
)
'Usage
Dim message As String
Dim innerException As Exception
Dim errorContext As ValidationErrorContext
Dim instance As New AppPackageValidationException(message, _
innerException, errorContext)
public AppPackageValidationException(
string message,
Exception innerException,
ValidationErrorContext errorContext
)
Parameter
message
Typ: System.StringEine Nachricht erläutert, warum die Ausnahme ausgelöst wurde.
innerException
Typ: System.ExceptionDie Ausnahme, die die Ursache für die aktuelle Ausnahme oder ein Nullverweis (Nothing in Visual Basic) ist, wenn keine InnerException angegeben wird.
errorContext
Typ: Microsoft.SharePoint.ValidationErrorContextDer Kontext, der detaillierte Informationen über diese Ausnahme enthält.
Siehe auch
Referenz
AppPackageValidationException Klasse
AppPackageValidationException-Member