Share via


MethodError.GetObjectInError method

Gets the metadata object that caused the error.

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

Syntax

'Declaration
Public Overrides Function GetObjectInError ( _
    catalog As AdministrationMetadataCatalog _
) As MetadataObject
'Usage
Dim instance As MethodError
Dim catalog As AdministrationMetadataCatalog
Dim returnValue As MetadataObject

returnValue = instance.GetObjectInError(catalog)
public override MetadataObject GetObjectInError(
    AdministrationMetadataCatalog catalog
)

Parameters

Return value

Type: Microsoft.SharePoint.BusinessData.Administration.MetadataObject
The metadata object that caused the error.

See also

Reference

MethodError class

MethodError members

Microsoft.SharePoint.BusinessData.Administration namespace