Resolves the storage driver registered for a provider's ServerDriverKey and instantiates it.
This is the ONE place a ServerDriverKey becomes a driver object. It exists because the failure
mode it replaces was so expensive: ClassFactory.CreateInstance does not return null for an
unregistered key — it falls back to the anchor base class — so an unresolvable key used to yield
a FileStorageBase whose every method is undefined. Nothing complained until some distant
subsystem called one, producing driver.GetObject is not a function with no mention of storage
configuration, the provider, or the key. TryCreateInstance reports resolution EXPLICITLY, so a
configuration problem is reported here, as a configuration problem, naming the key.
Resolves the storage driver registered for a provider's
ServerDriverKeyand instantiates it.This is the ONE place a
ServerDriverKeybecomes a driver object. It exists because the failure mode it replaces was so expensive:ClassFactory.CreateInstancedoes not returnnullfor an unregistered key — it falls back to the anchor base class — so an unresolvable key used to yield aFileStorageBasewhose every method isundefined. Nothing complained until some distant subsystem called one, producingdriver.GetObject is not a functionwith no mention of storage configuration, the provider, or the key.TryCreateInstancereports resolution EXPLICITLY, so a configuration problem is reported here, as a configuration problem, naming the key.