SetAsync Method SetAsync(TKey, TValue) Sets key to value. This method should be preferred over PutAsync(TKey, TValue) to reduce network footprint if the existing value map to key is not required. Declaration Task SetAsync(TKey key, TValue value) Parameters TKey key The key to be set. TValue value The value to be map to key. Returns Task