SPLog.Info method (String, Exception, Object[])
寫入指定的字串、 例外狀況,並指定的物件升級的事件記錄檔以僅資訊訊息。
Namespace: Microsoft.SharePoint.Upgrade
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Sub Info ( _
format As String, _
exception As Exception, _
ParamArray args As Object() _
)
'用途
Dim instance As SPLog
Dim format As String
Dim exception As Exception
Dim args As Object()
instance.Info(format, exception, args)
public void Info(
string format,
Exception exception,
params Object[] args
)
參數
format
Type: System.String格式字串,提供格式資訊。
exception
Type: System.ExceptionSystem.Exception物件,代表此郵件的例外狀況。
args
Type: []Object陣列,其中包含要格式化的零或多個物件。