C-DEngine 5.105

TSM Constructor (String, String, eMsgLevel, String)

Creates a new TSM with a given Engine and Message Text, Message Level and Payload ATTENTION: Only use this Constructor for WriteToLog() entries. ATTENTION: This constructor does NOT set the SID by default to avoid performance hit for SID creation To change this behavior you have to set "DisableFastTSMs=true" in the App.config

Namespace:  nsCDEngine.BaseClasses
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public TSM(
	string tEngine,
	string pText,
	eMsgLevel pLevel,
	string pPayload
)
Public Sub New ( _
	tEngine As String, _
	pText As String, _
	pLevel As eMsgLevel, _
	pPayload As String _
)
public:
TSM(
	String^ tEngine, 
	String^ pText, 
	eMsgLevel^ pLevel, 
	String^ pPayload
)

Parameters

tEngine
Type: String
Engine Name
pText
Type: String
Command Text
pLevel
Type: nsCDEngine.BaseClasses..::..eMsgLevel
Priority Level of the Message
pPayload
Type: String
Payload string for the message