InstanceKey 建構函式

定義

初始化該 InstanceKey 類別的實例。

多載

名稱 Description
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。空的。

適用於

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。空的。

metadata
IDictionary<XName,InstanceValue>

包含與實例鍵或空鍵相關的元資料的字典。

適用於