Compartilhar via


InvalidMonitoringViewInUserRoleScopeException Constructor (Guid, Guid)

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

Initializes a new InvalidMonitoringViewInUserRoleScopeException object with a View identifier and User Role identifier.

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

Usage

'Usage
Dim userRoleId As Guid
Dim viewId As Guid

Dim instance As New InvalidMonitoringViewInUserRoleScopeException(userRoleId, viewId)

Syntax

'Declaration
Public Sub New ( _
    userRoleId As Guid, _
    viewId As Guid _
)
public InvalidMonitoringViewInUserRoleScopeException (
    Guid userRoleId,
    Guid viewId
)
public:
InvalidMonitoringViewInUserRoleScopeException (
    Guid userRoleId, 
    Guid viewId
)
public InvalidMonitoringViewInUserRoleScopeException (
    Guid userRoleId, 
    Guid viewId
)
public function InvalidMonitoringViewInUserRoleScopeException (
    userRoleId : Guid, 
    viewId : Guid
)

Parameters

  • userRoleId
    The identifier for the User Role that caused the exception to be thrown.
  • viewId
    The identifier for the invalid View 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

InvalidMonitoringViewInUserRoleScopeException Class
InvalidMonitoringViewInUserRoleScopeException Members
Microsoft.EnterpriseManagement.Common Namespace