Interop 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
The WF3 Types are deprecated. Instead, please use the new WF4 Types from System.Activities.*
一個管理工作流程中執行的 Activity 活動。
public ref class Interop sealed : System::Activities::NativeActivity, System::ComponentModel::ICustomTypeDescriptor
public sealed class Interop : System.Activities.NativeActivity, System.ComponentModel.ICustomTypeDescriptor
[System.Obsolete("The WF3 Types are deprecated. Instead, please use the new WF4 Types from System.Activities.*")]
public sealed class Interop : System.Activities.NativeActivity, System.ComponentModel.ICustomTypeDescriptor
type Interop = class
inherit NativeActivity
interface ICustomTypeDescriptor
[<System.Obsolete("The WF3 Types are deprecated. Instead, please use the new WF4 Types from System.Activities.*")>]
type Interop = class
inherit NativeActivity
interface ICustomTypeDescriptor
Public NotInheritable Class Interop
Inherits NativeActivity
Implements ICustomTypeDescriptor
- 繼承
- 屬性
- 實作
備註
Note
除非工作流程的專案.Net Framework 4設定為 Target Framework ,否則該Interop活動不會出現在工作流程設計工具箱中。
Warning
由於Interop活動所能支援的介面類型有其限制,HandleExternalEventActivity和CallExternalMethodActivity無法直接使用,但可以使用工作流程通訊活動工具(WCA.exe)建立的衍生活動。
建構函式
| 名稱 | Description |
|---|---|
| Interop() |
已淘汰.
建立一個新的類別實例 Interop 。 |
屬性
| 名稱 | Description |
|---|---|
| ActivityMetaProperties |
已淘汰.
對應於 的元資料Activity的名稱與值對集合,例如活動屬性Name或WhileActivityCondition活動屬性。 |
| ActivityProperties |
已淘汰.
取得對應於輸入與輸出屬性 Activity的名稱值對集合。 |
| ActivityType |
已淘汰.
取得或設定該 Interop 活動所包含的活動類型。 |
| CacheId |
已淘汰.
取得在工作流程定義範圍內唯一且快取識別碼的識別碼。 (繼承來源 Activity) |
| CanInduceIdle |
已淘汰.
取得或設定一個值,指示該活動是否會導致工作流程進入閒置狀態。 (繼承來源 NativeActivity) |
| Constraints |
已淘汰.
取得一組 Constraint 可設定以驗證 的 Activity活動集合。 (繼承來源 Activity) |
| DisplayName |
已淘汰.
取得或設定一個可選的友善名稱,用於除錯、驗證、異常處理及追蹤。 (繼承來源 Activity) |
| Id |
已淘汰.
取得一個在工作流程定義範圍內唯一的識別碼。 (繼承來源 Activity) |
| Implementation |
已淘汰.
活動的執行邏輯。 (繼承來源 NativeActivity) |
| ImplementationVersion |
已淘汰.
取得或設定活動的實作版本。 (繼承來源 NativeActivity) |
方法
明確介面實作
| 名稱 | Description |
|---|---|
| ICustomTypeDescriptor.GetAttributes() |
已淘汰.
回傳包含 Activity屬性集合。 |
| ICustomTypeDescriptor.GetClassName() |
已淘汰.
回傳包含 Activity的類別名稱。 |
| ICustomTypeDescriptor.GetComponentName() |
已淘汰.
回傳包含 Activity的名稱。 |
| ICustomTypeDescriptor.GetConverter() |
已淘汰.
回傳包含 Activity的 的相關類型轉換器。 |
| ICustomTypeDescriptor.GetDefaultEvent() |
已淘汰.
回傳包含 Activity的預設事件。 |
| ICustomTypeDescriptor.GetDefaultProperty() |
已淘汰.
回傳包含 Activity的預設屬性。 |
| ICustomTypeDescriptor.GetEditor(Type) |
已淘汰.
回傳包含 Activity的編輯器。 |
| ICustomTypeDescriptor.GetEvents() |
已淘汰.
回傳包含 Activity的事件集合。 |
| ICustomTypeDescriptor.GetEvents(Attribute[]) |
已淘汰.
回傳所包含 Activity 事件集合,使用指定的屬性陣列作為過濾器。 |
| ICustomTypeDescriptor.GetProperties() |
已淘汰.
回傳包含 Activity的屬性集合。 |
| ICustomTypeDescriptor.GetProperties(Attribute[]) |
已淘汰.
回傳包含屬性的集合 Activity ,並使用指定的屬性陣列作為過濾器。 |
| ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor) |
已淘汰.
回傳指定屬性描述符的擁有者,或 Interop 如果屬性描述符沒有所有者,則回傳該活動本身。 |