SoapEnvelopeProcessingInfo Class [IIS 7 and higher]
Configures a time-out that helps mitigate denial of service attacks.
The following table lists the properties exposed by the SoapEnvelopeProcessingInfo class.
A read/write sint32 value that specifies the time, in milliseconds, that the XML Web service waits before it terminates requests to the System.Xml.XmlReader.Read and System.Xml.XmlReader.MoveToContent methods. The default is 2147483647.
The time-out period is checked on every call to Read and MoveToContent and is used to mitigate denial of service attacks.
A read/write boolean value. true if the Web service serializer throws an exception if it encounters unexpected elements or attributes; otherwise, false. The default is false.
Instances of this class are exposed as members of the SoapEnvelopeProcessing property on the WebServicesSection class.
Set the Strict property to true in order to help debug interoperation scenarios. In general, when the System.Xml.Serialization.XmlSerializer class encounters an element or attribute that it does not expect, it raises an UnknownNode event and continues processing. Setting the Strict property to true instructs the Web service run-time functions to handle that event and throw an InvalidOperationException that contains a list of the expected elements and attributes.
Because exceptions are not thrown for all unexpected elements and attributes, you should not rely on the Strict property except as a debugging aid. For example, unexpected xml:lang and xml:space attributes may not cause an exception.