Export (0) Print
Expand All

SourceExpressionException Constructor (String, CompilerErrorCollection)

.NET Framework 4.6 and 4.5

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

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
© 2015 Microsoft