Edit

Share via


ITypeProvider Interface

Definition

Caution

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

Defines the behavior of a service that acts as a container of types.

public interface class ITypeProvider
public interface ITypeProvider
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public interface ITypeProvider
type ITypeProvider = interface
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type ITypeProvider = interface
Public Interface ITypeProvider
Derived
Attributes

Remarks

Note

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

ITypeProvider can be pushed as a WorkflowRuntime service to discover data types that are necessary for extensible Application Markup Language (XAML) workflow activation.

Properties

LocalAssembly

Temporary assembly that is generated during the compilation process to validate the types in the active project that is being compiled.

ReferencedAssemblies

Gets a collection of all assemblies referenced by the Type.

TypeLoadErrors

Gets an IDictionary of load error exceptions keyed by the Object causing the Exception.

Methods

GetType(String, Boolean)

Gets the Type of the named entity.

GetType(String)

Gets the Type of the named entity.

GetTypes()

Creates and returns an array which contains each Type known to this instance.

Events

TypeLoadErrorsChanged

Occurs when the collection TypeLoadErrors is modified.

TypesChanged

Occurs when the types in the type provider that implements this interface change. This can happen when an assembly or CodeCompileUnit is added or removed from the type provider.

Applies to