ApplicationInsights.OwinExtensions.OperationIdContextMiddleware.TryGetIdFromHeader C# (CSharp) Method

TryGetIdFromHeader() private method

private TryGetIdFromHeader ( IOwinContext context, string &idContextKey ) : bool
context IOwinContext
idContextKey string
return bool
        private bool TryGetIdFromHeader(IOwinContext context, out string idContextKey)
        {
            idContextKey = context.Request?.Headers?.Get(_configuration.OperationIdHeaderName);
            return idContextKey != null;
        }
    }