• Performance
  • API Documentation
  • Source Code
Show / Hide Table of Contents
  • InSync
    • AsyncSynchronized
    • AsyncSynchronized<T>
    • GuardedValue<T>
    • IAsyncSynchronized<T>
    • IBareAsyncLock
    • IBareAsyncLock<T>
    • IBareLock
    • IBareLock<T>
    • ISynchronized<T>
    • LockException
    • MultiSync
    • ReaderSynchronized<TRead>
    • ReaderWriterSynchronized<T>
    • ReaderWriterSynchronized<TWrite, TRead>
    • ReaderWriterSynchronizedFactory
    • Synchronized
    • Synchronized<T>
    • TimingMethod
    • UnlockException
    • UpgradeableReaderSynchronized<TRead>
    • ValueContainer<T>

Class UnlockException

The exception that is thrown when an exception is thrown releasing some locks. There may be another exception thrown before releasing the locks. It is stored in .

Inheritance
System.Object
UnlockException
Namespace: InSync
Assembly: InSync.dll
Syntax
public class UnlockException : Exception

Constructors

UnlockException(Exception)

Initializes a UnlockException with the specified exception thrown during releasing the lock.

Declaration
public UnlockException(Exception exceptionDuringUnlock)
Parameters
Type Name Description
Exception exceptionDuringUnlock

The exception thrown when releasing the lock.

UnlockException(IDictionary<Int32, Exception>)

Initializes a UnlockException with the specified exceptions thrown before and during releasing the locks.

Declaration
public UnlockException(IDictionary<int, Exception> exceptionsDuringUnlock)
Parameters
Type Name Description
IDictionary<System.Int32, Exception> exceptionsDuringUnlock

The exceptions thrown during releasing the locks at the indices in the collection of the locks.

UnlockException(Nullable<Exception>, Exception)

Initializes a UnlockException with the specified exception thrown during releasing the lock.

Declaration
public UnlockException(Exception? priorException, Exception exceptionDuringUnlock)
Parameters
Type Name Description
System.Nullable<Exception> priorException

The exception thrown before releasing the lock.

Exception exceptionDuringUnlock

The exception thrown when releasing the lock.

UnlockException(Nullable<Exception>, IDictionary<Int32, Exception>)

Initializes a UnlockException with the specified exceptions thrown before and during releasing the locks.

Declaration
public UnlockException(Exception? priorException, IDictionary<int, Exception> exceptionsDuringUnlock)
Parameters
Type Name Description
System.Nullable<Exception> priorException

The exception thrown before releasing the locks.

IDictionary<System.Int32, Exception> exceptionsDuringUnlock

The exceptions thrown during releasing the locks at the indices in the collection of the locks.

Properties

InnerExceptions

The exceptions thrown during releasing the locks at the indices in the collection of the locks.

Declaration
public IReadOnlyDictionary<int, Exception> InnerExceptions { get; }
Property Value
Type Description
IReadOnlyDictionary<System.Int32, Exception>

PriorException

The exception thrown before releasing the locks.

Declaration
public Exception? PriorException { get; }
Property Value
Type Description
System.Nullable<Exception>

Methods

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String
In This Article
Back to top Generated by DocFX