This notification event is fired after CBFS Connect unmounts the storage.
property OnUnmount : TCBUnmountEvent;
TCBUnmountEvent = procedure( Sender : TObject) of object;
void (__stdcall *CBUnmountEvent)(void* Sender);
typedef void (__closure *TCBUnmountEvent)( System::TObject* Sender);
public __delegate void CBMountEvent( CBFSConnect^ Sender);
public void CBUnmountEvent( CBFSConnect Sender);
Sub CBUnmountEvent( ByVal Sender As CBFSConnect)
void ICbFsStorageEvents.onUnmount( CBFSConnect sender);
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.
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.