Share via


RetailConnSCDataBulkCopy.BeginReceivingDataFile Method [AX 2012]

Method creates a uniquely named, zero byte temporary file on disk and stores the full path of that file to string variable.

And also creates object for System.IO.FileStream with the file path, File mode as 'create' and File access as 'write'.

Syntax

public void BeginReceivingDataFile()

Run On

Server

Exceptions

Exception Condition
Error

Throws error if fail to create the file path or file stream.

Remarks

System.IO.Path, performs operations on String instances that contain file or directory path information.

System.IO.FileStream, exposes a Stream around a file, supporting both synchronous and asynchronous read and write operations.

See Also

Reference

RetailConnSCDataBulkCopy Class