Freigeben über


AppPackageValidationException-Konstruktor (String, Exception)

Initialisiert eine neue Instanz der AppPackageValidationException -Klasse mit einer angegebenen Fehlermeldung und einen Verweis auf die innere Ausnahme, die diese Ausnahme ausgelöst hat.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
'Usage
Dim message As String
Dim innerException As Exception

Dim instance As New AppPackageValidationException(message, _
    innerException)
public AppPackageValidationException(
    string message,
    Exception innerException
)

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