InstanceKey 建構函式

定義

初始化 InstanceKey 類別的執行個體。

多載

InstanceKey(Guid)

使用與已傳遞的執行個體索引鍵相關聯的 GUID,初始化 InstanceKey 類別的執行個體。

InstanceKey(Guid, IDictionary<XName,InstanceValue>)

使用與執行個體索引鍵相關聯的 GUID 和中繼資料,初始化 InstanceKey 類別的執行個體。

InstanceKey(Guid)

使用與已傳遞的執行個體索引鍵相關聯的 GUID,初始化 InstanceKey 類別的執行個體。

public:
 InstanceKey(Guid value);
public InstanceKey (Guid value);
new System.Runtime.DurableInstancing.InstanceKey : Guid -> System.Runtime.DurableInstancing.InstanceKey
Public Sub New (value As Guid)

參數

value
Guid

與執行個體索引鍵相關聯的 GUID。 不得為 Guid.Empty。

適用於

InstanceKey(Guid, IDictionary<XName,InstanceValue>)

使用與執行個體索引鍵相關聯的 GUID 和中繼資料,初始化 InstanceKey 類別的執行個體。

public:
 InstanceKey(Guid value, System::Collections::Generic::IDictionary<System::Xml::Linq::XName ^, System::Runtime::DurableInstancing::InstanceValue ^> ^ metadata);
public InstanceKey (Guid value, System.Collections.Generic.IDictionary<System.Xml.Linq.XName,System.Runtime.DurableInstancing.InstanceValue> metadata);
new System.Runtime.DurableInstancing.InstanceKey : Guid * System.Collections.Generic.IDictionary<System.Xml.Linq.XName, System.Runtime.DurableInstancing.InstanceValue> -> System.Runtime.DurableInstancing.InstanceKey
Public Sub New (value As Guid, metadata As IDictionary(Of XName, InstanceValue))

參數

value
Guid

與執行個體索引鍵相關聯的 GUID。 不得為 Guid.Empty。

metadata
IDictionary<XName,InstanceValue>

包含與執行個體索引鍵或 null 相關聯之中繼資料的字典。

適用於