Edit

Share via


WorkflowCompilerError Constructors

Definition

Initializes a new instance of the WorkflowCompilerError class.

Overloads

WorkflowCompilerError()

Initializes a new instance of the WorkflowCompilerError class.

WorkflowCompilerError(String, WorkflowMarkupSerializationException)

Initializes a new instance of the WorkflowCompilerError class. Initializes the instance to define the source file name and WorkflowMarkupSerializationException.

WorkflowCompilerError(String, Int32, Int32, String, String)

Initializes a new instance of the WorkflowCompilerError class. Includes initialization for several properties which define the error.

WorkflowCompilerError()

Initializes a new instance of the WorkflowCompilerError class.

public WorkflowCompilerError();

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

WorkflowCompilerError(String, WorkflowMarkupSerializationException)

Initializes a new instance of the WorkflowCompilerError class. Initializes the instance to define the source file name and WorkflowMarkupSerializationException.

public WorkflowCompilerError(string fileName, System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationException exception);

Parameters

fileName
String

A string that contains the name of the source file that has the error.

exception
WorkflowMarkupSerializationException

The WorkflowMarkupSerializationException to associate with this instance.

Exceptions

exception is a null reference (Nothing in Visual Basic).

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

WorkflowCompilerError(String, Int32, Int32, String, String)

Initializes a new instance of the WorkflowCompilerError class. Includes initialization for several properties which define the error.

public WorkflowCompilerError(string fileName, int line, int column, string errorNumber, string errorText);

Parameters

fileName
String

A string containing the name of the source file that has the error.

line
Int32

An integer representing the line number of the error.

column
Int32

An integer representing the column position of the start of the error.

errorNumber
String

A string that contains the error number.

errorText
String

A string that contains text which describes the error.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1