Table of Contents

Class LeasedLockHolder

Namespace
Azure.Iot.Operations.Services.LeasedLock
Assembly
Azure.Iot.Operations.Services.dll

A single entity that may hold a leased lock.

public class LeasedLockHolder : IEquatable<LeasedLockHolder>
Inheritance
LeasedLockHolder
Implements
Inherited Members

Properties

Bytes

public byte[] Bytes { get; }

Property Value

byte[]

Methods

Equals(LeasedLockHolder?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(LeasedLockHolder? other)

Parameters

other LeasedLockHolder

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? other)

Parameters

other object

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

GetString()

public string GetString()

Returns

string

Operators

implicit operator LeasedLockHolder(string)

public static implicit operator LeasedLockHolder(string value)

Parameters

value string

Returns

LeasedLockHolder