LoadFromString (loadfromstring-itracemergeproperties)

Loads trace merge properties from an XML definition string.

Syntax

HRESULT LoadFromString
  ([in] BSTR bstrTraceMerge)
;

Parameters

bstrTraceMerge
[in] A string that contains the XML-formatted trace merge properties.

Return Value

The following table describes possible return values.

Return Value Description

S_OK

The function successfully loaded the properites.

E_INVALIDARG

One or more arguments are invalid. Use IParsingErrorInfo to obtain detailed error information.

E_WPRC_FAILED_TO_VALIDATE_TRACEMERGE_PROPERTIES

The library failed to validate the XML of the trace merge properties. Use IParsingErrorInfo to obtain detailed error information.

ITraceMergeProperties