Share via


ObjectNotFoundException Constructor (Type, String)

Initializes a new ObjectNotFoundException object with the type and name of the object that could not be found.

Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.OperationsManager.Common (in microsoft.enterprisemanagement.operationsmanager.common.dll)

Usage

'Usage
Dim type As Type
Dim name As String

Dim instance As New ObjectNotFoundException(type, name)

Syntax

'Declaration
Public Sub New ( _
    type As Type, _
    name As String _
)
public ObjectNotFoundException (
    Type type,
    string name
)
public:
ObjectNotFoundException (
    Type^ type, 
    String^ name
)
public ObjectNotFoundException (
    Type type, 
    String name
)
public function ObjectNotFoundException (
    type : Type, 
    name : String
)

Parameters

  • type
    The type of the object that could not be found.
  • name
    The name of the object that could not be found.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also

Reference

ObjectNotFoundException Class
ObjectNotFoundException Members
Microsoft.EnterpriseManagement.Common Namespace

Send comments about this topic to Microsoft.