SPLog.Error method (String, Object[])
Writes the specified string and object to the upgrade log as an error. This call will cause the upgrade session that contains the SPLog to increase its error count by one. An upgrade session that contains one or more errors is considered to have failed.
Namespace: Microsoft.SharePoint.Upgrade
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub Error ( _
format As String, _
ParamArray args As Object() _
)
'Usage
Dim instance As SPLog
Dim format As String
Dim args As Object()
instance.Error(format, args)
public void Error(
string format,
params Object[] args
)
Parameters
format
Type: System.StringA format string that supplies formatting information.
args
Type: []An Object array containing zero or more objects to format.