Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

WorkflowCompilerError Class

Note: This API is now obsolete.

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


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

[ObsoleteAttribute(L"The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public ref class WorkflowCompilerError sealed : public CompilerError

The WorkflowCompilerError type exposes the following members.

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.

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.

Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringProvides a string which represents this instance. (Overrides CompilerError::ToString().)


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

.NET Framework

Supported in: 4, 3.5, 3.0
Obsolete (compiler warning) in 4.6
Obsolete (compiler warning) in 4.6
Obsolete (compiler warning) in 4.5
Obsolete (compiler warning) in 4.5.1
Obsolete (compiler warning) in 4.5.2

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