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

WorkflowCompilationContext Class

.NET Framework 4.6 and 4.5

Note: This API is now obsolete.

Provides workflow compilation options for the current compilation or validation task.

System.Object
  System.Workflow.ComponentModel.Compiler.WorkflowCompilationContext

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

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

The WorkflowCompilationContext type exposes the following members.

  NameDescription
Public propertyCheckTypesGets a value that indicates whether CheckTypes is enabled at the current scope.
Public propertyStatic memberCurrentGets the WorkflowCompilationContext that is available at the current scope.
Public propertyLanguageGets the workflow compiler options Language that is available at the current scope.
Public propertyRootNamespaceGets the workflow compiler options RootNamespace that is available at the current scope.
Top

  NameDescription
Public methodStatic memberCreateScopeInitializes a WorkflowCompilationContext class at the current scope.
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetAuthorizedTypesReturns a list of types that the compiler allows in compiled workflows.
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

NoteNote

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

This class can only be created on a scope basis, using the CreateScope method.

.NET Framework

Supported in: 4
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.
Show:
© 2015 Microsoft