Share via


MultipleUsersInSystemUserRoleException Constructors

Definition

Initializes a new MultipleUsersInSystemUserRoleException object.

Overloads

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

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

MultipleUsersInSystemUserRoleException(SerializationInfo, StreamingContext)

Initializes a new MultipleUsersInSystemUserRoleException object with serialized data.

MultipleUsersInSystemUserRoleException(String, Exception)

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

MultipleUsersInSystemUserRoleException()

Initializes a new MultipleUsersInSystemUserRoleException object.

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

Applies to

MultipleUsersInSystemUserRoleException(Exception)

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

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

Parameters

inner
Exception

The Exception instance that caused the current exception.

Applies to

MultipleUsersInSystemUserRoleException(Guid)

Initializes a new MultipleUsersInSystemUserRoleException object by specifying a user role identifier.

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

Parameters

userRoleId
Guid

A GUID identifier for the user role that caused the exception to be thrown.

Applies to

MultipleUsersInSystemUserRoleException(String)

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

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

Parameters

message
String

The error message that describes the current exception.

Applies to

MultipleUsersInSystemUserRoleException(SerializationInfo, StreamingContext)

Initializes a new MultipleUsersInSystemUserRoleException object with serialized data.

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

Applies to

MultipleUsersInSystemUserRoleException(String, Exception)

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

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