InvalidMonitoringClassInUserRoleScopeException Constructor (Guid, Guid)
Initializes a new InvalidMonitoringClassInUserRoleScopeException object with a user role identifier and a monitoring class identifier.
Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.OperationsManager.Common (in microsoft.enterprisemanagement.operationsmanager.common.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 globally unique identifier (GUID) for the user role that the invalid monitoring class is in the scope of.
- monitoringClassId
A GUID for the invalid monitoring class.
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
InvalidMonitoringClassInUserRoleScopeException Class
InvalidMonitoringClassInUserRoleScopeException Members
Microsoft.EnterpriseManagement.Common Namespace