WebRequestExecutorFactory.CreateWebRequestExecutor Method
When overridden in a derived class, creates a Web request executor.
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client.Runtime (in Microsoft.SharePoint.Client.Runtime.dll)
Syntax
'Declaration
Public MustOverride Function CreateWebRequestExecutor ( _
context As ClientRuntimeContext, _
requestUrl As String _
) As WebRequestExecutor
'Usage
Dim instance As WebRequestExecutorFactory
Dim context As ClientRuntimeContext
Dim requestUrl As String
Dim returnValue As WebRequestExecutor
returnValue = instance.CreateWebRequestExecutor(context, _
requestUrl)
public abstract WebRequestExecutor CreateWebRequestExecutor(
ClientRuntimeContext context,
string requestUrl
)
Parameters
context
Type: Microsoft.SharePoint.Client.ClientRuntimeContextA client runtime context used to create the Web request executor.
requestUrl
Type: System.StringA URL used to create a new WebRequest instance.
Return Value
Type: Microsoft.SharePoint.Client.WebRequestExecutor
An executor used to create a Web request executor.
Remarks
This method is an abstract method.
See Also
Reference
WebRequestExecutorFactory Class