次の方法で共有


InvalidMonitoringClassInUserRoleScopeException Constructor (Guid, Guid)

Initializes a new InvalidMonitoringClassInUserRoleScopeException object with a User Role identifier and a Class identifier.

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 InvalidMonitoringClassInUserRoleScopeException(userRoleId, monitoringClassId)

Syntax

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

Parameters

  • userRoleId
    A Guid identifier for the User Role that the invalid Class is in the scope of.
  • monitoringClassId
    A Guid identifier for the invalid Class.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

InvalidMonitoringClassInUserRoleScopeException Class
InvalidMonitoringClassInUserRoleScopeException Members
Microsoft.EnterpriseManagement.Common Namespace