SPLog.Warning Method

Include Protected Members
Include Inherited Members

Writes the specified warning or exception to the upgrade event log.

Overload List

  Name Description
Public method Warning(String) Writes the specified string to the upgrade log as a warning. This call will cause the upgrade session that contains the SPLog to increase its warning count by one. An upgrade session that contains one or more warnings is considered to be successful.
Public method Warning(String, Exception) Writes the specified string and exception to the upgrade log as a warning. This call will cause the upgrade session that contains the SPLog to increase its warning count by one. An upgrade session that contains one or more warnings is considered to be successful.
Public method Warning(String, []) Writes the specified string and list of objects to the upgrade log as a warning. This call will cause the upgrade session that contains the SPLog to increase its warning count by one. An upgrade session that contains one or more warnings is considered to be successful.
Public method Warning(String, Exception, []) Writes the specified string, exception and list of objects to the upgrade log as a warning. This call will cause the upgrade session that contains the SPLog to increase its warning count by one. An upgrade session that contains one or more warnings is considered to be successful.

Top

See Also

Reference

SPLog Class

SPLog Members

Microsoft.SharePoint.Upgrade Namespace