Freigeben über


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.String

    Eine Nachricht erläutert, warum die Ausnahme ausgelöst wurde.

  • innerException
    Typ: System.Exception

    Die Ausnahme, die die Ursache für die aktuelle Ausnahme oder ein Nullverweis (Nothing in Visual Basic) ist, wenn keine InnerException angegeben wird.

Siehe auch

Referenz

AppPackageValidationException Klasse

AppPackageValidationException-Member

AppPackageValidationException-Überladung

Microsoft.SharePoint-Namespace