This documentation is archived and is not being maintained.

ITypeProvider Interface

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

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

public interface class ITypeProvider

The ITypeProvider type exposes the following members.

  NameDescription
Public propertyLocalAssemblyTemporary assembly that is generated during the compilation process to validate the types in the active project that is being compiled.
Public propertyReferencedAssembliesGets a collection of all assemblies referenced by the Type.
Public propertyTypeLoadErrorsGets an IDictionary of load error exceptions keyed by the Object causing the Exception.
Top

  NameDescription
Public methodGetType(String)Gets the Type of the named entity.
Public methodGetType(String, Boolean)Gets the Type of the named entity.
Public methodGetTypesCreates and returns an array which contains each Type known to this instance.
Top

  NameDescription
Public eventTypeLoadErrorsChangedOccurs when the collection TypeLoadErrors is modified.
Public eventTypesChangedOccurs 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.
Top

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

.NET Framework

Supported in: 4, 3.5, 3.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: