ComObjectsProfilerClean

Syntax

bool ComObjectsProfilerClean()

Description

The ComObjectsProfilerClean operation removes records with correct object work from the memory leaks detection log.

Comments

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.

Example

Below is the example of clearing the memory leaks detection log.

SOAP request:

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ComObjectsProfilerClean xmlns="http://www.fsight.ru/PP.SOM.Som" />
  </s:Body>
  </s:Envelope>

SOAP response:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
  <ComObjectsProfilerCleanResult xmlns="http://www.fsight.ru/PP.SOM.Som" xmlns:q1="http://www.fsight.ru/PP.SOM.Som" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">1</ComObjectsProfilerCleanResult>
  </soapenv:Body>
  </soapenv:Envelope>

JSON request:

{
"ComObjectsProfilerClean" : ""
}

JSON response:

{
"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:

Working with Development Environment