Initializes a new ObjectNotFoundException object with the type and identifier for the object that could not be found. Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.OperationsManager.Common (in microsoft.enterprisemanagement.operationsmanager.common.dll)

Usage

Visual Basic
Dim type As Type
Dim id As Guid

Dim instance As New ObjectNotFoundException(type, id)

Syntax

Visual Basic
Public Sub New ( _
		type As Type, _
		id As Guid _
)
C#
public ObjectNotFoundException (
		Type type,
		Guid id
)
C++
public:
ObjectNotFoundException (
		Type^ type, 
		Guid id
)
J#
public ObjectNotFoundException (
		Type type, 
		Guid id
)
JScript
public function ObjectNotFoundException (
		type : Type, 
		id : Guid
)

Parameters

type

The type of the object that could not be found.

id

The globally unique identifier (GUID) for 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