Rediger

Del via


InstanceKey Constructors

Definition

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