Compartilhar via


MetadataException Constructor (String, Type)

Initializes a new instance of the class with a message, and the metadata object type.

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

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    metadataObjectType As Type _
)
'Usage
Dim message As String
Dim metadataObjectType As Type

Dim instance As New MetadataException(message, _
    metadataObjectType)
public MetadataException(
    string message,
    Type metadataObjectType
)

Parameters

  • message
    Type: System.String

    The error message that explains the exception.

  • metadataObjectType
    Type: System.Type

    The type of metadata object that is causing the exception.

See Also

Reference

MetadataException Class

MetadataException Members

MetadataException Overload

Microsoft.SharePoint.BusinessData.Administration Namespace