Click or drag to resize
DocumentLock Class
Manages locking and unlocking of a Document.
Inheritance Hierarchy
SystemObject
  DocuWare.Platform.ServerClientDocumentLock

Namespace: DocuWare.Platform.ServerClient
Assembly: DocuWare.Platform.ServerClient (in DocuWare.Platform.ServerClient.dll) Version: Version 6.7 [UNOFFICIAL BUILD]
Syntax
C#
public class DocumentLock : IDisposable

The DocumentLock type exposes the following members.

Methods
  NameDescription
Public methodCloseAsync
Unlocks the target document
Public methodDispose
Releases all resources used by the current instance of DocumentLock.
Protected methodFinalize
Finalizes this instance.
(Overrides ObjectFinalize.)
Top
Properties
  NameDescription
Public propertyException
Gets the exception in case the last lock could not be acquired. It might happen that a single lock request can not be sucessfully executet. In this case this property contains the last exception. If the next lock can be acquired successfully, the value of this property is null again.
Public propertyExceptionCount
Gets the exception count. This is the number of exceptions which occured while this instance was aquiring a lock. The last exception can be accessed by Exception.
Public propertyOnError
Gets or sets action which is called on error.
Top
See Also