ITypeProvider ITypeProvider ITypeProvider ITypeProvider Interface

Definition

Warning

This API is now obsolete.

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

public interface class ITypeProvider
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public interface ITypeProvider
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 LocalAssembly LocalAssembly LocalAssembly

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

ReferencedAssemblies ReferencedAssemblies ReferencedAssemblies ReferencedAssemblies

Gets a collection of all assemblies referenced by the Type.

TypeLoadErrors TypeLoadErrors TypeLoadErrors TypeLoadErrors

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

Methods

GetType(String) GetType(String) GetType(String) GetType(String)

Gets the Type of the named entity.

GetType(String, Boolean) GetType(String, Boolean) GetType(String, Boolean) GetType(String, Boolean)

Gets the Type of the named entity.

GetTypes() GetTypes() GetTypes() GetTypes()

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

Events

TypeLoadErrorsChanged TypeLoadErrorsChanged TypeLoadErrorsChanged TypeLoadErrorsChanged

Occurs when the collection TypeLoadErrors is modified.

TypesChanged TypesChanged TypesChanged 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