Edit

Share via


MimeParameterWriter.InitializeRequest(WebRequest, Object[]) Method

Definition

When overridden in a derived class, initializes the out-going HTTP request.

public:
 virtual void InitializeRequest(System::Net::WebRequest ^ request, cli::array <System::Object ^> ^ values);
public virtual void InitializeRequest (System.Net.WebRequest request, object[] values);
abstract member InitializeRequest : System.Net.WebRequest * obj[] -> unit
override this.InitializeRequest : System.Net.WebRequest * obj[] -> unit
Public Overridable Sub InitializeRequest (request As WebRequest, values As Object())

Parameters

request
WebRequest

The out-going request, where the WebRequest class allows transport protocols besides HTTP.

values
Object[]

The Web method parameter values.

Remarks

Of the classes derived from MimeParameterWriter, only HtmlFormParameterWriter implements the MimeParameterWriter method.

Applies to