TimingLogger(String, Boolean) Constructor
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.
Construct a TimeLogger instance and start measuring time immediately, if the startImmediately parameter is left out or set to true. If the startMessage is not null then the message is logged at the start.
public TimingLogger(string? startMessage = default, bool startImmediately = true);
new Android.Runtime.TimingLogger : string * bool -> Android.Runtime.TimingLogger
Parameters
- startMessage
- String
An optional message to use when timing starts.
- startImmediately
- Boolean
true to request an immediate start; false to leave timing stopped until Start(String) is called.
Remarks
When startImmediately is false, the constructor saves startMessage for a later start.