Compartilhar via


MonitoringObjectInUserRoleScopeNotAllowedException Constructor (ObjectInUserRoleScopeNotAllowedException)

Initializes a new instance of the MonitoringObjectInUserRoleScopeNotAllowedException 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 ObjectInUserRoleScopeNotAllowedException

Dim instance As New MonitoringObjectInUserRoleScopeNotAllowedException(ex)

Syntax

'Declaration
Public Sub New ( _
    ex As ObjectInUserRoleScopeNotAllowedException _
)
public MonitoringObjectInUserRoleScopeNotAllowedException (
    ObjectInUserRoleScopeNotAllowedException ex
)
public:
MonitoringObjectInUserRoleScopeNotAllowedException (
    ObjectInUserRoleScopeNotAllowedException^ ex
)
public MonitoringObjectInUserRoleScopeNotAllowedException (
    ObjectInUserRoleScopeNotAllowedException ex
)
public function MonitoringObjectInUserRoleScopeNotAllowedException (
    ex : ObjectInUserRoleScopeNotAllowedException
)

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

MonitoringObjectInUserRoleScopeNotAllowedException Class
MonitoringObjectInUserRoleScopeNotAllowedException Members
Microsoft.EnterpriseManagement.Common Namespace