Open sandboxFocus

Method HasInheritedProperty

HasInheritedProperty(object)

Determines if the current LogEventMetadata contains any inherited property. The implementation of this method must not allocate heap memory.

Declaration
public override sealed bool HasInheritedProperty(object data)
Parameters
Type Name Description
object data

The raw CLR object, typically Data

Returns
Type Description
bool
Overrides

HasInheritedProperty(HttpContext)

Determines if a given HttpContext defines inherited properties. The default implementation returns true if the request has a Correlation-Context header.

Declaration
protected virtual bool HasInheritedProperty(HttpContext httpContext)
Parameters
Type Name Description
HttpContext httpContext
Returns
Type Description
bool