共用方式為


MetadataException Constructor (String, Exception)

Initializes a new instance of the class with a message and the inner exception.

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

Syntax

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

Dim instance As New MetadataException(message, _
    inner)
public MetadataException(
    string message,
    Exception inner
)

Parameters

  • message
    Type: System.String

    The error message that explains the reason for the exception.

  • inner
    Type: System.Exception

    The inner exception that caused the current exception, or a a null reference (Nothing in Visual Basic) reference if no inner exception is specified.

See Also

Reference

MetadataException Class

MetadataException Members

MetadataException Overload

Microsoft.SharePoint.BusinessData.Administration Namespace