ControlMessage constructor
SharePoint 2013
Initializes a new instance of the ControlMessage class.
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
public ControlMessage( string header, MessageLevel level, int code, string type, string messageDetails, string messageDetailsForViewers, string stackTrace, string correlationID, bool showInEditModeOnly, bool showForViewerUsers, bool encodeDetails )
Parameters
- header
- Type: System.String
- code
- Type: System.Int32
- type
- Type: System.String
- messageDetails
- Type: System.String
- messageDetailsForViewers
- Type: System.String
- stackTrace
- Type: System.String
- correlationID
- Type: System.String
- showInEditModeOnly
- Type: System.Boolean
- showForViewerUsers
- Type: System.Boolean
- encodeDetails
- Type: System.Boolean