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 属性。

适用于