FileSystemNotifier.SetContentSurrogate 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
[Obsolete("SetContentSurrogate event is obsolete. Use SaveContentSurrogate event instead.", false)]
public event EventHandler<SetContentEventArgs> SetContentSurrogate
Returns
Type | Description |
---|---|
EventHandler<SetContentEventArgs> |