Share via


ObjectNotFoundException Class

NOTE: This API is now obsolete.

Represents an exception that is thrown when the Business Data Catalog cannot find an object.

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.Office.Server.ApplicationRegistry.Runtime.RuntimeException
      Microsoft.Office.Server.ApplicationRegistry.Runtime.ObjectNotFoundException

Namespace:  Microsoft.Office.Server.ApplicationRegistry.Runtime
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
<SerializableAttribute> _
<ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.",  _
    False)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Class ObjectNotFoundException _
    Inherits RuntimeException
'Usage
Dim instance As ObjectNotFoundException
[SerializableAttribute]
[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.", 
    false)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public class ObjectNotFoundException : RuntimeException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ObjectNotFoundException Members

Microsoft.Office.Server.ApplicationRegistry.Runtime Namespace