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.
Constructors
Name | Description | |
---|---|---|
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. | |
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
Properties
Name | Description | |
---|---|---|
Data | (Inherited from Exception.) | |
ErrorCode | Gets an integer that identifies the exception. (Inherited from SPException.) | |
HelpLink | (Inherited from Exception.) | |
HResult | (Inherited from Exception.) | |
InnerException | (Inherited from Exception.) | |
LockedBy | Gets the name of the user who owns the lock. | |
LockExpires | Gets the date and time that the lock expires. | |
LockId | Gets the identifier (ID) of the lock. | |
LockType | Gets the type of the lock. | |
Message | (Inherited from Exception.) | |
NativeErrorMessage | Gets the native code error message that is associated with this SPException object. (Inherited from SPException.) | |
NativeStackTrace | Gets the native code stack trace associated with this SPException object. (Inherited from SPException.) | |
Source | (Inherited from Exception.) | |
StackTrace | (Inherited from Exception.) | |
TargetSite | (Inherited from Exception.) | |
Type | Gets a value that describes why the exception has occurred. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetBaseException | (Inherited from Exception.) | |
GetHashCode | (Inherited from Object.) | |
GetObjectData | Populates the provided SerializationInfo object with information about the SPFileLockException. (Overrides SPException.GetObjectData(SerializationInfo, StreamingContext).) | |
GetType | (Inherited from Exception.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Exception.) |
Top