編輯

共用方式為


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();
public WorkflowCompilerError ();
Public Sub New ()

Applies to

WorkflowCompilerError(String, WorkflowMarkupSerializationException)

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

public:
 WorkflowCompilerError(System::String ^ fileName, System::Workflow::ComponentModel::Serialization::WorkflowMarkupSerializationException ^ exception);
public WorkflowCompilerError (string fileName, System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationException exception);
new System.Workflow.ComponentModel.Compiler.WorkflowCompilerError : string * System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationException -> System.Workflow.ComponentModel.Compiler.WorkflowCompilerError
Public Sub New (fileName As String, exception As WorkflowMarkupSerializationException)

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

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(System::String ^ fileName, int line, int column, System::String ^ errorNumber, System::String ^ errorText);
public WorkflowCompilerError (string fileName, int line, int column, string errorNumber, string errorText);
new System.Workflow.ComponentModel.Compiler.WorkflowCompilerError : string * int * int * string * string -> System.Workflow.ComponentModel.Compiler.WorkflowCompilerError
Public Sub New (fileName As String, line As Integer, column As Integer, errorNumber As String, errorText As String)

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