Class LockTimeoutException
A lock acquisition (shared or exclusive) exceeded its deadline. Always transient — the resource is presumably available later.
public class LockTimeoutException : TyphonTimeoutException, ISerializable
- Inheritance
-
LockTimeoutException
- Implements
- Inherited Members
Constructors
LockTimeoutException(string, TimeSpan)
Creates a new LockTimeoutException for the specified resource.
public LockTimeoutException(string resourceName, TimeSpan waitDuration)
Parameters
resourceNamestringName or path of the resource that could not be locked.
waitDurationTimeSpanHow long the caller waited before the timeout fired.
Properties
ResourceName
Name or path of the resource that could not be locked.
public string ResourceName { get; }