CloseFile Method

Closes a cached file.

Syntax

public void CloseFile(string fileId);
Public Sub CloseFile(ByVal FileId As String)

Remarks

This method closes the cached file identified by FileId, performing the any flushing and/or purging operations specified by the component's other properties. (To override the configured flushing and purging behaviors, use the CloseFileEx method instead.)

This method returns immediately, any flushing and/or purging operations are performed in the background.

.NET Standard Notes

To call this method in an asynchronous manner call CloseFileAsync instead. When the method completes (or an error is encountered) the CloseFileCompleted event will fire.

 
 
Copyright (c) 2020 Callback Technologies, Inc. - All rights reserved.
CBFS Cache 2020 .NET Edition - Version 20.0 [Build 7647]