XmlDictionaryReaderQuotas Classe
Definição
Contém valores de cota configuráveis para XmlDictionaryReaders.Contains configurable quota values for XmlDictionaryReaders.
public ref class XmlDictionaryReaderQuotas sealed
public sealed class XmlDictionaryReaderQuotas
type XmlDictionaryReaderQuotas = class
Public NotInheritable Class XmlDictionaryReaderQuotas
- Herança
-
XmlDictionaryReaderQuotas
Comentários
XmlDictionary as instâncias são usadas pelo WCF ao serializar e desserializar mensagens SOAP.XmlDictionary instances are used by WCF when serializing and deserializing SOAP messages. O XmlDictionary contém pares de cadeia de caracteres/valor que são usados para diminuir o tamanho da mensagem SOAP.The XmlDictionary contains string/value pairs which are used to decrease the size of the SOAP message. Ao serializar uma mensagem, o valor é gravado no lugar da cadeia de caracteres.When serializing a message the value is written in place of the string. Ao desserializar a mensagem, o valor é lido, mas a cadeia de caracteres é gravada no objeto de mensagem.When deserializing the message the value is read but the string is written to the message object. XmlDictionaryReaderQuotas é uma classe que contém um número de cotas usadas pela XmlDictionaryReader classe.XmlDictionaryReaderQuotas is a class that contains a number of quotas used by the XmlDictionaryReader class. O recurso de segurança mais importante dos leitores de dicionário é cotas.The most important security feature of the dictionary readers is quotas. Uma instância de cotas deve ser fornecida aos métodos de fábrica do leitor de dicionário.A quotas instance must be given to the dictionary reader factory methods. O construtor sem parâmetros cria padrões "seguros" (iguais aos padrões codificados) e a classe tem uma Max propriedade estática para criar um leitor sem cotas.The parameterless constructor creates "secure" defaults (same as encoded defaults), and the class has a static Max property for creating a reader without quotas.
Construtores
| XmlDictionaryReaderQuotas() |
Cria uma nova instância dessa classe.Creates a new instance of this class. |
Propriedades
| Max |
Obtém uma instância dessa classe com todas as propriedades definidas com valores máximos.Gets an instance of this class with all properties set to maximum values. |
| MaxArrayLength |
Obtém ou define a extensão máxima permitida da matriz.Gets or sets the maximum allowed array length. |
| MaxBytesPerRead |
Obtém ou define o máximo permitido de bytes retornados para cada leitura.Gets or sets the maximum allowed bytes returned for each read. |
| MaxDepth |
Obtém ou define a profundidade máxima do nó aninhado.Gets or sets the maximum nested node depth. |
| MaxNameTableCharCount |
Obtém ou define o máximo de caracteres permitido em um nome de tabela.Gets or sets the maximum characters allowed in a table name. |
| MaxStringContentLength |
Obtém ou define o tamanho máximo da cadeia de caracteres retornada pelo leitor.Gets or sets the maximum string length returned by the reader. |
| ModifiedQuotas |
Obtém as cotas modificadas para o XmlDictionaryReaderQuotas.Gets the modified quotas for the XmlDictionaryReaderQuotas. |
Métodos
| CopyTo(XmlDictionaryReaderQuotas) |
Define as propriedades em uma instância de cotas transmitida, com base nos valores nesta instância.Sets the properties on a passed-in quotas instance, based on the values in this instance. |
| Equals(Object) |
Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object. (Herdado de Object) |
| GetHashCode() |
Serve como a função de hash padrão.Serves as the default hash function. (Herdado de Object) |
| GetType() |
Obtém o Type da instância atual.Gets the Type of the current instance. (Herdado de Object) |
| MemberwiseClone() |
Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object. (Herdado de Object) |
| ToString() |
Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object. (Herdado de Object) |