Share via


ObjectNotFoundException Constructor (Type, Guid)

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

'Usage
Dim type As Type
Dim id As Guid

Dim instance As New ObjectNotFoundException(type, id)

Syntax

'Declaration
Public Sub New ( _
    type As Type, _
    id As Guid _
)
public ObjectNotFoundException (
    Type type,
    Guid id
)
public:
ObjectNotFoundException (
    Type^ type, 
    Guid id
)
public ObjectNotFoundException (
    Type type, 
    Guid id
)
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

Reference

ObjectNotFoundException Class
ObjectNotFoundException Members
Microsoft.EnterpriseManagement.Common Namespace

Send comments about this topic to Microsoft.