UnauthorizedAccessMonitoringException Constructor (String, String, Generic ICollection, Guid, Guid, Guid, Guid)
Initializes a new UnauthorizedAccessMonitoringException object with the name of the user who called the method that raised the execution.
Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.OperationsManager.Common (in microsoft.enterprisemanagement.operationsmanager.common.dll)
Usage
'Usage
Dim user As String
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(user, methodName, operationNames, monitoringObjectId, monitoringViewId, monitoringTaskId, monitoringClassId)
Syntax
'Declaration
Public Sub New ( _
user As String, _
methodName As String, _
operationNames As ICollection(Of String), _
monitoringObjectId As Guid, _
monitoringViewId As Guid, _
monitoringTaskId As Guid, _
monitoringClassId As Guid _
)
public UnauthorizedAccessMonitoringException (
string user,
string methodName,
ICollection<string> operationNames,
Guid monitoringObjectId,
Guid monitoringViewId,
Guid monitoringTaskId,
Guid monitoringClassId
)
public:
UnauthorizedAccessMonitoringException (
String^ user,
String^ methodName,
ICollection<String^>^ operationNames,
Guid monitoringObjectId,
Guid monitoringViewId,
Guid monitoringTaskId,
Guid monitoringClassId
)
public UnauthorizedAccessMonitoringException (
String user,
String methodName,
ICollection<String> operationNames,
Guid monitoringObjectId,
Guid monitoringViewId,
Guid monitoringTaskId,
Guid monitoringClassId
)
public function UnauthorizedAccessMonitoringException (
user : String,
methodName : String,
operationNames : ICollection<String>,
monitoringObjectId : Guid,
monitoringViewId : Guid,
monitoringTaskId : Guid,
monitoringClassId : Guid
)
Parameters
- user
The name of the user who called the method that raised the exception.
- 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