SPFileCheckOutException class

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

Inheritance hierarchy

System.Object
  System.Exception
    System.ApplicationException
      Microsoft.SharePoint.SPException
        Microsoft.SharePoint.SPFileCheckOutException

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

Syntax

'Declaration
Public NotInheritable Class SPFileCheckOutException _
    Inherits SPException
'Usage
Dim instance As SPFileCheckOutException
public sealed class SPFileCheckOutException : SPException

Remarks

This exception is thrown when any file operation cannot be completed due to the checkout state of the file; for example, when the Delete() method is called on an SPFile object that is checked out to another user.

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

SPFileCheckOutException members

Microsoft.SharePoint namespace