WindowsPlatformService.InitWebRequest method (ClientRuntimeContext, HttpWebRequest)
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client.Runtime.Windows (in Microsoft.SharePoint.Client.Runtime.Windows.dll)
Syntax
'Declaration
Protected Overridable Sub InitWebRequest ( _
context As ClientRuntimeContext, _
request As HttpWebRequest _
)
'Usage
Dim context As ClientRuntimeContext
Dim request As HttpWebRequest
Me.InitWebRequest(context, request)
protected virtual void InitWebRequest(
ClientRuntimeContext context,
HttpWebRequest request
)
Parameters
- context
Type: Microsoft.SharePoint.Client.ClientRuntimeContext
- request
Type: System.Net.HttpWebRequest