bool ComObjectsProfilerClean()
The ComObjectsProfilerClean operation removes records with correct object work from the memory leaks detection log.
The operation does not parameters and is called before the ComObjectsProfilerFinish operation. After executing the ComObjectsProfilerClean operation, the log contains only the records with memory leaks.
Below is the example of clearing the memory leaks detection log.
{
"ComObjectsProfilerClean" : ""
}
{
"ComObjectsProfilerCleanResult" : "1"
}
public static bool ComObjectsProfilerClean()
{
var somClient = new SomPortTypeClient(); //Proxy object for operation execution
var tArg = new ComObjectsProfilerClean();
// Remove unnecessary information from the memory leaks detection log
var result = somClient.ComObjectsProfilerClean(tArg);
return result;
}
See also: