Loads content from the stream asynchronously.
public System.Threading.Tasks.Task LoadDocumentAsync(
System.IO.Stream ,
System.bool
)
'Declaration
Public Function LoadDocumentAsync( _
ByVal As System.IO.Stream, _
Optional ByVal As System.Boolean _
) As System.Threading.Tasks.Task
Parameters
- stream
- The stream of document to load.
- leaveOpen
- true to leave the stream open after the System.IO.BinaryReader object is disposed; otherwise, false.