Share via


TemplateInUserRoleScopeNotAllowedException Class

Definition

Represents the exception that is thrown when a user role does not allow the requested template.

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

Constructors

TemplateInUserRoleScopeNotAllowedException()

Initializes a new instance of the TemplateInUserRoleScopeNotAllowedException class.

TemplateInUserRoleScopeNotAllowedException(Exception)

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

TemplateInUserRoleScopeNotAllowedException(Guid)

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

TemplateInUserRoleScopeNotAllowedException(SerializationInfo, StreamingContext)

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

TemplateInUserRoleScopeNotAllowedException(String)

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

TemplateInUserRoleScopeNotAllowedException(String, Exception)

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

Properties

UserRoleId

Gets the GUID identifier of the user role.

Methods

GetObjectData(SerializationInfo, StreamingContext)

Sets the parameter information needed for serialization of the exception.

Applies to