UnauthorizedAccessMonitoringException Constructor (String, Generic ICollection, Guid, Guid, Guid, Guid)
Initializes a new UnauthorizedAccessMonitoringException object with various objects that failed the access check.
Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.OperationsManager.Common (in microsoft.enterprisemanagement.operationsmanager.common.dll)
Usage
'Usage
Dim methodName As String
Dim operationNames As ICollection(Of String)
Dim monitoringObjectId As Guid
Dim monitoringViewId As Guid
Dim monitoringTaskId As Guid
Dim monitoringClassId As Guid
Dim instance As New UnauthorizedAccessMonitoringException(methodName, operationNames, monitoringObjectId, monitoringViewId, monitoringTaskId, monitoringClassId)
Syntax
'Declaration
Public Sub New ( _
methodName As String, _
operationNames As ICollection(Of String), _
monitoringObjectId As Guid, _
monitoringViewId As Guid, _
monitoringTaskId As Guid, _
monitoringClassId As Guid _
)
public UnauthorizedAccessMonitoringException (
string methodName,
ICollection<string> operationNames,
Guid monitoringObjectId,
Guid monitoringViewId,
Guid monitoringTaskId,
Guid monitoringClassId
)
public:
UnauthorizedAccessMonitoringException (
String^ methodName,
ICollection<String^>^ operationNames,
Guid monitoringObjectId,
Guid monitoringViewId,
Guid monitoringTaskId,
Guid monitoringClassId
)
public UnauthorizedAccessMonitoringException (
String methodName,
ICollection<String> operationNames,
Guid monitoringObjectId,
Guid monitoringViewId,
Guid monitoringTaskId,
Guid monitoringClassId
)
public function UnauthorizedAccessMonitoringException (
methodName : String,
operationNames : ICollection<String>,
monitoringObjectId : Guid,
monitoringViewId : Guid,
monitoringTaskId : Guid,
monitoringClassId : Guid
)
Parameters
- methodName
The name of the method that access is being checked for.
- operationNames
The operation names that failed the access check.
- monitoringObjectId
A globally unique identifier (GUID) for the monitoring object that failed the access check.
- monitoringViewId
A globally unique identifier (GUID) for the monitoring view that failed the access check.
- monitoringTaskId
A globally unique identifier (GUID) for the monitoring task that failed the access check.
- monitoringClassId
A globally unique identifier (GUID) for the monitoring class that failed the access check.
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
UnauthorizedAccessMonitoringException Class
UnauthorizedAccessMonitoringException Members
Microsoft.EnterpriseManagement.Common Namespace