Share via


SPLog.Info method (String, Exception)

Writes the specified message and exception to the upgrade event log as an information-only message.

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

Syntax

'Declaration
Public Sub Info ( _
    output As String, _
    exception As Exception _
)
'Usage
Dim instance As SPLog
Dim output As String
Dim exception As Exception

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

Parameters

  • output
    Type: System.String

    A string containing the message that will be written to the event log.

  • exception
    Type: System.Exception

    A System.Exception object that represents the exception whose stack trace is logged.

See also

Reference

SPLog class

SPLog members

Info overload

Microsoft.SharePoint.Upgrade namespace