ITypeProvider インターフェイス

定義

注意事項

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

型のコンテナーとして動作するサービスの振る舞いを定義します。

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
派生
属性

注釈

注意

ここでは、廃止された型と名前空間について説明します。 詳細については、「.NET 4.5 での Windows Workflow Foundation の新機能」を参照してください。

ITypeProviderWorkflowRuntime としてサービスに適用し、XAML (extensible Application Markup Language) ワークフローをアクティブ化するために必要なデータ型を調べることができます。

プロパティ

LocalAssembly

コンパイル時に生成されるテンポラリ アセンブリ。コンパイルするアクティブなプロジェクトの型を検証します。

ReferencedAssemblies

Type によって参照されるすべてのアセンブリのコレクションを取得します。

TypeLoadErrors

IDictionary の原因となった、Object によって識別される読み込みエラー例外の Exception を取得します。

メソッド

GetType(String)

指定したエンティティの Type を取得します。

GetType(String, Boolean)

指定したエンティティの Type を取得します。

GetTypes()

このインスタンスが認識できる各 Type を格納する配列を作成して返します。

events

TypeLoadErrorsChanged

TypeLoadErrors コレクションが変更されたときに発生します。

TypesChanged

このインターフェイスを実装する型プロバイダーの型が変更されたときに発生します。 アセンブリや CodeCompileUnit を型プロバイダーに追加したり、これらを型プロバイダーから削除したときに、このイベントが発生します。

適用対象