SourceExpressionException SourceExpressionException SourceExpressionException SourceExpressionException Constructors

Definition

Overloads

SourceExpressionException() SourceExpressionException() SourceExpressionException()

Initializes a new instance of the SourceExpressionException class.

SourceExpressionException(String) SourceExpressionException(String) SourceExpressionException(String) SourceExpressionException(String)

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

SourceExpressionException(SerializationInfo, StreamingContext) SourceExpressionException(SerializationInfo, StreamingContext) SourceExpressionException(SerializationInfo, StreamingContext) SourceExpressionException(SerializationInfo, StreamingContext)

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

SourceExpressionException(String, CompilerErrorCollection) SourceExpressionException(String, CompilerErrorCollection) SourceExpressionException(String, CompilerErrorCollection) 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) SourceExpressionException(String, Exception) SourceExpressionException(String, Exception) 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() SourceExpressionException() SourceExpressionException()

Initializes a new instance of the SourceExpressionException class.

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

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

The error message that explains the reason for the exception.

SourceExpressionException(SerializationInfo, StreamingContext) SourceExpressionException(SerializationInfo, StreamingContext) SourceExpressionException(SerializationInfo, StreamingContext) 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 SerializationInfo SerializationInfo SerializationInfo

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

context
StreamingContext StreamingContext StreamingContext StreamingContext

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

SourceExpressionException(String, CompilerErrorCollection) SourceExpressionException(String, CompilerErrorCollection) SourceExpressionException(String, CompilerErrorCollection) 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 String String String

The error message that explains the reason for the exception.

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.

SourceExpressionException(String, Exception) SourceExpressionException(String, Exception) SourceExpressionException(String, Exception) 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 String String String

The error message that explains the reason for the exception.

innerException
Exception Exception Exception Exception

The exception that is the cause of the current exception.

Applies to