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
)
參數
message
Type: System.String描述錯誤的訊息。
errorCode
Type: System.Int32識別例外狀況的整數。
type
Type: Microsoft.SharePoint.SPFileCheckOutExceptionType其中一個列舉值,描述簽出的例外狀況型別。
checkoutType
Type: Microsoft.SharePoint.SPFile.SPCheckOutType其中一個列舉值,描述簽出的型別。
checkoutUser
Type: System.String使用者名稱。
請參閱
參照
SPFileCheckOutException members