Click or drag to resize

UploadResult Class

This is preliminary documentation and is subject to change.

Contains the result from server after an upload operation.
Inheritance Hierarchy
SystemObject
  WikiClientLibrary.FilesUploadResult

Namespace: WikiClientLibrary.Files
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
[JsonContractAttribute]
public sealed class UploadResult

The UploadResult type exposes the following members.

Constructors
 NameDescription
Public methodUploadResultInitializes a new instance of the UploadResult class
Top
Properties
 NameDescription
Public propertyFileKey For Warning and Continue, the file key to be passed into the next upload attempt.
Public propertyFileRevision For a successful upload or stashing, gets the revision information for the uploaded file.
Public propertyOffset When performing chunked uploading, gets the starting offset of the next chunk.
Public propertyResultCode A brief word describing the result of the operation.
Public propertyStashErrors Gets a collection of errors during stashing the chunk or the file to be uploaded. (MW 1.29+)
Public propertyWarnings Gets a collection of warnings resulted from this upload.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToString 返回表示当前对象的字符串。
(Overrides ObjectToString)
Top
Remarks
See https://www.mediawiki.org/wiki/API:Upload .
See Also