ChangeFileId Method
Changes the Id of a cached file.
Syntax
Remarks
This method changes the Id of the cached file identified by FileId to NewFileId. Applications that use file paths as Ids may need to use this method if a path element is renamed.
This method fails with an error if no file with the specified FileId is present in the cache, or if there is already another file present in the cache with NewFileId.
.NET Standard Notes
To call this method in an asynchronous manner call ChangeFileIdAsync instead. When the method completes (or an error is encountered) the ChangeFileIdCompleted event will fire.