Export (0) Print
Expand All

WorkflowCompilerError Class

Note: This API is now obsolete.

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]
[ObsoleteAttribute("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class WorkflowCompilerError : 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.)
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().)
Top

NoteNote

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.5.3

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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:
© 2014 Microsoft