Discuss this help topic in CBFS Forum

OnUnmount event/delegate/callback

Filter:

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

CallbackFileSystem     See also    

Overview

This notification event is fired after Callback File System unmounts the storage.

Declaration

[Pascal]
    property OnUnmount : TCbFsUnmountEvent;
    TCbFsUnmountEvent = procedure( Sender : TObject) of object;

[C++ (Lib)]
    void (__stdcall *CbFsUnmountEvent)(void* Sender);

[C++ (VCL)]
    typedef void (__closure *TCbFsUnmountEvent)( System::TObject* Sender);

[C++ (.NET)]
    public __delegate void CbFsMountEvent( CallbackFileSystem^ Sender);

[C#]
    public void CbFsUnmountEvent( CallbackFileSystem Sender);

[VB.NET]
    Sub CbFsUnmountEvent( ByVal Sender As CallbackFileSystem)

[Java]
    void ICbFsStorageEvents.onUnmount( CallbackFileSystem sender);

Parameters

  • Sender - reference to the class that called the delegate/event handler.

Description

This event is fired after Callback File System unmounts the storage and it becomes unavailable for the system. The event is optional - you don't have to handle it.

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. Throwing ECBFSError exception from this event handler will not cause the OS to abort the operation or display an error message to the user.

See also

OnMount    

Discuss this help topic in CBFS Forum