다음을 통해 공유


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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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