Compartilhar via


MonitoringClassInUserRoleScopeAlreadyExistsException Constructor (Guid, Guid)

Initializes a new MonitoringClassInUserRoleScopeAlreadyExistsException object with monitoring Class and User Role identifiers.

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

Usage

'Usage
Dim userRoleId As Guid
Dim monitoringClassId As Guid

Dim instance As New MonitoringClassInUserRoleScopeAlreadyExistsException(userRoleId, monitoringClassId)

Syntax

'Declaration
Public Sub New ( _
    userRoleId As Guid, _
    monitoringClassId As Guid _
)
public MonitoringClassInUserRoleScopeAlreadyExistsException (
    Guid userRoleId,
    Guid monitoringClassId
)
public:
MonitoringClassInUserRoleScopeAlreadyExistsException (
    Guid userRoleId, 
    Guid monitoringClassId
)
public MonitoringClassInUserRoleScopeAlreadyExistsException (
    Guid userRoleId, 
    Guid monitoringClassId
)
public function MonitoringClassInUserRoleScopeAlreadyExistsException (
    userRoleId : Guid, 
    monitoringClassId : Guid
)

Parameters

  • userRoleId
    A GUID for the User Role that the monitoring Class already occurs in.
  • monitoringClassId
    A GUID for the monitoring Class that already occurs in the User Role scope.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

MonitoringClassInUserRoleScopeAlreadyExistsException Class
MonitoringClassInUserRoleScopeAlreadyExistsException Members
Microsoft.EnterpriseManagement.Common Namespace