ReportMessage ReportMessage ReportMessage Constructors

Definition

Overloads

ReportMessage() ReportMessage() ReportMessage()

Initializes a new instance of the ReportMessage object.

ReportMessage(String, MessageSeverity, String, String, String, String) ReportMessage(String, MessageSeverity, String, String, String, String) ReportMessage(String, MessageSeverity, String, String, String, String)

Constructs a new ReportMessageobject with one or more of the following parameters defined.

ReportMessage() ReportMessage() ReportMessage()

Initializes a new instance of the ReportMessage object.

public:
 ReportMessage();
public ReportMessage ();
Public Sub New ()

ReportMessage(String, MessageSeverity, String, String, String, String) ReportMessage(String, MessageSeverity, String, String, String, String) ReportMessage(String, MessageSeverity, String, String, String, String)

Constructs a new ReportMessageobject with one or more of the following parameters defined.

public:
 ReportMessage(System::String ^ title, Microsoft::SharePoint::Publishing::Administration::MessageSeverity severity, System::String ^ phase, System::String ^ description, System::String ^ recommendation, System::String ^ objectName);
public ReportMessage (string title, Microsoft.SharePoint.Publishing.Administration.MessageSeverity severity, string phase, string description, string recommendation, string objectName);
Public Sub New (title As String, severity As MessageSeverity, phase As String, description As String, recommendation As String, objectName As String)
Parameters
title
String String String

The title of the report message.

severity
MessageSeverity MessageSeverity MessageSeverity

The MessageSeverity object that is associated with this report message.

phase
String String String

The job phase in which this message occurs.

description
String String String

The report message text.

recommendation
String String String

A string that contains this message recommendation.

objectName
String String String

The name of the object with which this message is associated.

Applies to