Datum ReduceSourceDetail Method NFX Class Library

[This is preliminary documentation and is subject to change.]

Override to set a new source value which is less-specific than existing source. ReductionLevel specifies how much detail should be lost. The function is idempotent, that is - calling more than once with the same arg does not change the state of the object. The default implementation removes all source details (unspecified source) when reductionLevel less than zero. Example: TotalBytesSent("mpx://45.12.123.19:7823 -> MySystem.Contracts.IDoSomething.SomeMethod1()") ReduceSourceDetail(0) -> yields original string ReduceSourceDetail(1) - > "MySystem.Contracts.IDoSomething.SomeMethod1()" ReduceSourceDetail(2) - > "MySystem.Contracts.IDoSomething" ReduceSourceDetail(3) - > ""

Namespace: NFX.Instrumentation
Assembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax

public virtual void ReduceSourceDetail(
	int reductionLevel
)
See Also