Share via


InvalidMonitoringObjectInUserRoleScopeException Constructor (Guid, Guid)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Initializes a new InvalidMonitoringObjectInUserRoleScopeException object with a User Role identifier and an Object identifier.

Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)

Usage

'Usage
Dim userRoleId As Guid
Dim monitoringObjectId As Guid

Dim instance As New InvalidMonitoringObjectInUserRoleScopeException(userRoleId, monitoringObjectId)

Syntax

'Declaration
Public Sub New ( _
    userRoleId As Guid, _
    monitoringObjectId As Guid _
)
public InvalidMonitoringObjectInUserRoleScopeException (
    Guid userRoleId,
    Guid monitoringObjectId
)
public:
InvalidMonitoringObjectInUserRoleScopeException (
    Guid userRoleId, 
    Guid monitoringObjectId
)
public InvalidMonitoringObjectInUserRoleScopeException (
    Guid userRoleId, 
    Guid monitoringObjectId
)
public function InvalidMonitoringObjectInUserRoleScopeException (
    userRoleId : Guid, 
    monitoringObjectId : Guid
)

Parameters

  • userRoleId
    The Guid identifier for the User Role that the invalid Object is in the scope of.
  • monitoringObjectId
    The Guid identifier for the invalid Object.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

InvalidMonitoringObjectInUserRoleScopeException Class
InvalidMonitoringObjectInUserRoleScopeException Members
Microsoft.EnterpriseManagement.Common Namespace