InvalidMonitoringViewInUserRoleScopeException Constructor (Guid, Guid)
Initializes a new InvalidMonitoringViewInUserRoleScopeException object with a monitoring view and user role identifier.
Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.OperationsManager.Common (in microsoft.enterprisemanagement.operationsmanager.common.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
A globally unique identifier (GUID) for the user role that caused the exception to be thrown.
- viewId
A GUID for the invalid monitoring view that caused the exception to be thrown.
Platforms
Development Platforms
Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP
Target Platforms
Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP
See Also
Reference
InvalidMonitoringViewInUserRoleScopeException Class
InvalidMonitoringViewInUserRoleScopeException Members
Microsoft.EnterpriseManagement.Common Namespace