MimeParameterWriter.UsesWriteRequest Property

Definition

Gets a value that indicates whether Web method parameter values are serialized to the out-going HTTP request body.

C#
public virtual bool UsesWriteRequest { get; }

Property Value

true if the Web method parameter values are serialized to the out-going HTTP request body; otherwise false.

Remarks

The UsesWriteRequest property determines whether the WriteRequest method is invoked.

The MimeParameterWriter class's implementation of UsesWriteRequest returns a value of false. The only derived class that overrides UsesWriteRequest is HtmlFormParameterWriter, whose implementation returns a value of true.

Applies to

Производ Верзије
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1