Export (0) Print
Expand All

SPFileLockException members

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

The SPFileLockException type exposes the following members.

  Name Description
Public method SPFileLockException(SPFile, String, Int32, SPFileLockExceptionType) Initializes a new instance of the SPFileLockException class with the file where the error occurred, a message to describe the error, an error code, and the type of file-lock exception.
Public method SPFileLockException(String, Int32, SPFileLockExceptionType, SPFile.SPLockType, String, DateTime, String) Initializes a new instance of the SPFileLockException class with a message to describe the error, an error code, the type of file-lock exception, the type of lock, the name of the user who created the lock, the time that the lock expires, and the lock identifier (ID).
Top

  Name Description
Public property Data (Inherited from Exception.)
Public property ErrorCode Gets an integer that identifies the exception. (Inherited from SPException.)
Public property HelpLink (Inherited from Exception.)
Protected property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property LockedBy Gets the name of the user who owns the lock.
Public property LockExpires Gets the date and time that the lock expires.
Public property LockId Gets the identifier (ID) of the lock.
Public property LockType Gets the type of the lock.
Public property Message (Inherited from Exception.)
Public property NativeErrorMessage Gets the native code error message that is associated with this SPException object. (Inherited from SPException.)
Public property NativeStackTrace Gets the native code stack trace associated with this SPException object. (Inherited from SPException.)
Public property Source (Inherited from Exception.)
Public property StackTrace (Inherited from Exception.)
Public property TargetSite (Inherited from Exception.)
Public property Type Gets a value that describes why the exception has occurred.
Top

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetBaseException (Inherited from Exception.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData Populates the provided SerializationInfo object with information about the SPFileLockException. (Overrides SPException.GetObjectData(SerializationInfo, StreamingContext).)
Public method GetType (Inherited from Exception.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Exception.)
Top
Show:
© 2014 Microsoft