共用方式為


SPFileCheckOutException constructor (String, Int32, SPFileCheckOutExceptionType, SPFile.SPCheckOutType, String)

初始化與錯誤訊息、 錯誤程式碼、 例外狀況型別、 簽出型別和使用者的SPFileCheckOutException類別的新執行個體。

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

Syntax

'宣告
Public Sub New ( _
    message As String, _
    errorCode As Integer, _
    type As SPFileCheckOutExceptionType, _
    checkoutType As SPFile.SPCheckOutType, _
    checkoutUser As String _
)
'用途
Dim message As String
Dim errorCode As Integer
Dim type As SPFileCheckOutExceptionType
Dim checkoutType As SPFile.SPCheckOutType
Dim checkoutUser As String

Dim instance As New SPFileCheckOutException(message, _
    errorCode, type, checkoutType, checkoutUser)
public SPFileCheckOutException(
    string message,
    int errorCode,
    SPFileCheckOutExceptionType type,
    SPFile.SPCheckOutType checkoutType,
    string checkoutUser
)

參數

  • errorCode
    Type: System.Int32

    識別例外狀況的整數。

請參閱

參照

SPFileCheckOutException class

SPFileCheckOutException members

SPFileCheckOutException overload

Microsoft.SharePoint namespace