次の方法で共有


MonitoringTaskInUserRoleScopeNotAllowedException Constructor (TaskInUserRoleScopeNotAllowedException)

Initializes a new instance of the MonitoringTaskInUserRoleScopeNotAllowedException class by copying values from the specified exception.

Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

'Usage
Dim ex As TaskInUserRoleScopeNotAllowedException

Dim instance As New MonitoringTaskInUserRoleScopeNotAllowedException(ex)

Syntax

'Declaration
Public Sub New ( _
    ex As TaskInUserRoleScopeNotAllowedException _
)
public MonitoringTaskInUserRoleScopeNotAllowedException (
    TaskInUserRoleScopeNotAllowedException ex
)
public:
MonitoringTaskInUserRoleScopeNotAllowedException (
    TaskInUserRoleScopeNotAllowedException^ ex
)
public MonitoringTaskInUserRoleScopeNotAllowedException (
    TaskInUserRoleScopeNotAllowedException ex
)
public function MonitoringTaskInUserRoleScopeNotAllowedException (
    ex : TaskInUserRoleScopeNotAllowedException
)

Parameters

  • ex
    The exception to copy values from.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

MonitoringTaskInUserRoleScopeNotAllowedException Class
MonitoringTaskInUserRoleScopeNotAllowedException Members
Microsoft.EnterpriseManagement.Common Namespace