Initializes a new UserRoleUserUnresolvedException object with an error code, user name, and user role identifier. Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.OperationsManager.Common (in microsoft.enterprisemanagement.operationsmanager.common.dll)

Usage

Visual Basic
Dim userRoleId As Guid
Dim userName As String
Dim errorCode As Integer

Dim instance As New UserRoleUserUnresolvedException(userRoleId, userName, errorCode)

Syntax

Visual Basic
Public Sub New ( _
		userRoleId As Guid, _
		userName As String, _
		errorCode As Integer _
)
C#
public UserRoleUserUnresolvedException (
		Guid userRoleId,
		string userName,
		int errorCode
)
C++
public:
UserRoleUserUnresolvedException (
		Guid userRoleId, 
		String^ userName, 
		int errorCode
)
J#
public UserRoleUserUnresolvedException (
		Guid userRoleId, 
		String userName, 
		int errorCode
)
JScript
public function UserRoleUserUnresolvedException (
		userRoleId : Guid, 
		userName : String, 
		errorCode : int
)

Parameters

userRoleId

A globally unique identifier (GUID) for the user role that is associated with the user name.

userName

The user name that could not be resolved.

errorCode

The error code returned from the user name not being able to be resolved.

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