UnauthorizedAccessMonitoringException Constructor (String, String, Generic ICollection, Guid, Guid, Guid)
Initializes a new UnauthorizedAccessMonitoringException object.
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 instance As New UnauthorizedAccessMonitoringException(user, methodName, operationNames, monitoringObjectId, monitoringViewId, monitoringTaskId)
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 _
)
public UnauthorizedAccessMonitoringException (
string user,
string methodName,
ICollection<string> operationNames,
Guid monitoringObjectId,
Guid monitoringViewId,
Guid monitoringTaskId
)
public:
UnauthorizedAccessMonitoringException (
String^ user,
String^ methodName,
ICollection<String^>^ operationNames,
Guid monitoringObjectId,
Guid monitoringViewId,
Guid monitoringTaskId
)
public UnauthorizedAccessMonitoringException (
String user,
String methodName,
ICollection<String> operationNames,
Guid monitoringObjectId,
Guid monitoringViewId,
Guid monitoringTaskId
)
public function UnauthorizedAccessMonitoringException (
user : String,
methodName : String,
operationNames : ICollection<String>,
monitoringObjectId : Guid,
monitoringViewId : Guid,
monitoringTaskId : 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.
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