Share via


DeleteSystemUserRoleNotAllowedException Constructors

Definition

Initializes a new DeleteSystemUserRoleNotAllowedException object.

Overloads

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(String)

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

DeleteSystemUserRoleNotAllowedException(SerializationInfo, StreamingContext)

Initializes a new DeleteSystemUserRoleNotAllowedException object with serialized data.

DeleteSystemUserRoleNotAllowedException(String, Exception)

Initializes a new DeleteSystemUserRoleNotAllowedException object with an error message and inner exception.

DeleteSystemUserRoleNotAllowedException()

Initializes a new DeleteSystemUserRoleNotAllowedException object.

public:
 DeleteSystemUserRoleNotAllowedException();
public DeleteSystemUserRoleNotAllowedException ();
Public Sub New ()

Applies to

DeleteSystemUserRoleNotAllowedException(Exception)

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

public:
 DeleteSystemUserRoleNotAllowedException(Exception ^ inner);
public DeleteSystemUserRoleNotAllowedException (Exception inner);
new Microsoft.EnterpriseManagement.Common.DeleteSystemUserRoleNotAllowedException : Exception -> Microsoft.EnterpriseManagement.Common.DeleteSystemUserRoleNotAllowedException
Public Sub New (inner As Exception)

Parameters

inner
Exception

The Exception instance that caused the current exception.

Applies to

DeleteSystemUserRoleNotAllowedException(Guid)

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

public:
 DeleteSystemUserRoleNotAllowedException(Guid userRoleId);
public DeleteSystemUserRoleNotAllowedException (Guid userRoleId);
new Microsoft.EnterpriseManagement.Common.DeleteSystemUserRoleNotAllowedException : Guid -> Microsoft.EnterpriseManagement.Common.DeleteSystemUserRoleNotAllowedException
Public Sub New (userRoleId As Guid)

Parameters

userRoleId
Guid

The user role that caused the error.

Applies to

DeleteSystemUserRoleNotAllowedException(String)

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

public:
 DeleteSystemUserRoleNotAllowedException(System::String ^ message);
public DeleteSystemUserRoleNotAllowedException (string message);
new Microsoft.EnterpriseManagement.Common.DeleteSystemUserRoleNotAllowedException : string -> Microsoft.EnterpriseManagement.Common.DeleteSystemUserRoleNotAllowedException
Public Sub New (message As String)

Parameters

message
String

The error message that describes the current exception.

Applies to

DeleteSystemUserRoleNotAllowedException(SerializationInfo, StreamingContext)

Initializes a new DeleteSystemUserRoleNotAllowedException object with serialized data.

protected:
 DeleteSystemUserRoleNotAllowedException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected DeleteSystemUserRoleNotAllowedException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.EnterpriseManagement.Common.DeleteSystemUserRoleNotAllowedException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.EnterpriseManagement.Common.DeleteSystemUserRoleNotAllowedException
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

DeleteSystemUserRoleNotAllowedException(String, Exception)

Initializes a new DeleteSystemUserRoleNotAllowedException object with an error message and inner exception.

public:
 DeleteSystemUserRoleNotAllowedException(System::String ^ message, Exception ^ inner);
public DeleteSystemUserRoleNotAllowedException (string message, Exception inner);
new Microsoft.EnterpriseManagement.Common.DeleteSystemUserRoleNotAllowedException : string * Exception -> Microsoft.EnterpriseManagement.Common.DeleteSystemUserRoleNotAllowedException
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.

Applies to