WebRequestExecutor 成员

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

WebRequestExecutor 类型公开以下成员。

构造函数

  名称 说明
受保护的方法 WebRequestExecutor Initializes a new instance of the WebRequestExecutor class.

页首

属性

  名称 说明
公共属性 RequestContentType Gets or sets the content type of the current HTTP request.
公共属性 RequestHeaders Gets the headers of the request that will be sent to the server.
公共属性 RequestKeepAlive Gets a flag that indicates whether the request keeps the connection to the server alive.
公共属性 RequestMethod Gets or sets the method of the request.
公共属性 ResponseContentType Gets the content type of the response.
公共属性 ResponseHeaders Gets the headers of the response.
公共属性 StatusCode Gets the status of the response.
公共属性 WebRequest Gets the current HTTP request that will be sent to the server.

页首

方法

  名称 说明
公共方法 Dispose Releases the resources used by the WebRequestExecutor.
公共方法 Execute Issues the request to the server.
公共方法 GetRequestStream Gets the request stream.
公共方法 GetResponseStream Gets the response stream from the server.
公共方法 ToString (从 Object 继承。)

页首

另请参阅

引用

WebRequestExecutor 类

Microsoft.SharePoint.Client 命名空间