Class BackupStoreLockedException
Another writer holds the backup store's lock. Retrying later may succeed.
public sealed class BackupStoreLockedException : BackupException, ISerializable
- Inheritance
-
BackupStoreLockedException
- Implements
- Inherited Members
Constructors
BackupStoreLockedException(string, int, string, DateTimeOffset)
Creates the failure.
public BackupStoreLockedException(string storePath, int holderPid, string holderMachine, DateTimeOffset holderSince)
Parameters
storePathstringThe store directory.
holderPidintThe holder's process id, or
0when it could not be read.holderMachinestringThe holder's machine, or
nullwhen it could not be read.holderSinceDateTimeOffsetWhen the holder took the lock, or MinValue when unknown.
Properties
HolderMachine
The holder's machine, or null when unknown.
public string HolderMachine { get; }
Property Value
HolderPid
The holder's process id, or 0 when unknown.
public int HolderPid { get; }
Property Value
HolderSince
When the holder took the lock, or MinValue when unknown.
public DateTimeOffset HolderSince { get; }
Property Value
IsTransient
Hint: true if this failure is temporary and retrying may succeed. The engine does NOT retry automatically — this is informational for callers. Default is false — subclasses must explicitly opt in to transience.
public override bool IsTransient { get; }
Property Value
StorePath
The store directory.
public string StorePath { get; }