Condividi tramite


WebProxy.Invoke method

Handles an outbound http request.

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

Syntax

'Declaration
Public Shared Function Invoke ( _
    context As ClientRuntimeContext, _
    requestInfo As WebRequestInfo _
) As ClientResult(Of WebResponseInfo)
'Usage
Dim context As ClientRuntimeContext
Dim requestInfo As WebRequestInfo
Dim returnValue As ClientResult(Of WebResponseInfo)

returnValue = WebProxy.Invoke(context, _
    requestInfo)
public static ClientResult<WebResponseInfo> Invoke(
    ClientRuntimeContext context,
    WebRequestInfo requestInfo
)

Parameters

Return value

Type: Microsoft.SharePoint.Client.ClientResult<WebResponseInfo>
A WebResponseInfo object containing the status code, headers, and the body of the response to the outbound request.

See also

Reference

WebProxy class

WebProxy members

Microsoft.SharePoint.Client namespace