ITypeProvider 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
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
- 衍生
- 屬性
備註
Note
此數據會討論已過時的類型和命名空間。 欲了解更多資訊,請參閱 Windows Workflow Foundation 4.5 中的
ITypeProvider 可以推送為 WorkflowRuntime 一種服務,用以發現啟動可擴充應用程式標記語言(XAML)工作流程所需的資料型態。
屬性
| 名稱 | Description |
|---|---|
| LocalAssembly |
已淘汰.
在編譯過程中產生的臨時組合語言,用來驗證正在編譯的活躍專案中的型別。 |
| ReferencedAssemblies |
已淘汰.
取得所有由 Type. |
| TypeLoadErrors |
已淘汰.
會觸發 IDictionary 載入錯誤異常 Object ,並由 觸發 Exception。 |
方法
| 名稱 | Description |
|---|---|
| GetType(String, Boolean) |
已淘汰.
取得指定實體的 。Type |
| GetType(String) |
已淘汰.
取得指定實體的 。Type |
| GetTypes() |
已淘汰.
建立並回傳一個陣列,包含該實例已知的每個 Type 。 |
事件
| 名稱 | Description |
|---|---|
| TypeLoadErrorsChanged |
已淘汰.
當集合 TypeLoadErrors 被修改時會發生。 |
| TypesChanged |
已淘汰.
當實作此介面的型別提供者型別改變時,會發生這種情況。 這可能發生在 CodeCompileUnit 組件或從型別提供者中新增或移除時。 |