Share via


DuplicateMetadataObjectException.Initialize Method

Initializes the exception object with the specified duplicate metadata name, and the field name and type of the object that contains the duplicate value.

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

Syntax

'Declaration
Protected Sub Initialize ( _
    DuplicateMetadataObjectName As String, _
    DuplicateFieldName As String, _
    metadataObjectType As Type _
)
'Usage
Dim DuplicateMetadataObjectName As String
Dim DuplicateFieldName As String
Dim metadataObjectType As Type

Me.Initialize(DuplicateMetadataObjectName, _
    DuplicateFieldName, metadataObjectType)
protected void Initialize(
    string DuplicateMetadataObjectName,
    string DuplicateFieldName,
    Type metadataObjectType
)

Parameters

  • DuplicateMetadataObjectName
    Type: System.String

    The name of the duplicate metadata object.

  • DuplicateFieldName
    Type: System.String

    The field name of the metadata object that contains the duplicate value.

  • metadataObjectType
    Type: System.Type

    The type of metadata object that contains the duplicate value.

See Also

Reference

DuplicateMetadataObjectException Class

DuplicateMetadataObjectException Members

Microsoft.SharePoint.BusinessData.Administration.Client Namespace