CreateSystemUserRoleNotAllowedException Constructors
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.
Initializes a new instance of the CreateSystemUserRoleNotAllowedException class.
Overloads
CreateSystemUserRoleNotAllowedException()
Initializes a new instance of the CreateSystemUserRoleNotAllowedException class with default values.
public:
CreateSystemUserRoleNotAllowedException();
public CreateSystemUserRoleNotAllowedException ();
Public Sub New ()
Applies to
CreateSystemUserRoleNotAllowedException(Exception)
Initializes a new instance of the CreateSystemUserRoleNotAllowedException class by specifying an inner exception that caused the current exception.
public:
CreateSystemUserRoleNotAllowedException(Exception ^ inner);
public CreateSystemUserRoleNotAllowedException (Exception inner);
new Microsoft.EnterpriseManagement.Common.CreateSystemUserRoleNotAllowedException : Exception -> Microsoft.EnterpriseManagement.Common.CreateSystemUserRoleNotAllowedException
Public Sub New (inner As Exception)
Parameters
- inner
- Exception
The Exception
instance that caused the current exception.
Applies to
CreateSystemUserRoleNotAllowedException(Guid)
Initializes a new instance of the CreateSystemUserRoleNotAllowedException class by specifying the user role that caused the error.
public:
CreateSystemUserRoleNotAllowedException(Guid userRoleId);
public CreateSystemUserRoleNotAllowedException (Guid userRoleId);
new Microsoft.EnterpriseManagement.Common.CreateSystemUserRoleNotAllowedException : Guid -> Microsoft.EnterpriseManagement.Common.CreateSystemUserRoleNotAllowedException
Public Sub New (userRoleId As Guid)
Parameters
- userRoleId
- Guid
The user role that caused the error.
Applies to
CreateSystemUserRoleNotAllowedException(String)
Initializes a new instance of the CreateSystemUserRoleNotAllowedException class by specifying the error message that describes the current exception.
public:
CreateSystemUserRoleNotAllowedException(System::String ^ message);
public CreateSystemUserRoleNotAllowedException (string message);
new Microsoft.EnterpriseManagement.Common.CreateSystemUserRoleNotAllowedException : string -> Microsoft.EnterpriseManagement.Common.CreateSystemUserRoleNotAllowedException
Public Sub New (message As String)
Parameters
- message
- String
The error message that describes the current exception.
Applies to
CreateSystemUserRoleNotAllowedException(SerializationInfo, StreamingContext)
Initializes a new instance of the CreateSystemUserRoleNotAllowedException class with serialized data.
protected:
CreateSystemUserRoleNotAllowedException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected CreateSystemUserRoleNotAllowedException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.EnterpriseManagement.Common.CreateSystemUserRoleNotAllowedException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.EnterpriseManagement.Common.CreateSystemUserRoleNotAllowedException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
The serialized object that has data about the exception being thrown.
- context
- StreamingContext
The object that contains contextual information about the source or destination.
Applies to
CreateSystemUserRoleNotAllowedException(String, Exception)
Initializes a new instance of the CreateSystemUserRoleNotAllowedException class with an error message and inner exception.
public:
CreateSystemUserRoleNotAllowedException(System::String ^ message, Exception ^ inner);
public CreateSystemUserRoleNotAllowedException (string message, Exception inner);
new Microsoft.EnterpriseManagement.Common.CreateSystemUserRoleNotAllowedException : string * Exception -> Microsoft.EnterpriseManagement.Common.CreateSystemUserRoleNotAllowedException
Public Sub New (message As String, inner As Exception)
Parameters
- message
- String
The error message that describes the current exception.
- inner
- Exception
The Exception
instance that caused the current exception.