EditSystemUserRoleNotAllowedException 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 EditSystemUserRoleNotAllowedException object.
Overloads
EditSystemUserRoleNotAllowedException() |
Initializes a new EditSystemUserRoleNotAllowedException object. |
EditSystemUserRoleNotAllowedException(Exception) |
Initializes a new EditSystemUserRoleNotAllowedException object by specifying an inner exception that caused the current exception. |
EditSystemUserRoleNotAllowedException(Guid) |
Initializes a new EditSystemUserRoleNotAllowedException object with a globally unique identifier (GUID) for the system user role that caused the exception to be thrown. |
EditSystemUserRoleNotAllowedException(String) |
Initializes a new EditSystemUserRoleNotAllowedException object by specifying the error message that describes the current exception. |
EditSystemUserRoleNotAllowedException(SerializationInfo, StreamingContext) |
Initializes a new EditSystemUserRoleNotAllowedException object with serialized data. |
EditSystemUserRoleNotAllowedException(String, Exception) |
Initializes a new EditSystemUserRoleNotAllowedException object with an error message and inner exception. |
EditSystemUserRoleNotAllowedException()
Initializes a new EditSystemUserRoleNotAllowedException object.
public:
EditSystemUserRoleNotAllowedException();
public EditSystemUserRoleNotAllowedException ();
Public Sub New ()
Applies to
EditSystemUserRoleNotAllowedException(Exception)
Initializes a new EditSystemUserRoleNotAllowedException object by specifying an inner exception that caused the current exception.
public:
EditSystemUserRoleNotAllowedException(Exception ^ inner);
public EditSystemUserRoleNotAllowedException (Exception inner);
new Microsoft.EnterpriseManagement.Common.EditSystemUserRoleNotAllowedException : Exception -> Microsoft.EnterpriseManagement.Common.EditSystemUserRoleNotAllowedException
Public Sub New (inner As Exception)
Parameters
- inner
- Exception
The Exception instance that caused the current exception.
Applies to
EditSystemUserRoleNotAllowedException(Guid)
Initializes a new EditSystemUserRoleNotAllowedException object with a globally unique identifier (GUID) for the system user role that caused the exception to be thrown.
public:
EditSystemUserRoleNotAllowedException(Guid userRoleId);
public EditSystemUserRoleNotAllowedException (Guid userRoleId);
new Microsoft.EnterpriseManagement.Common.EditSystemUserRoleNotAllowedException : Guid -> Microsoft.EnterpriseManagement.Common.EditSystemUserRoleNotAllowedException
Public Sub New (userRoleId As Guid)
Parameters
- userRoleId
- Guid
A GUID for the system user role that caused the exception to be thrown
Applies to
EditSystemUserRoleNotAllowedException(String)
Initializes a new EditSystemUserRoleNotAllowedException object by specifying the error message that describes the current exception.
public:
EditSystemUserRoleNotAllowedException(System::String ^ message);
public EditSystemUserRoleNotAllowedException (string message);
new Microsoft.EnterpriseManagement.Common.EditSystemUserRoleNotAllowedException : string -> Microsoft.EnterpriseManagement.Common.EditSystemUserRoleNotAllowedException
Public Sub New (message As String)
Parameters
- message
- String
The error message that describes the current exception.
Applies to
EditSystemUserRoleNotAllowedException(SerializationInfo, StreamingContext)
Initializes a new EditSystemUserRoleNotAllowedException object with serialized data.
protected:
EditSystemUserRoleNotAllowedException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected EditSystemUserRoleNotAllowedException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.EnterpriseManagement.Common.EditSystemUserRoleNotAllowedException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.EnterpriseManagement.Common.EditSystemUserRoleNotAllowedException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
The SerializationInfo object that holds the serialized object data about the exception being thrown.
- context
- StreamingContext
The StreamingContext object that contains contextual information about the source or destination.
Remarks
This constructor is called during deserialization to reconstitute the exception object that is transmitted over a stream.
Applies to
EditSystemUserRoleNotAllowedException(String, Exception)
Initializes a new EditSystemUserRoleNotAllowedException object with an error message and inner exception.
public:
EditSystemUserRoleNotAllowedException(System::String ^ message, Exception ^ inner);
public EditSystemUserRoleNotAllowedException (string message, Exception inner);
new Microsoft.EnterpriseManagement.Common.EditSystemUserRoleNotAllowedException : string * Exception -> Microsoft.EnterpriseManagement.Common.EditSystemUserRoleNotAllowedException
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.