Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

FileSystemNotifier.SetContentSurrogate Event

Namespace: Rebex.IO.FileSystem.Notifications
Assembly: Rebex.FileSystem.dll (version 7.0.9147)

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>
In This Article
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies