Table of Contents

Method IsHeldBy

Namespace
MailFathom.Application.Jobs
Assembly
MailFathom.Application.dll

IsHeldBy(JobLeaseOwner)

Reports whether a given attempt is the one holding this lease.

public bool IsHeldBy(JobLeaseOwner user)

Parameters

user JobLeaseOwner

The attempt asking.

Returns

bool

true when the lease is held by that attempt.

Exceptions

ArgumentNullException

Thrown when user is null.