SourceExpressionException Constructor (String, CompilerErrorCollection)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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
)

Parameters

message
Type: System.String

The error message that explains the reason for the exception.

errors
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
Show: