SPFileLockException Class

The exception that is thrown when a file lock causes an error to occur during an operation on an SPFile object.

Inheritance Hierarchy

System.Object
  System.Exception
    System.ApplicationException
      Microsoft.SharePoint.SPException
        Microsoft.SharePoint.SPFileLockException

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<SerializableAttribute> _
Public NotInheritable Class SPFileLockException _
    Inherits SPException
'Usage
Dim instance As SPFileLockException
[SerializableAttribute]
public sealed class SPFileLockException : SPException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SPFileLockException Members

Microsoft.SharePoint Namespace