Share via


TemplateInUserRoleScopeAlreadyExistsException Constructor (Guid, Guid)

Initializes a new instance of the TemplateInUserRoleScopeAlreadyExistsException class using the specified parameters.

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

Usage

'Usage
Dim userRoleId As Guid
Dim templateId As Guid

Dim instance As New TemplateInUserRoleScopeAlreadyExistsException(userRoleId, templateId)

Syntax

'Declaration
Public Sub New ( _
    userRoleId As Guid, _
    templateId As Guid _
)
public TemplateInUserRoleScopeAlreadyExistsException (
    Guid userRoleId,
    Guid templateId
)
public:
TemplateInUserRoleScopeAlreadyExistsException (
    Guid userRoleId, 
    Guid templateId
)
public TemplateInUserRoleScopeAlreadyExistsException (
    Guid userRoleId, 
    Guid templateId
)
public function TemplateInUserRoleScopeAlreadyExistsException (
    userRoleId : Guid, 
    templateId : Guid
)

Parameters

  • userRoleId
    The GUID for the user role.
  • templateId
    The GUID for the template.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

TemplateInUserRoleScopeAlreadyExistsException Class
TemplateInUserRoleScopeAlreadyExistsException Members
Microsoft.EnterpriseManagement.Common Namespace