Editar

Partilhar via


SoapEnvelopeProcessingElement Constructors

Definition

Initializes a new instance of the SoapEnvelopeProcessingElement class.

Overloads

SoapEnvelopeProcessingElement()

Initializes a new instance of the SoapEnvelopeProcessingElement class.

SoapEnvelopeProcessingElement(Int32)

Initializes a new instance of the SoapEnvelopeProcessingElement class using the provided Int32 value.

SoapEnvelopeProcessingElement(Int32, Boolean)

Gets or sets the timeout period used to determine whether to terminate requests to mitigate against denial of service attacks.

SoapEnvelopeProcessingElement()

Initializes a new instance of the SoapEnvelopeProcessingElement class.

public:
 SoapEnvelopeProcessingElement();
public SoapEnvelopeProcessingElement ();
Public Sub New ()

Applies to

SoapEnvelopeProcessingElement(Int32)

Initializes a new instance of the SoapEnvelopeProcessingElement class using the provided Int32 value.

public:
 SoapEnvelopeProcessingElement(int readTimeout);
public SoapEnvelopeProcessingElement (int readTimeout);
new System.Web.Services.Configuration.SoapEnvelopeProcessingElement : int -> System.Web.Services.Configuration.SoapEnvelopeProcessingElement
Public Sub New (readTimeout As Integer)

Parameters

readTimeout
Int32

The value of the timeout period.

Applies to

SoapEnvelopeProcessingElement(Int32, Boolean)

Gets or sets the timeout period used to determine whether to terminate requests to mitigate against denial of service attacks.

public:
 SoapEnvelopeProcessingElement(int readTimeout, bool strict);
public SoapEnvelopeProcessingElement (int readTimeout, bool strict);
new System.Web.Services.Configuration.SoapEnvelopeProcessingElement : int * bool -> System.Web.Services.Configuration.SoapEnvelopeProcessingElement
Public Sub New (readTimeout As Integer, strict As Boolean)

Parameters

readTimeout
Int32

The time to wait before terminating requests to Read() and MoveToContent().

strict
Boolean

Whether to throw an exception if the serializer encounters elements or attributes that were not in the original schema. For details, see the IsStrict property.

Applies to