Share via


TemplateInUserRoleScopeAlreadyExistsException Class

Definition

Represents the exception that is thrown when a template is assigned that is already applied to the user role.

public ref class TemplateInUserRoleScopeAlreadyExistsException : Microsoft::EnterpriseManagement::Common::EnterpriseManagementException
[System.Serializable]
public class TemplateInUserRoleScopeAlreadyExistsException : Microsoft.EnterpriseManagement.Common.EnterpriseManagementException
type TemplateInUserRoleScopeAlreadyExistsException = class
    inherit EnterpriseManagementException
Public Class TemplateInUserRoleScopeAlreadyExistsException
Inherits EnterpriseManagementException
Inheritance
TemplateInUserRoleScopeAlreadyExistsException
Attributes

Constructors

TemplateInUserRoleScopeAlreadyExistsException()

Initializes a new instance of the TemplateInUserRoleScopeAlreadyExistsException class.

TemplateInUserRoleScopeAlreadyExistsException(Exception)

Initializes a new instance of the TemplateInUserRoleScopeAlreadyExistsException class using a reference to the inner exception that is the cause of this exception.

TemplateInUserRoleScopeAlreadyExistsException(Guid, Guid)

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

TemplateInUserRoleScopeAlreadyExistsException(SerializationInfo, StreamingContext)

Initializes a new instance of the TemplateInUserRoleScopeAlreadyExistsException class using serialized data.

TemplateInUserRoleScopeAlreadyExistsException(String)

Initializes a new instance of the TemplateInUserRoleScopeAlreadyExistsException class using the specified error message.

TemplateInUserRoleScopeAlreadyExistsException(String, Exception)

Initializes a new instance of the TemplateInUserRoleScopeAlreadyExistsException class using the specified message and a reference to the inner exception that is the cause of this exception.

Properties

TemplateId

Gets the identifier for the duplicate template.

UserRoleId

Gets the identifier for the user role.

Methods

GetObjectData(SerializationInfo, StreamingContext)

Sets the parameters required to serialize this instance of the TemplateInUserRoleScopeAlreadyExistsException class.

Applies to