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.StringThe error message that explains the exception.
metadataObjectType
Type: System.TypeThe type of metadata object that is causing the exception.