Επεξεργασία

Κοινή χρήση μέσω


SourceExpressionException Constructors

Definition

Initializes a new instance of the SourceExpressionException class.

Overloads

SourceExpressionException()

Initializes a new instance of the SourceExpressionException class.

SourceExpressionException(String)

Initializes a new instance of the SourceExpressionException class with a specified error message.

SourceExpressionException(SerializationInfo, StreamingContext)

Initializes a new instance of the SourceExpressionException class with serialized data.

SourceExpressionException(String, CompilerErrorCollection)

Initializes a new instance of the SourceExpressionException class with a specified error message and a collection of compiler errors.

SourceExpressionException(String, Exception)

Initializes a new instance of the SourceExpressionException class with a specified error message and a reference to the inner exception that is the cause of this exception.

SourceExpressionException()

Initializes a new instance of the SourceExpressionException class.

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

Applies to

SourceExpressionException(String)

Initializes a new instance of the SourceExpressionException class with a specified error message.

public:
 SourceExpressionException(System::String ^ message);
public SourceExpressionException (string message);
new System.Activities.ExpressionParser.SourceExpressionException : string -> System.Activities.ExpressionParser.SourceExpressionException
Public Sub New (message As String)

Parameters

message
String

The error message that explains the reason for the exception.

Applies to

SourceExpressionException(SerializationInfo, StreamingContext)

Initializes a new instance of the SourceExpressionException class with serialized data.

protected:
 SourceExpressionException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected SourceExpressionException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Activities.ExpressionParser.SourceExpressionException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Activities.ExpressionParser.SourceExpressionException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

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

context
StreamingContext

The object that contains contextual information about the source or destination.

Applies to

SourceExpressionException(String, CompilerErrorCollection)

Initializes a new instance of the SourceExpressionException class with a specified error message and a collection of compiler errors.

public:
 SourceExpressionException(System::String ^ message, System::CodeDom::Compiler::CompilerErrorCollection ^ errors);
public SourceExpressionException (string message, System.CodeDom.Compiler.CompilerErrorCollection errors);
new System.Activities.ExpressionParser.SourceExpressionException : string * System.CodeDom.Compiler.CompilerErrorCollection -> System.Activities.ExpressionParser.SourceExpressionException
Public Sub New (message As String, errors As CompilerErrorCollection)

Parameters

message
String

The error message that explains the reason for the exception.

errors
CompilerErrorCollection

A collection of compiler error data.

Remarks

The data associated with each error in the collection can include the file that contains the error, an error identification number, a message that describes the error, and other types of error information.

Applies to

SourceExpressionException(String, Exception)

Initializes a new instance of the SourceExpressionException class with a specified error message and a reference to the inner exception that is the cause of this exception.

public:
 SourceExpressionException(System::String ^ message, Exception ^ innerException);
public SourceExpressionException (string message, Exception innerException);
new System.Activities.ExpressionParser.SourceExpressionException : string * Exception -> System.Activities.ExpressionParser.SourceExpressionException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The error message that explains the reason for the exception.

innerException
Exception

The exception that is the cause of the current exception.

Applies to