Edit

Bagikan melalui


WorkflowCompilerError Class

Definition

Caution

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

Represents a CompilerError that is obtained during the workflow compilation process.

public ref class WorkflowCompilerError sealed : System::CodeDom::Compiler::CompilerError
[System.Serializable]
public sealed class WorkflowCompilerError : System.CodeDom.Compiler.CompilerError
[System.Serializable]
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class WorkflowCompilerError : System.CodeDom.Compiler.CompilerError
[<System.Serializable>]
type WorkflowCompilerError = class
    inherit CompilerError
[<System.Serializable>]
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type WorkflowCompilerError = class
    inherit CompilerError
Public NotInheritable Class WorkflowCompilerError
Inherits CompilerError
Inheritance
WorkflowCompilerError
Attributes

Remarks

Note

This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

Constructors

WorkflowCompilerError()

Initializes a new instance of the WorkflowCompilerError class.

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

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

WorkflowCompilerError(String, WorkflowMarkupSerializationException)

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

Properties

Column

Gets or sets the column number where the source of the error occurs.

(Inherited from CompilerError)
ErrorNumber

Gets or sets the error number.

(Inherited from CompilerError)
ErrorText

Gets or sets the text of the error message.

(Inherited from CompilerError)
FileName

Gets or sets the file name of the source file that contains the code which caused the error.

(Inherited from CompilerError)
IsWarning

Gets or sets a value that indicates whether the error is a warning.

(Inherited from CompilerError)
Line

Gets or sets the line number where the source of the error occurs.

(Inherited from CompilerError)
PropertyName

Returns the property associated with the compiler error.

UserData

Gets an IDictionary that can be accessed to read and write user-defined data associated with this instance.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Provides a string that represents this instance.

Applies to