MonitoringTaskInUserRoleScopeAlreadyExistsException Constructor (TaskInUserRoleScopeAlreadyExistsException)
Initializes a new instance of the MonitoringTaskInUserRoleScopeAlreadyExistsException class using the specified TaskInUserRoleScopeAlreadyExistsException.
Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)
Usage
'Usage
Dim ex As TaskInUserRoleScopeAlreadyExistsException
Dim instance As New MonitoringTaskInUserRoleScopeAlreadyExistsException(ex)
Syntax
'Declaration
Public Sub New ( _
ex As TaskInUserRoleScopeAlreadyExistsException _
)
public MonitoringTaskInUserRoleScopeAlreadyExistsException (
TaskInUserRoleScopeAlreadyExistsException ex
)
public:
MonitoringTaskInUserRoleScopeAlreadyExistsException (
TaskInUserRoleScopeAlreadyExistsException^ ex
)
public MonitoringTaskInUserRoleScopeAlreadyExistsException (
TaskInUserRoleScopeAlreadyExistsException ex
)
public function MonitoringTaskInUserRoleScopeAlreadyExistsException (
ex : TaskInUserRoleScopeAlreadyExistsException
)
Parameters
- ex
The TaskInUserRoleScopeAlreadyExistsException to create the exception with.
Remarks
This constructor copies the message and inner exception and also the user role and task identifiers from the TaskInUserRoleScopeAlreadyExistsException parameter into this exception.
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