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

NodeContent.CreateImmediateWriteContent Method

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

CreateImmediateWriteContent(Stream)

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

  • Stream supports immediate writing to the file (e. g. FileStream).
  • SaveContent method in ReadWriteFileSystemProvider is NEVER called. All data are written immediately using the suitable stream write methods.

Following events are NOT raised in the FileSystemNotifier:

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

Stream containing the content of the node.

Returns
Type Description
NodeContent

New read/immediate write content.

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