共用方式為


WebRequestExecutor Members

Include Protected Members
Include Inherited Members

Provides an abstract class to issue a Web request to the server and get a response from the server.

The WebRequestExecutor type exposes the following members.

Constructors

  Name Description
Protected method WebRequestExecutor Initializes a new instance of the WebRequestExecutor class.

Top

Properties

  Name Description
Public property RequestContentType Gets or sets the content type of the current HTTP request.
Public property RequestHeaders Gets the headers of the request that will be sent to the server.
Public property RequestKeepAlive Gets a flag that indicates whether the request keeps the connection to the server alive.
Public property RequestMethod Gets or sets the method of the request.
Public property ResponseContentType Gets the content type of the response.
Public property ResponseHeaders Gets the headers of the response.
Public property StatusCode Gets the status of the response.
Public property WebRequest Gets the current HTTP request that will be sent to the server.

Top

Methods

  Name Description
Public method Dispose Releases the resources used by the WebRequestExecutor.
Public method Execute Issues the request to the server.
Public method GetRequestStream Gets the request stream.
Public method GetResponseStream Gets the response stream from the server.
Public method ToString (Inherited from Object.)

Top

See Also

Reference

WebRequestExecutor Class

Microsoft.SharePoint.Client Namespace