Share via


DeleteSystemUserRoleNotAllowedException Class

Definition

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

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

Constructors

DeleteSystemUserRoleNotAllowedException()

Initializes a new DeleteSystemUserRoleNotAllowedException object.

DeleteSystemUserRoleNotAllowedException(Exception)

Initializes a new DeleteSystemUserRoleNotAllowedException object by specifying an inner exception that caused the current exception.

DeleteSystemUserRoleNotAllowedException(Guid)

Initializes a new DeleteSystemUserRoleNotAllowedException object by specifying the user role that caused the error.

DeleteSystemUserRoleNotAllowedException(SerializationInfo, StreamingContext)

Initializes a new DeleteSystemUserRoleNotAllowedException object with serialized data.

DeleteSystemUserRoleNotAllowedException(String)

Initializes a new DeleteSystemUserRoleNotAllowedException object by specifying the error message that describes the current exception.

DeleteSystemUserRoleNotAllowedException(String, Exception)

Initializes a new DeleteSystemUserRoleNotAllowedException object 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