Edytuj

Udostępnij za pośrednictwem


WorkflowCompilationContext Class

Definition

Caution

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

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

public ref class WorkflowCompilationContext sealed
public sealed class WorkflowCompilationContext
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class WorkflowCompilationContext
type WorkflowCompilationContext = class
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type WorkflowCompilationContext = class
Public NotInheritable Class WorkflowCompilationContext
Inheritance
WorkflowCompilationContext
Attributes

Remarks

Note

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.

Properties

CheckTypes

Gets a value that indicates whether CheckTypes is enabled at the current scope.

Current

Gets the WorkflowCompilationContext that is available at the current scope.

Language

Gets the workflow compiler options Language that is available at the current scope.

RootNamespace

Gets the workflow compiler options RootNamespace that is available at the current scope.

Methods

CreateScope(IServiceProvider)

Initializes a WorkflowCompilationContext class at the current scope.

Equals(Object)

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

(Inherited from Object)
GetAuthorizedTypes()

Returns a list of types that the compiler allows in compiled workflows.

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()

Returns a string that represents the current object.

(Inherited from Object)

Applies to