SPLog.Warning method (String, Object[])
指定的字串與物件清單升級記錄檔會以寫入一則警告訊息。這通電話將會造成升級工作階段包含SPLog以下列一項增加其警告計數。會包含一或多個警告升級工作階段會被視為成功。
Namespace: Microsoft.SharePoint.Upgrade
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Sub Warning ( _
format As String, _
ParamArray args As Object() _
)
'用途
Dim instance As SPLog
Dim format As String
Dim args As Object()
instance.Warning(format, args)
public void Warning(
string format,
params Object[] args
)
參數
format
Type: System.String格式字串,提供格式資訊。
args
Type: []Object陣列,其中包含要格式化的零或多個物件。