As an example, consider that if the BackgroundProcessing property is left at its default value of False, and you run the Zip method, with code similar to this:
XceedZip1.FilesToProcess = "c:\my files\*"
...set other Xceed Zip properties
ResultCode = XceedZip1.Zip
...the rest of your code follows here
…the complete zip operation will be completed, then the ResultCode variable will be set to a value indicating whether or not the operation was successful, and then the rest of your code will be executed.
However, if the BackgroundProcessing property is set to True, running the same code above will cause the zip operation to start, will immediately set the ResultCode variable equal to xerProcessStarted , will execute the rest of the code after the "ResultCode = XceedZip1.Zip" line, and later, when the zipping operation has completed, will trigger the ProcessCompleted event to let you know that it is finished, and to provide you with the result code (via the xResult parameter).