You are currently browsing legacy 3.0 version of documentation. Click here to switch to the newest 5.0 version.
GetKeyAsync is used to retrieve an object stored as a configuration item in RavenFS.
Task<T> GetKeyAsync<T>(string key);
|key||string||The configuration name|
|Task<T>||A task that represents the asynchronous operation. The task result is the deserialized object of type T.|
FileDescription desc = await store .AsyncFilesCommands .Configuration .GetKeyAsync<FileDescription>("descriptions/intro.avi");