[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]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.Core (in microsoft.enterprisemanagement.core.dll)

Usage

Visual Basic
Dim user As String
Dim methodName As String
Dim operationNames As ICollection(Of String)
Dim objectId As Guid
Dim viewId As Guid
Dim taskId As Guid
Dim classId As Guid

Dim instance As New UnauthorizedAccessMonitoringException(user, methodName, operationNames, objectId, viewId, taskId, classId)

Syntax

Visual Basic
Public Sub New ( _
		user As String, _
		methodName As String, _
		operationNames As ICollection(Of String), _
		objectId As Guid, _
		viewId As Guid, _
		taskId As Guid, _
		classId As Guid _
)
C#
public UnauthorizedAccessMonitoringException (
		string user,
		string methodName,
		ICollection<string> operationNames,
		Guid objectId,
		Guid viewId,
		Guid taskId,
		Guid classId
)
C++
public:
UnauthorizedAccessMonitoringException (
		String^ user, 
		String^ methodName, 
		ICollection<String^>^ operationNames, 
		Guid objectId, 
		Guid viewId, 
		Guid taskId, 
		Guid classId
)
J#
public UnauthorizedAccessMonitoringException (
		String user, 
		String methodName, 
		ICollection<String> operationNames, 
		Guid objectId, 
		Guid viewId, 
		Guid taskId, 
		Guid classId
)
JScript
public function UnauthorizedAccessMonitoringException (
		user : String, 
		methodName : String, 
		operationNames : ICollection<String>, 
		objectId : Guid, 
		viewId : Guid, 
		taskId : Guid, 
		classId : 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.

objectId
viewId
taskId
classId

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003

See Also