PostSharp6.5//API Reference/Post­Sharp.​Patterns.​Diagnostics.​Custom Namespace/ICustom­Log­Record­Builder Interface/ICustom­Log­Record­Builder Methods/ICustom­Log­Record­Builder.​Set­Execution­Time Method

ICustomLogRecordBuilder.SetExecutionTime Method

Sets an execution time to the record.

Namespace:  PostSharp.Patterns.Diagnostics.Custom
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.5.4.0 (6.5.4.0)
Syntax
C#
void SetExecutionTime(
	double executionTime,
	bool isOvertime
)

Parameters

executionTime
Type: System.Double
Execution time.
isOvertime
Type: System.Boolean
true whether the activity is overtime, otherwise false.
See Also