处理的出站 http 请求。
命名空间: Microsoft.SharePoint.Client
程序集: Microsoft.SharePoint.Client.Silverlight(位于 Microsoft.SharePoint.Client.Silverlight.dll 中); Microsoft.SharePoint.Client.Phone(位于 Microsoft.SharePoint.Client.Phone.dll 中) Microsoft.SharePoint.Client(位于 Microsoft.SharePoint.Client.dll 中)
语法
声明
Public Shared Function Invoke ( _
context As ClientRuntimeContext, _
requestInfo As WebRequestInfo _
) As ClientResult(Of WebResponseInfo)
用法
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
)
参数
context
类型:Microsoft.SharePoint.Client.ClientRuntimeContext运行时上下文中。
requestInfo
类型:Microsoft.SharePoint.Client.WebRequestInfo包含 URL、 标题和正文中的出站请求WebRequestInfo对象。
返回值
类型:Microsoft.SharePoint.Client.ClientResult<WebResponseInfo>
包含状态代码、 标题和正文中的出站请求的响应WebResponseInfo对象。