Name | Description | |
---|---|---|
LockFileExtension | The file extension of lock files used to lock repositories.. |
The following tables list the members exposed by InterprocessLock.
Name | Description | |
---|---|---|
LockFileExtension | The file extension of lock files used to lock repositories.. |
Name | Description | |
---|---|---|
ActualLock | The actual holder of the lock if we are a secondary lock on the same thread, or ourselves if we hold the file lock. | |
DisposeProxyOnClose | Gets or sets the dispose-on-close policy for the lock proxy associated with this lock instance. | |
FullName | The full (unique) name for the lock, combining the index path and lock name. | |
IndexPath | The name of the repository this lock controls access to. | |
IsDisposed | Whether this lock instance has been disposed (and thus does not hold any locks). | |
IsExpired | Reports if this request instance has expired and should be skipped over because no thread is still waiting on it. | |
IsSecondaryLock | Reports if this lock object holds a secondary lock rather than the actual lock (or no lock). | |
LockName | The name of the lock within the repository. | |
Owner | The object that is currently holding the lock. | |
OwningThread | The thread that created and waits on this request and owns the lock when this request is granted. | |
OwningThreadId | The ManagedThreadId of the thread that owns this lock instance. | |
WaitForLock | Whether this lock request is willing to wait (finite) for the lock or return immediately if not available. | |
WaitTimeout | The clock time at which this lock request wants to stop waiting for the lock and give up. (MaxValue once the lock is granted, MinValue if the lock was denied.) |
Name | Description | |
---|---|---|
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |