FileSystemNotifier.SaveContentSurrogate Event
Namespace: Rebex.IO.FileSystem.Notifications
Assembly: Rebex.FileSystem.dll (version 7.0.9083)
Occurs before the FileSystemProvider updates NodeContent of the NodeBase. You can register event handler, which overrides default implementation of the operation in the FileSystemProvider and provides own result for the operation.
This event is raised only for NodeContent created using the CreateDelayedWriteContent(Stream) method.
When the virtual file system is used in the FileServer component, then the server session, which contains information about the user and the active connection, can be accessed using Current property in the handler of this event.
Syntax
public event EventHandler<SaveContentEventArgs> SaveContentSurrogate
Returns
Type | Description |
---|---|
EventHandler<SaveContentEventArgs> |