共用方式為


SPLog.Info method (String, Exception)

寫入指定的郵件及例外升級的事件記錄檔以僅資訊訊息。

Namespace:  Microsoft.SharePoint.Upgrade
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Sub Info ( _
    output As String, _
    exception As Exception _
)
'用途
Dim instance As SPLog
Dim output As String
Dim exception As Exception

instance.Info(output, exception)
public void Info(
    string output,
    Exception exception
)

參數

  • output
    Type: System.String

    包含會寫入至事件記錄訊息的字串。

  • exception
    Type: System.Exception

    System.Exception物件,代表其堆疊追蹤記錄的例外狀況。

請參閱

參照

SPLog class

SPLog members

Info overload

Microsoft.SharePoint.Upgrade namespace