Share via


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