(SPFile, String, Int32, SPFileCheckOutExceptionType) del constructor SPFileCheckOutException
Inicializa una nueva instancia de la clase SPFileCheckOutException con el archivo, el mensaje de error, el código de error y el tipo de excepción.
Espacio de nombres: Microsoft.SharePoint
Ensamblado: Microsoft.SharePoint (en Microsoft.SharePoint.dll)
Sintaxis
'Declaración
Public Sub New ( _
file As SPFile, _
message As String, _
errorCode As Integer, _
type As SPFileCheckOutExceptionType _
)
'Uso
Dim file As SPFile
Dim message As String
Dim errorCode As Integer
Dim type As SPFileCheckOutExceptionType
Dim instance As New SPFileCheckOutException(file, message, _
errorCode, type)
public SPFileCheckOutException(
SPFile file,
string message,
int errorCode,
SPFileCheckOutExceptionType type
)
Parámetros
file
Tipo: Microsoft.SharePoint.SPFileEl archivo en el que se intentó realizar una operación de desprotección.
message
Tipo: System.StringUn mensaje que describe el error.
errorCode
Tipo: System.Int32El código de error que identifica la excepción.
type
Tipo: Microsoft.SharePoint.SPFileCheckOutExceptionTypeEl tipo de excepción de desprotección.
Vea también
Referencia
Miembros SPFileCheckOutException