MonitoringTaskInUserRoleScopeAlreadyExistsException Constructor (Guid, Guid)
Initializes a new MonitoringTaskInUserRoleScopeAlreadyExistsException object with monitoring task and user role identifiers.
Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)
Usage
'Usage
Dim userRoleId As Guid
Dim taskId As Guid
Dim instance As New MonitoringTaskInUserRoleScopeAlreadyExistsException(userRoleId, taskId)
Syntax
'Declaration
Public Sub New ( _
userRoleId As Guid, _
taskId As Guid _
)
public MonitoringTaskInUserRoleScopeAlreadyExistsException (
Guid userRoleId,
Guid taskId
)
public:
MonitoringTaskInUserRoleScopeAlreadyExistsException (
Guid userRoleId,
Guid taskId
)
public MonitoringTaskInUserRoleScopeAlreadyExistsException (
Guid userRoleId,
Guid taskId
)
public function MonitoringTaskInUserRoleScopeAlreadyExistsException (
userRoleId : Guid,
taskId : Guid
)
Parameters
- userRoleId
A globally unique identifier (Guid) for the user role that the monitoring task already occurs in.
- taskId
A Guid for the monitoring task 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
MonitoringTaskInUserRoleScopeAlreadyExistsException Class
MonitoringTaskInUserRoleScopeAlreadyExistsException Members
Microsoft.EnterpriseManagement.Common Namespace