Editar

Compartilhar via


MimeParameterWriter.UsesWriteRequest Property

Definition

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

public:
 virtual property bool UsesWriteRequest { bool get(); };
public virtual bool UsesWriteRequest { get; }
member this.UsesWriteRequest : bool
Public Overridable ReadOnly Property UsesWriteRequest As Boolean

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