Discuss this help topic in CBFS Forum

OnCloseNamedStreamsEnumeration event/delegate/callback


Pascal    C++ (Lib)    C++ (VCL)    C++ (.NET)    C#    VB.NET    Java 

CallbackFileSystem     See also    


The event is fired when the OS has finished enumerating named streams of the file.


    property OnCloseNamedStreamsEnumeration : TCbFsCloseNamedStreamsEnumerationEvent;
    TCbFsCloseNamedStreamsEnumerationEvent = procedure( Sender : TObject; FileInfo: TCbFsFileInfo; EnumerationInfo: TCbFsNamedStreamsEnumerationInfo ) of object;

[C++ (Lib)]
    void (__stdcall *CbFsCloseNamedStreamsEnumerationEvent)(void* Sender, CbFsFileInfo* FileInfo, CbFsNamedStreamsEnumerationInfo* EnumerationInfo );

[C++ (VCL)]
    typedef void (__closure *TCbFsCloseNamedStreamsEnumerationEvent)( System::TObject* Sender, CbFsFileInfo* FileInfo, TCbFsNamedStreamsEnumerationInfo* EnumerationInfo );

[C++ (.NET)]
    public __delegate void CbFsCloseNamedStreamsEnumerationEvent( CallbackFileSystem^ Sender, CbFsFileInfo^ FileInfo, CbFsNamedStreamsEnumerationInfo^ EnumerationInfo );

    public void CbFsCloseNamedStreamsEnumerationEvent( CallbackFileSystem Sender, CbFsFileInfo FileInfo, CbFsNamedStreamsEnumerationInfo EnumerationInfo );

    Sub CbFsCloseNamedStreamsEnumerationEvent( ByVal Sender As CallbackFileSystem, ByVal FileInfo As TCbFsFileInfo, ByVal EnumerationInfo As CbFsNamedStreamsEnumerationInfo )

    void ICbFsEnumerateEvents.onCloseNamedStreamsEnumeration( CallbackFileSystem sender, CbFsFileInfo fileInfo, CbFsNamedStreamsEnumerationInfo enumerationInfo );


  • Sender - reference to the class that called the delegate/event handler.
  • FileInfo - information about the file, whose stream enumeration is being closed
  • EnumerationInfo - information about current enumeration


This event is fired when the OS has finished enumerating named streams of the file and requests the resources, allocated for enumeration, to be released.
Read more about contexts.

Error handling

See Error handling topic for detailed information about how to report errors, which occur in the event handlers, back to Callback File System.

See also


Discuss this help topic in CBFS Forum