WebRequestExecutor.WebRequest property

Gets the current HTTP request that will be sent to the server.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client.Runtime (in Microsoft.SharePoint.Client.Runtime.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property WebRequest As HttpWebRequest
    Get
'Usage
Dim instance As WebRequestExecutor
Dim value As HttpWebRequest

value = instance.WebRequest
public virtual HttpWebRequest WebRequest { get; }

Property value

Type: System.Net.HttpWebRequest
The current HTTP request.

Remarks

This property returns the underlying HttpWebRequest if the derived class uses it to issue the request; otherwise, this property is null.

See also

Reference

WebRequestExecutor class

WebRequestExecutor members

Microsoft.SharePoint.Client namespace