Partager via


InvalidMonitoringTaskInUserRoleScopeException Constructor (InvalidTaskInUserRoleScopeException)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Initializes a new instance of the InvalidMonitoringTaskInUserRoleScopeException 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 InvalidTaskInUserRoleScopeException

Dim instance As New InvalidMonitoringTaskInUserRoleScopeException(ex)

Syntax

'Declaration
Public Sub New ( _
    ex As InvalidTaskInUserRoleScopeException _
)
public InvalidMonitoringTaskInUserRoleScopeException (
    InvalidTaskInUserRoleScopeException ex
)
public:
InvalidMonitoringTaskInUserRoleScopeException (
    InvalidTaskInUserRoleScopeException^ ex
)
public InvalidMonitoringTaskInUserRoleScopeException (
    InvalidTaskInUserRoleScopeException ex
)
public function InvalidMonitoringTaskInUserRoleScopeException (
    ex : InvalidTaskInUserRoleScopeException
)

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

InvalidMonitoringTaskInUserRoleScopeException Class
InvalidMonitoringTaskInUserRoleScopeException Members
Microsoft.EnterpriseManagement.Common Namespace