SPFileCheckOutException Class

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

Inheritance Hierarchy


Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online


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


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


SPFileCheckOutException Members

Microsoft.SharePoint Namespace