Export (0) Print
Expand All
AclUIMode enumeration
ISPFileAlternateStreamProvider interface
SPAppDatabaseStorageState enumeration
SPClaimsOperationContext class
SPRequestUserContext class
SPTenantAppInformation class
SPTenantStore class
TenantAppUtility class
TenantSettings class
Expand Minimize

SPFileLockExceptionType enumeration

Describes why a lock caused an error during an operation on an SPFile object.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public enum SPFileLockExceptionType

Member nameDescription
BadLockArgumentsOne 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.
SharedLockExistsThe file has a shared lock.
ExclusiveLockExistsThe file has an exclusive lock.
NoLockExistsThe file is not locked.

The values of this enumeration describe why a lock caused an error to occur during an operation on a file. An error can occur because there is a lock on the file, because there is no lock on the file, or because invalid parameters are used to create or update a lock.

© 2014 Microsoft