public bool Valid ;

Description

Indicates whether ProfilerRecorder is associated with a valid Profiler marker or counter.

Returns true if ProfilerRecorder is associated with a valid Profiler marker or counter.

False is also returned in cases if ProfilerMarker or ProfilerCounter hasn't been yet created. Use Valid property to determine if sample data can be used.