OnCloseNamedStreamsEnumeration event/delegate/callback


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

CBFSConnect     See also    


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


    property OnCloseNamedStreamsEnumeration : TCBCloseNamedStreamsEnumerationEvent;
    TCBCloseNamedStreamsEnumerationEvent = procedure( Sender : TObject; FileInfo: TCBFileInfo; EnumerationInfo: TCBNamedStreamsEnumerationInfo ) of object;

[C++ (Lib)]
    void (__stdcall *CBCloseNamedStreamsEnumerationEvent)(void* Sender, CBFileInfo* FileInfo, CBNamedStreamsEnumerationInfo* EnumerationInfo );

[C++ (VCL)]
    typedef void (__closure *TCBCloseNamedStreamsEnumerationEvent)( System::TObject* Sender, CBFileInfo* FileInfo, TCBNamedStreamsEnumerationInfo* EnumerationInfo );

[C++ (.NET)]
    public __delegate void CBCloseNamedStreamsEnumerationEvent( CBFSConnect^ Sender, CBFileInfo^ FileInfo, CBNamedStreamsEnumerationInfo^ EnumerationInfo );

    public void CBCloseNamedStreamsEnumerationEvent( CBFSConnect Sender, CBFileInfo FileInfo, CBNamedStreamsEnumerationInfo EnumerationInfo );

    Sub CBCloseNamedStreamsEnumerationEvent( ByVal Sender As CBFSConnect, ByVal FileInfo As TCBFileInfo, ByVal EnumerationInfo As CBNamedStreamsEnumerationInfo )

    void ICbFsEnumerateEvents.onCloseNamedStreamsEnumeration( CBFSConnect sender, CBFileInfo fileInfo, CBNamedStreamsEnumerationInfo 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 CBFS Connect.

See also