SPFileCheckOutException members

Represents an exception that is thrown when an error occurs during checkout of an SPFile object.

The SPFileCheckOutException type exposes the following members.

Constructors

  Name Description
Public method SPFileCheckOutException(SPFile, String, Int32, SPFileCheckOutExceptionType) Initializes a new instance of the SPFileCheckOutException class with the file, error message, error code, and exception type.
Public method SPFileCheckOutException(String, Int32, SPFileCheckOutExceptionType, SPFile.SPCheckOutType, String) Initializes a new instance of the SPFileCheckOutException class with an error message, an error code, an exception type, the checkout type, and the user.

Top

Properties

  Name Description
Public property CheckedOutBy Gets the user who has checked out the file.
Public property CheckOutType Gets a value that indicates how the file is checked out of a document library.
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 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

Methods

  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 Saves information about the exception for serialization. (Inherited from SPException.)
Public method GetType (Inherited from Exception.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Exception.)

Top

See also

Reference

SPFileCheckOutException class

Microsoft.SharePoint namespace