Click or drag to resize

UploadWarningCollection Class

This is preliminary documentation and is subject to change.

A collection containing the warning messages of file upload.
Inheritance Hierarchy
SystemObject
  WikiClientLibrary.InfrastructuresWikiReadOnlyDictionary
    WikiClientLibrary.FilesUploadWarningCollection

Namespace: WikiClientLibrary.Files
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public class UploadWarningCollection : WikiReadOnlyDictionary

The UploadWarningCollection type exposes the following members.

Constructors
 NameDescription
Public methodUploadWarningCollectionInitializes a new instance of the UploadWarningCollection class
Top
Properties
 NameDescription
Public propertyCount Gets the count of all properties.
(Inherited from WikiReadOnlyDictionary)
Public propertyDuplicateTitles The uploaded file has duplicate content to these titles. (duplicate)
Public propertyDuplicateVersions Uploaded file is duplicate of these versions. (duplicateversions)
Public propertyExistingAlternativeExtension File exists with different extension as the value of this property. (exists-normalized)
Public propertyIsBadFileName Target filename is invalid. (badfilename)
Public propertyIsEmptyFile The file content is empty. (emptyfile)
Public propertyIsUnwantedType The file type is of an unwanted type.
Public propertyItem Tries to get the value of the specified property.
(Inherited from WikiReadOnlyDictionary)
Public propertyKeysGets an ICollectionT containing the keys of the IDictionaryTKey, TValue.
(Inherited from WikiReadOnlyDictionary)
Public propertyTitleExists A file with the same title already exists. (exists)
Public propertyValuesGets an ICollectionT containing the values in the IDictionaryTKey, TValue.
(Inherited from WikiReadOnlyDictionary)
Public propertyWasContentDeleted The file content is a duplicate of a deleted file. (duplicate-archive)
Public propertyWasTitleDeleted The file with the specified title was previously deleted. (was-deleted)
Top
Methods
 NameDescription
Public methodContainsKeyDetermines whether the IDictionaryTKey, TValue contains an element with the specified key.
(Inherited from WikiReadOnlyDictionary)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodStatic memberFormatWarning Try to convert the specified warning code and context into a user-friendly warning message.
Public methodGetBooleanValue Gets the Boolean value by property name.
(Inherited from WikiReadOnlyDictionary)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetInt32Value(String) Gets the Int32 value by property name. This overload raises exception for missing key.
(Inherited from WikiReadOnlyDictionary)
Public methodGetInt32Value(String, Int32) Gets the Int32 value by property name. A default value can be provided in case the specified key does not exist.
(Inherited from WikiReadOnlyDictionary)
Public methodGetInt64Value(String) Gets the Int64 value by property name. This overload raises exception for missing key.
(Inherited from WikiReadOnlyDictionary)
Public methodGetInt64Value(String, Int64) Gets the Int64 value by property name. A default value can be provided in case the specified key does not exist.
(Inherited from WikiReadOnlyDictionary)
Public methodGetStringValue Gets the String value by property name.
(Inherited from WikiReadOnlyDictionary)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodOnDeserialized
(Overrides WikiReadOnlyDictionaryOnDeserialized)
Public methodToString Gets the formatted warning messages, one warning per line.
(Overrides ObjectToString)
Public methodTryGetValueGets the value associated with the specified key.
(Inherited from WikiReadOnlyDictionary)
Top
See Also