OnUnmount event/delegate/callback

Filter:

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

CBFSConnect     See also    

Overview

This notification event is fired after CBFS Connect unmounts the storage.

Declaration

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

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

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

[C++ (.NET)]
    public __delegate void CBMountEvent( CBFSConnect^ Sender);

[C#]
    public void CBUnmountEvent( CBFSConnect Sender);

[VB.NET]
    Sub CBUnmountEvent( ByVal Sender As CBFSConnect)

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

Parameters

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

Description

This event is fired after CBFS Connect 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 CBFS Connect. Throwing ECBFSConnectError 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