InstanceLockQueryResult Constructors

Definition

Initializes an instance of the InstanceLockQueryResult class.

Overloads

InstanceLockQueryResult()

Initializes an instance of the InstanceLockQueryResult class with any empty query result set.

InstanceLockQueryResult(IDictionary<Guid,Guid>)

Initializes an instance of the InstanceLockQueryResult class and sets the InstanceOwnerIds property using the dictionary of instance IDs and instance owner IDs.

InstanceLockQueryResult(Guid, Guid)

Initializes an instance of the InstanceLockQueryResult class and sets the InstanceOwnerIds property using a dictionary that contains the single query result represented by the instance ID and the instance owner ID.

InstanceLockQueryResult()

Initializes an instance of the InstanceLockQueryResult class with any empty query result set.

C#
public InstanceLockQueryResult();

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

InstanceLockQueryResult(IDictionary<Guid,Guid>)

Initializes an instance of the InstanceLockQueryResult class and sets the InstanceOwnerIds property using the dictionary of instance IDs and instance owner IDs.

C#
public InstanceLockQueryResult(System.Collections.Generic.IDictionary<Guid,Guid> instanceOwnerIds);

Parameters

instanceOwnerIds
IDictionary<Guid,Guid>

A dictionary that represents the query result set. The dictionary has instance ID as the key and ID of the instance owner who owns the lock on the instance as the value.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

InstanceLockQueryResult(Guid, Guid)

Initializes an instance of the InstanceLockQueryResult class and sets the InstanceOwnerIds property using a dictionary that contains the single query result represented by the instance ID and the instance owner ID.

C#
public InstanceLockQueryResult(Guid instanceId, Guid instanceOwnerId);

Parameters

instanceId
Guid

The ID of the instance.

instanceOwnerId
Guid

The ID of the instance owner who owns the lock on the instance represented by the instanceId parameter.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1