MultipleUsersInSystemUserRoleException Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the exception that is thrown because the Administrator user role cannot have multiple users assigned to it. It must have one user assigned to it.
public ref class MultipleUsersInSystemUserRoleException : Microsoft::EnterpriseManagement::Common::EnterpriseManagementException
[System.Runtime.Serialization.KnownType(typeof(System.Int32))]
[System.Runtime.Serialization.KnownType(typeof(System.Guid))]
[System.Runtime.Serialization.KnownType(typeof(System.String))]
[System.Serializable]
public class MultipleUsersInSystemUserRoleException : Microsoft.EnterpriseManagement.Common.EnterpriseManagementException
type MultipleUsersInSystemUserRoleException = class
inherit EnterpriseManagementException
Public Class MultipleUsersInSystemUserRoleException
Inherits EnterpriseManagementException
- Inheritance
- Attributes
Constructors
MultipleUsersInSystemUserRoleException() |
Initializes a new MultipleUsersInSystemUserRoleException object. |
MultipleUsersInSystemUserRoleException(Exception) |
Initializes a new MultipleUsersInSystemUserRoleException object by specifying an inner exception that caused the current exception. |
MultipleUsersInSystemUserRoleException(Guid) |
Initializes a new MultipleUsersInSystemUserRoleException object by specifying a user role identifier. |
MultipleUsersInSystemUserRoleException(SerializationInfo, StreamingContext) |
Initializes a new MultipleUsersInSystemUserRoleException object with serialized data. |
MultipleUsersInSystemUserRoleException(String) |
Initializes a new MultipleUsersInSystemUserRoleException object by specifying the error message that describes the current exception. |
MultipleUsersInSystemUserRoleException(String, Exception) |
Initializes a new MultipleUsersInSystemUserRoleException object with an error message and inner exception. |
Properties
UserRoleId |
Gets a globally unique identifier (GUID) for the user role that caused the exception to be thrown. |
Methods
GetObjectData(SerializationInfo, StreamingContext) |
Sets the SerializationInfo object with information about the exception. |