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

NodeContent.CreateDelayedWriteContent Method

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

CreateDelayedWriteContent(Stream)

Method creates read/delayed write content from the given stream. Use this method when following is desired/acceptable behavior:

  • Underlying stream does not support immediate writing to the file.
  • When NodeContent previously returned from this method is disposed and underlying stream has been changed, then the method Rebex.IO.FileSystem.ReadWriteFileSystemProvider.SaveContent in the ReadWriteFileSystemProvider is called.

Following events are raised in the FileSystemNotifier:

  • SaveContentPreview.
  • SaveContentSurrogate.
  • SaveContentCompleted.
Declaration
public static NodeContent CreateDelayedWriteContent(Stream stream)
Parameters
Type Name Description
Stream stream

Stream containing the content of the node.

Returns
Type Description
NodeContent

New read/delayed write content.

See Also
CreateReadOnlyContent(Stream)
CreateImmediateWriteContent(Stream)
In This Article
  • CreateDelayedWriteContent(Stream)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies