ImDiskDeviceSaveImageFile Method (FileStream, UInt32, ActionActionBoolean) |
Saves contents of disk device to an image file while pumping window messages between reads and writes.
Namespace: LTR.IO.ImDiskAssembly: ImDiskNet (in ImDiskNet.dll) Version: 1.0.0.0 (1.0.007.0)
Syntax [ComVisibleAttribute(false)]
public void SaveImageFile(
FileStream ImageFile,
uint BufferSize,
Action<Action<bool>> CancelAction
)
<ComVisibleAttribute(false)>
Public Sub SaveImageFile (
ImageFile As FileStream,
BufferSize As UInteger,
CancelAction As Action(Of Action(Of Boolean))
)
public:
[ComVisibleAttribute(false)]
void SaveImageFile(
FileStream^ ImageFile,
unsigned int BufferSize,
Action<Action<bool>^>^ CancelAction
)
[<ComVisibleAttribute(false)>]
member SaveImageFile :
ImageFile : FileStream *
BufferSize : uint32 *
CancelAction : Action<Action<bool>> -> unit
Parameters
- ImageFile
- Type: System.IOFileStream
FileStream object opened for writing where disk contents will be written. - BufferSize
- Type: SystemUInt32
Buffer size to use when transferring data from disk device to file. - CancelAction
- Type: SystemActionActionBoolean
A boolean flag that will be checked between buffer reads/writes. If flag is set to True
operation will be cancelled and an exception thrown.
See Also