Skip to content

M_CodeJam_PerfTests_Running_Messages_Message__ctor

andrewvk edited this page Nov 8, 2016 · 2 revisions

Message Constructor

Initializes a new instance of the Message class.

Namespace: CodeJam.PerfTests.Running.Messages
Assembly: CodeJam.PerfTests (in CodeJam.PerfTests.dll) Version: 1.1.0.0 (1.1.0.0)

Syntax

C#

public Message(
	int runNumber,
	int runMessageNumber,
	TimeSpan elapsed,
	MessageSource messageSource,
	MessageSeverity messageSeverity,
	string messageText
)

VB

Public Sub New ( 
	runNumber As Integer,
	runMessageNumber As Integer,
	elapsed As TimeSpan,
	messageSource As MessageSource,
	messageSeverity As MessageSeverity,
	messageText As String
)

F#

new : 
        runNumber : int * 
        runMessageNumber : int * 
        elapsed : TimeSpan * 
        messageSource : MessageSource * 
        messageSeverity : MessageSeverity * 
        messageText : string -> Message

Parameters

 

runNumber
Type: System.Int32
Number of the run the message belongs to.
runMessageNumber
Type: System.Int32
Number of the message in the run.
elapsed
Type: System.TimeSpan
Time elapsed from the start of the benchmark.
messageSource
Type: CodeJam.PerfTests.Running.Messages.MessageSource
Source of the message.
messageSeverity
Type: CodeJam.PerfTests.Running.Messages.MessageSeverity
Severity of the message.
messageText
Type: System.String
>Text of the message.

See Also

Reference

Message Class
CodeJam.PerfTests.Running.Messages Namespace

Clone this wiki locally