Initializes a new InvalidMonitoringProfileException object with a user role and profile identifiers. Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.OperationsManager.Common (in microsoft.enterprisemanagement.operationsmanager.common.dll)

Usage

Visual Basic
Dim userRoleId As Guid
Dim profileId As Guid

Dim instance As New InvalidMonitoringProfileException(userRoleId, profileId)

Syntax

Visual Basic
Public Sub New ( _
		userRoleId As Guid, _
		profileId As Guid _
)
C#
public InvalidMonitoringProfileException (
		Guid userRoleId,
		Guid profileId
)
C++
public:
InvalidMonitoringProfileException (
		Guid userRoleId, 
		Guid profileId
)
J#
public InvalidMonitoringProfileException (
		Guid userRoleId, 
		Guid profileId
)
JScript
public function InvalidMonitoringProfileException (
		userRoleId : Guid, 
		profileId : Guid
)

Parameters

userRoleId

A globally unique identifier (GUID) for the user role for which the profile is specified.

profileId

A GUID for the invalid profile that is specified for the user role.

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