Describes why a lock caused an error during an operation on an SPFile object.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
|One or more invalid arguments was passed to the Lock(SPFile.SPLockType, String, TimeSpan) method, the RefreshLock(String, TimeSpan) method, or the ConvertLock(SPFile.SPLockType, SPFile.SPLockType, String, String, TimeSpan) method.|
|The file has a shared lock.|
|The file has an exclusive lock.|
|The file is not locked.|