Share via


CreateSystemUserRoleNotAllowedException Class

Definition

Represents the exception that is thrown when you cannot create user roles with IsSystem specified.

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

Constructors

CreateSystemUserRoleNotAllowedException()

Initializes a new instance of the CreateSystemUserRoleNotAllowedException class with default values.

CreateSystemUserRoleNotAllowedException(Exception)

Initializes a new instance of the CreateSystemUserRoleNotAllowedException class by specifying an inner exception that caused the current exception.

CreateSystemUserRoleNotAllowedException(Guid)

Initializes a new instance of the CreateSystemUserRoleNotAllowedException class by specifying the user role that caused the error.

CreateSystemUserRoleNotAllowedException(SerializationInfo, StreamingContext)

Initializes a new instance of the CreateSystemUserRoleNotAllowedException class with serialized data.

CreateSystemUserRoleNotAllowedException(String)

Initializes a new instance of the CreateSystemUserRoleNotAllowedException class by specifying the error message that describes the current exception.

CreateSystemUserRoleNotAllowedException(String, Exception)

Initializes a new instance of the CreateSystemUserRoleNotAllowedException class with an error message and inner exception.

Properties

UserRoleId

Gets the user role that caused the exception to be thrown.

Methods

GetObjectData(SerializationInfo, StreamingContext)

Sets the SerializationInfo object with information about the exception.

Applies to