Interop 類別

定義

警告

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活動所能支援的介面類型有其限制,HandleExternalEventActivityCallExternalMethodActivity無法直接使用,但可以使用工作流程通訊活動工具(WCA.exe)建立的衍生活動。

建構函式

名稱 Description
Interop()
已淘汰.

建立一個新的類別實例 Interop

屬性

名稱 Description
ActivityMetaProperties
已淘汰.

對應於 的元資料Activity的名稱與值對集合,例如活動屬性NameWhileActivityCondition活動屬性。

ActivityProperties
已淘汰.

取得對應於輸入與輸出屬性 Activity的名稱值對集合。

ActivityType
已淘汰.

取得或設定該 Interop 活動所包含的活動類型。

CacheId
已淘汰.

取得在工作流程定義範圍內唯一且快取識別碼的識別碼。

(繼承來源 Activity)
CanInduceIdle
已淘汰.

取得或設定一個值,指示該活動是否會導致工作流程進入閒置狀態。

(繼承來源 NativeActivity)
Constraints
已淘汰.

取得一組 Constraint 可設定以驗證 的 Activity活動集合。

(繼承來源 Activity)
DisplayName
已淘汰.

取得或設定一個可選的友善名稱,用於除錯、驗證、異常處理及追蹤。

(繼承來源 Activity)
Id
已淘汰.

取得一個在工作流程定義範圍內唯一的識別碼。

(繼承來源 Activity)
Implementation
已淘汰.

活動的執行邏輯。

(繼承來源 NativeActivity)
ImplementationVersion
已淘汰.

取得或設定活動的實作版本。

(繼承來源 NativeActivity)

方法

名稱 Description
Abort(NativeActivityAbortContext)
已淘汰.

當在衍生類別中實作時,會對中止的活動採取行動。

(繼承來源 NativeActivity)
CacheMetadata(ActivityMetadata)
已淘汰.

未實作。 請改用 CacheMetadata(NativeActivityMetadata) 方法。

(繼承來源 NativeActivity)
CacheMetadata(NativeActivityMetadata)
已淘汰.

建立並驗證活動的參數、變數、子活動及活動代理的描述。

(繼承來源 NativeActivity)
Cancel(NativeActivityContext)
已淘汰.

當在衍生類別中實作時,執行邏輯以促使活動順利提前完成。

(繼承來源 NativeActivity)
Equals(Object)
已淘汰.

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
Execute(NativeActivityContext)
已淘汰.

當在衍生類別中實作時,會執行該活動的執行邏輯。

(繼承來源 NativeActivity)
GetHashCode()
已淘汰.

做為預設哈希函式。

(繼承來源 Object)
GetType()
已淘汰.

取得目前實例的 Type

(繼承來源 Object)
MemberwiseClone()
已淘汰.

建立目前 Object的淺層複本。

(繼承來源 Object)
OnCreateDynamicUpdateMap(NativeActivityUpdateMapMetadata, Activity)
已淘汰.

在為動態更新建立地圖時會觸發事件。

(繼承來源 NativeActivity)
OnCreateDynamicUpdateMap(UpdateMapMetadata, Activity)
已淘汰.

在為動態更新建立地圖時會觸發事件。

(繼承來源 NativeActivity)
ShouldSerializeDisplayName()
已淘汰.

指示該物業是否 DisplayName 應該進行序列化。

(繼承來源 Activity)
ToString()
已淘汰.

回傳 String 包含 Id 的 和 DisplayNameActivity的 a。

(繼承來源 Activity)
UpdateInstance(NativeActivityUpdateContext)
已淘汰.

更新 的 NativeActivity實例。

(繼承來源 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 如果屬性描述符沒有所有者,則回傳該活動本身。

適用於