Share via


InvalidMonitoringTaskInUserRoleScopeException Constructor (Guid, Guid)

Initializes a new instance of the InvalidMonitoringTaskInUserRoleScopeException class, specifying the identifiers for the invalid Task and User Role.

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 InvalidMonitoringTaskInUserRoleScopeException(userRoleId, taskId)

Syntax

'Declaration
Public Sub New ( _
    userRoleId As Guid, _
    taskId As Guid _
)
public InvalidMonitoringTaskInUserRoleScopeException (
    Guid userRoleId,
    Guid taskId
)
public:
InvalidMonitoringTaskInUserRoleScopeException (
    Guid userRoleId, 
    Guid taskId
)
public InvalidMonitoringTaskInUserRoleScopeException (
    Guid userRoleId, 
    Guid taskId
)
public function InvalidMonitoringTaskInUserRoleScopeException (
    userRoleId : Guid, 
    taskId : Guid
)

Parameters

  • userRoleId
    The Guid identifier for the User Role that caused the exception to be thrown.
  • taskId
    The Guid identifier for the Task that caused the exception to be thrown.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

InvalidMonitoringTaskInUserRoleScopeException Class
InvalidMonitoringTaskInUserRoleScopeException Members
Microsoft.EnterpriseManagement.Common Namespace