Compartilhar via


InvalidProfileException Constructor (Guid, Guid)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Initializes a new instance of the InvalidProfileException class using the specified user role and profile identifier parameters.

Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)

Usage

'Usage
Dim userRoleId As Guid
Dim profileId As Guid

Dim instance As New InvalidProfileException(userRoleId, profileId)

Syntax

'Declaration
Public Sub New ( _
    userRoleId As Guid, _
    profileId As Guid _
)
public InvalidProfileException (
    Guid userRoleId,
    Guid profileId
)
public:
InvalidProfileException (
    Guid userRoleId, 
    Guid profileId
)
public InvalidProfileException (
    Guid userRoleId, 
    Guid profileId
)
public function InvalidProfileException (
    userRoleId : Guid, 
    profileId : Guid
)

Parameters

  • userRoleId
    The GUID for the user role.
  • profileId
    The GUID for the profile that is not valid for the user role.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

InvalidProfileException Class
InvalidProfileException Members
Microsoft.EnterpriseManagement.Common Namespace