SourceExpressionException Constructor (String, CompilerErrorCollection)

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

Namespace:   System.Activities.ExpressionParser
Assembly:  System.Activities (in System.Activities.dll)

public SourceExpressionException(
	string message,
	CompilerErrorCollection errors


Type: System.String

The error message that explains the reason for the exception.

Type: System.CodeDom.Compiler.CompilerErrorCollection

A collection of compiler error data.

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.

.NET Framework
Available since 4.0
Return to top