Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

ControlMessage constructor

Initializes a new instance of the ControlMessage class.

Namespace:  Microsoft.Office.Server.Search.WebControls
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
level
Type: Microsoft.Office.Server.Search.WebControls.MessageLevel
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
Show:
© 2015 Microsoft