HasInheritedProperty(object)
Determines whether 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 whether 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 | The HttpContext. |
Returns
| Type | Description |
|---|---|
| bool |
|