共用方式為


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

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

WebRequestExecutorFactory Members

Microsoft.SharePoint.Client Namespace