XarArchive.Save
Save(string, XarSaveOptions)
Saves archive to destination file provided.
public void Save(string destinationFileName, XarSaveOptions saveOptions = null)
Parameter | Type | Description |
---|
destinationFileName | String | The path of the archive to be created. If the specified file name points to an existing file, it will be overwritten. |
saveOptions | XarSaveOptions | Options to save xar archive with. |
Exceptions
exception | condition |
---|
ArgumentNullException | destinationFileName is null. |
InvalidOperationException | Impossible to modify xar archive. |
See Also
Save(Stream, XarSaveOptions)
Saves archive to the stream provided.
public void Save(Stream output, XarSaveOptions saveOptions = null)
Parameter | Type | Description |
---|
output | Stream | Destination stream. |
saveOptions | XarSaveOptions | Options to save xar archive with. |
Exceptions
exception | condition |
---|
ArgumentNullException | output is null. |
ArgumentException | outputIs not writable/readable or not seekable. |
InvalidOperationException | Impossible to modify xar archive. |
See Also