다음을 통해 공유


InvalidTemplateInUserRoleScopeException 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 InvalidTemplateInUserRoleScopeException 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 InvalidTemplateInUserRoleScopeException(userRoleId, templateId)

Syntax

'Declaration
Public Sub New ( _
    userRoleId As Guid, _
    templateId As Guid _
)
public InvalidTemplateInUserRoleScopeException (
    Guid userRoleId,
    Guid templateId
)
public:
InvalidTemplateInUserRoleScopeException (
    Guid userRoleId, 
    Guid templateId
)
public InvalidTemplateInUserRoleScopeException (
    Guid userRoleId, 
    Guid templateId
)
public function InvalidTemplateInUserRoleScopeException (
    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

InvalidTemplateInUserRoleScopeException Class
InvalidTemplateInUserRoleScopeException Members
Microsoft.EnterpriseManagement.Common Namespace