InstanceKey Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes an instance of the InstanceKey class.
Overloads
InstanceKey(Guid) |
Initializes an instance of the InstanceKey class using the GUID associated with the instance key passed. |
InstanceKey(Guid, IDictionary<XName,InstanceValue>) |
Initializes an instance of the InstanceKey class using the GUID and metadata associated with the instance key. |
InstanceKey(Guid)
Initializes an instance of the InstanceKey class using the GUID associated with the instance key passed.
public:
InstanceKey(Guid value);
public InstanceKey (Guid value);
new System.Runtime.DurableInstancing.InstanceKey : Guid -> System.Runtime.DurableInstancing.InstanceKey
Public Sub New (value As Guid)
Parameters
- value
- Guid
The GUID associated with the instance key. Must not be Guid.Empty.
Applies to
InstanceKey(Guid, IDictionary<XName,InstanceValue>)
Initializes an instance of the InstanceKey class using the GUID and metadata associated with the instance key.
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))
Parameters
- value
- Guid
The GUID associated with the instance key. Must not be Guid.Empty.
- metadata
- IDictionary<XName,InstanceValue>
The dictionary that contains metadata associated with the instance key or null.
Applies to
Зворотний зв’язок
https://aka.ms/ContentUserFeedback.
Очікується незабаром: протягом 2024 року ми будемо припиняти використання механізму реєстрації проблем у GitHub для зворотного зв’язку щодо вмісту й замінювати його новою системою зворотного зв’язку. Докладніше:Надіслати й переглянути відгук про