TimingLogger.Start(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Start measuring time. If startMessage is provided (or if the constructor was
passed a message to use when starting) it will be output to the log, otherwise the measurement
start is silent. The method does anything only if no measurement is active.
public void Start(string? startMessage = default);
member this.Start : string -> unit
Parameters
- startMessage
- String
An optional start message. If timing starts and this is null, any message saved by the constructor is used.
Remarks
When the constructor starts timing immediately, it does not save its message for later calls to this method.