Click or drag to resize

ChunkedUploadSource(WikiSite, Stream) Constructor

This is preliminary documentation and is subject to change.

Initialize an instance from a Stream.

Namespace: WikiClientLibrary.Files
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.4+fbadc980737ddc9bb67116900ecad57f84a0b241
Syntax
public ChunkedUploadSource(
	WikiSite site,
	Stream sourceStream
)

Parameters

site  WikiSite
The destination site to upload the file.
sourceStream  Stream
The seekable stream containing the file to be uploaded. The upload will be performed starting from the current position.
Exceptions
ExceptionCondition
ArgumentNullExceptionsite or sourceStream is null.
ArgumentExceptionsourceStream does not support seeking - or - sourceStream has met EOF.
See Also