Share via


InvalidTaskInUserRoleScopeException Constructors

Definition

Initializes a new instance of the InvalidTaskInUserRoleScopeException class.

Overloads

InvalidTaskInUserRoleScopeException()

Initializes a new instance of the InvalidTaskInUserRoleScopeException class.

InvalidTaskInUserRoleScopeException(Exception)

Initializes a new instance of the InvalidTaskInUserRoleScopeException class using a reference to the inner exception that is the cause of this exception.

InvalidTaskInUserRoleScopeException(String)

Initializes a new instance of the InvalidTaskInUserRoleScopeException class using the specified error message.

InvalidTaskInUserRoleScopeException(Guid, Guid)

Initializes a new instance of the InvalidTaskInUserRoleScopeException class using the specified parameters.

InvalidTaskInUserRoleScopeException(SerializationInfo, StreamingContext)

Initializes a new instance of the InvalidTaskInUserRoleScopeException class using serialized data.

InvalidTaskInUserRoleScopeException(String, Exception)

Initializes a new instance of the InvalidTaskInUserRoleScopeException class using the specified message and a reference to the inner exception that is the cause of this exception.

InvalidTaskInUserRoleScopeException()

Initializes a new instance of the InvalidTaskInUserRoleScopeException class.

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

Applies to

InvalidTaskInUserRoleScopeException(Exception)

Initializes a new instance of the InvalidTaskInUserRoleScopeException class using a reference to the inner exception that is the cause of this exception.

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

Parameters

inner
Exception

The exception that is the cause of the current exception.

Applies to

InvalidTaskInUserRoleScopeException(String)

Initializes a new instance of the InvalidTaskInUserRoleScopeException class using the specified error message.

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

Parameters

message
String

The error message that describes the current exception.

Applies to

InvalidTaskInUserRoleScopeException(Guid, Guid)

Initializes a new instance of the InvalidTaskInUserRoleScopeException class using the specified parameters.

public:
 InvalidTaskInUserRoleScopeException(Guid userRoleId, Guid taskId);
public InvalidTaskInUserRoleScopeException (Guid userRoleId, Guid taskId);
new Microsoft.EnterpriseManagement.Common.InvalidTaskInUserRoleScopeException : Guid * Guid -> Microsoft.EnterpriseManagement.Common.InvalidTaskInUserRoleScopeException
Public Sub New (userRoleId As Guid, taskId As Guid)

Parameters

userRoleId
Guid

The GUID for the user role.

taskId
Guid

The GUID for the invalid task.

Applies to

InvalidTaskInUserRoleScopeException(SerializationInfo, StreamingContext)

Initializes a new instance of the InvalidTaskInUserRoleScopeException class using serialized data.

protected:
 InvalidTaskInUserRoleScopeException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected InvalidTaskInUserRoleScopeException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.EnterpriseManagement.Common.InvalidTaskInUserRoleScopeException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.EnterpriseManagement.Common.InvalidTaskInUserRoleScopeException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

The object that holds the serialized data about the exception being thrown.

context
StreamingContext

Context information about the source or destination of the serialized object.

Remarks

This constructor is called during deserialization to reconstitute the exception object that is transmitted over a stream.

Applies to

InvalidTaskInUserRoleScopeException(String, Exception)

Initializes a new instance of the InvalidTaskInUserRoleScopeException class using the specified message and a reference to the inner exception that is the cause of this exception.

public:
 InvalidTaskInUserRoleScopeException(System::String ^ message, Exception ^ inner);
public InvalidTaskInUserRoleScopeException (string message, Exception inner);
new Microsoft.EnterpriseManagement.Common.InvalidTaskInUserRoleScopeException : string * Exception -> Microsoft.EnterpriseManagement.Common.InvalidTaskInUserRoleScopeException
Public Sub New (message As String, inner As Exception)

Parameters

message
String

The error message that describes the current exception.

inner
Exception

The exception that is the cause of the current exception.

Applies to