[This is preliminary documentation and subject to change.]
Gets the context value identified by the key parameter.
The string value held for the key, or a null reference if no corresponding value is found.
NoteThe MDC is deprecated and has been replaced by the Properties. The current MDC implementation forwards to the
ThreadContext.Properties.
If the key parameter does not look up to a previously defined context then null will be returned.