Edit

Share via


IFileHandler.CommitAsync Method

Definition

Overloads

CommitAsync(Stream)

Writes the changes to a file stream.

CommitAsync(String)

Writes the changes to the file.

CommitAsync(Stream)

Writes the changes to a file stream.

public System.Threading.Tasks.Task<bool> CommitAsync (System.IO.Stream outputStream);
abstract member CommitAsync : System.IO.Stream -> System.Threading.Tasks.Task<bool>
Public Function CommitAsync (outputStream As Stream) As Task(Of Boolean)

Parameters

outputStream
Stream

The stream to write the changes to.

Returns

A task that represents the asynchronous commit operation. The value of the TResult parameter contains the whether there were changes to commit to the output file.

Remarks

outputStream must not be the same as inputStream used for creating the handler.

Applies to

CommitAsync(String)

Writes the changes to the file.

public System.Threading.Tasks.Task<bool> CommitAsync (string outputFilePath);
abstract member CommitAsync : string -> System.Threading.Tasks.Task<bool>
Public Function CommitAsync (outputFilePath As String) As Task(Of Boolean)

Parameters

outputFilePath
String

The file to write the changes to.

Returns

A task that represents the asynchronous commit operation. The value of the TResult parameter contains the whether there were changes to commit to the output file.

Applies to