HasPublishResults Method

Indicates whether or not a publishing plug-in has publishing results available to display to the user.


bool HasPublishResults(System.Xml.XmlDocument sessionXml);

Parameter Description

sessionXml

Session specific information for this publish session.

true if the publishing plug-in has publishing results to display; otherwise, false.

HasPublishResults is used to determine whether or not a View button appears on the summary dialog that is displayed to the user after a publishing job completes. If this method returns true, a View button appears on the summary dialog; if this method returns false, a View button will not be shown on the summary dialog. Clicking the View button causes LaunchPublishResults to be called.

Note that if HasPublishResults returns false, LaunchPublishResults is never called.

Assembly: Microsoft.WindowsLive.PublishPlugins.dll

Microsoft.WindowsLive.PublishPlugins

Show: