NServiceBus.IncomingContextExtensions.GetCorrelationId C# (CSharp) Method

GetCorrelationId() static private method

static private GetCorrelationId ( this context ) : string
context this
return string
        static string GetCorrelationId(this IMessageProcessingContext context)
        {
            string str;
            return context.MessageHeaders.TryGetValue(Headers.CorrelationId, out str) ? str : null;
        }