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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om