Compartilhar via


InvalidMetadataObjectException.Initialize Method

Initializes the exception object.

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

Syntax

'Declaration
Protected Sub Initialize ( _
    invalidMetadataObjectIdParameter As UInteger, _
    invalidMetadataObjectNameParameter As String, _
    invalidFieldNameParameter As String, _
    metadataObjectType As Type _
)
'Usage
Dim invalidMetadataObjectIdParameter As UInteger
Dim invalidMetadataObjectNameParameter As String
Dim invalidFieldNameParameter As String
Dim metadataObjectType As Type

Me.Initialize(invalidMetadataObjectIdParameter, _
    invalidMetadataObjectNameParameter, _
    invalidFieldNameParameter, metadataObjectType)
protected void Initialize(
    uint invalidMetadataObjectIdParameter,
    string invalidMetadataObjectNameParameter,
    string invalidFieldNameParameter,
    Type metadataObjectType
)

Parameters

  • metadataObjectType
    Type: System.Type

    The type of the metadata object.

See Also

Reference

InvalidMetadataObjectException Class

InvalidMetadataObjectException Members

Microsoft.SharePoint.BusinessData.Administration.Client Namespace