FileSystemNotifier.SetContentPreview Event
Namespace: Rebex.IO.FileSystem.Notifications
Assembly: Rebex.FileSystem.dll (version 7.0.9083)
Occurs before the FileSystemProvider updates NodeContent of the NodeBase. If you cancel the operation using the CancelOperation() method, then OperationCanceledException will be thrown.
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("SetContentPreview event is obsolete. Use SaveContentPreview event instead.", false)]
public event EventHandler<PreviewSetContentEventArgs> SetContentPreview
Returns
Type | Description |
---|---|
EventHandler<PreviewSetContentEventArgs> |