WCF-Xtensions Class Reference for .NET
MaxVocabularyStringLength Property (BasicSoapTcpBinding)






Gets and sets the maximum number of characters that a string value may contain in order to be added to the vocabulary.
Syntax
public System.int MaxVocabularyStringLength {get; set;}
public read-write property MaxVocabularyStringLength: System.Integer; 
public function get,set MaxVocabularyStringLength : System.int
public: __property System.int get_MaxVocabularyStringLength();
public: __property void set_MaxVocabularyStringLength( 
   System.int value
);
public:
property System.int MaxVocabularyStringLength {
   System.int get();
   void set (    System.int value);
}
'Declaration
 
Public Property MaxVocabularyStringLength As System.Integer
 
'Usage
 
Dim instance As BasicSoapTcpBinding
Dim value As System.Integer
 
instance.MaxVocabularyStringLength = value
 
value = instance.MaxVocabularyStringLength
Remarks

The vocabulary is used by Fast Infoset to reduce redundancy and increase compactness. All occurrences of values added to the vocabulary are removed from the document and replaced by an index to the corresponding entry in the vocabulary.

The maximum string length specifies the maximum number of characters that a string value may contain in order to be added to the vocabulary. Longer values are not added to the vocabulary. A higher limit might result in higher compactness but might also result in higher resource consumption than a lower limit.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

BasicSoapTcpBinding Class
BasicSoapTcpBinding Members

Send Feedback