This documentation is archived and is not being maintained.

WorkflowCompilerError Class

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

System::Object
  System.CodeDom.Compiler::CompilerError
    System.Workflow.ComponentModel.Compiler::WorkflowCompilerError

Namespace:  System.Workflow.ComponentModel.Compiler
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

[SerializableAttribute]
public ref class WorkflowCompilerError sealed : public CompilerError

The WorkflowCompilerError type exposes the following members.

  NameDescription
Public methodWorkflowCompilerError()Initializes a new instance of the WorkflowCompilerError class.
Public methodWorkflowCompilerError(String, WorkflowMarkupSerializationException)Initializes a new instance of the WorkflowCompilerError class. Initializes the instance to define the source file name and WorkflowMarkupSerializationException.
Public methodWorkflowCompilerError(String, Int32, Int32, String, String)Initializes a new instance of the WorkflowCompilerError class. Includes initialization for several properties which define the error.
Top

  NameDescription
Public propertyColumnGets or sets the column number where the source of the error occurs. (Inherited from CompilerError.)
Public propertyErrorNumberGets or sets the error number. (Inherited from CompilerError.)
Public propertyErrorTextGets or sets the text of the error message. (Inherited from CompilerError.)
Public propertyFileNameGets or sets the file name of the source file that contains the code which caused the error. (Inherited from CompilerError.)
Public propertyIsWarningGets or sets a value that indicates whether the error is a warning. (Inherited from CompilerError.)
Public propertyLineGets or sets the line number where the source of the error occurs. (Inherited from CompilerError.)
Public propertyPropertyNameReturns the property associated with the compiler error.
Public propertyUserDataGets an IDictionary which can be accessed to read and write user-defined data associated with this instance.
Top

  NameDescription
Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringProvides a string which represents this instance. (Overrides CompilerError::ToString().)
Top

.NET Framework

Supported in: 4, 3.5, 3.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: