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