语言

SoapEnvelopeProcessingElement 构造函数

定义

初始化 SoapEnvelopeProcessingElement 类的新实例。

重载

名称 说明
SoapEnvelopeProcessingElement()

初始化 SoapEnvelopeProcessingElement 类的新实例。

SoapEnvelopeProcessingElement(Int32)

使用提供SoapEnvelopeProcessingElement的值初始化类的新实例Int32。

SoapEnvelopeProcessingElement(Int32, Boolean)

获取或设置用于确定是否终止请求以缓解拒绝服务攻击的请求的超时期限。

SoapEnvelopeProcessingElement()

初始化 SoapEnvelopeProcessingElement 类的新实例。

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

适用于

SoapEnvelopeProcessingElement(Int32)

使用提供SoapEnvelopeProcessingElement的值初始化类的新实例Int32。

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)

参数

readTimeout
Int32

超时期限的值。

适用于

SoapEnvelopeProcessingElement(Int32, Boolean)

获取或设置用于确定是否终止请求以缓解拒绝服务攻击的请求的超时期限。

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)

参数

readTimeout
Int32

终止请求Read()MoveToContent()和终止请求之前要等待的时间。

strict
Boolean

如果序列化程序遇到不在原始架构中的元素或属性,是否引发异常。 有关详细信息,请参见 IsStrict 属性。

适用于