TfsHttpRequestHelpers.PrepareWebRequest 方法 (HttpWebRequest, TfsConnection, String, TfsRequestSettings, IssuedToken%)
命名空间: Microsoft.TeamFoundation.Client.Channels
程序集: Microsoft.TeamFoundation.Client(在 Microsoft.TeamFoundation.Client.dll 中)
语法
声明
Public Shared Function PrepareWebRequest ( _
webRequest As HttpWebRequest, _
connection As TfsConnection, _
operationName As String, _
settings As TfsRequestSettings, _
ByRef currentToken As IssuedToken _
) As HttpWebRequest
public static HttpWebRequest PrepareWebRequest(
HttpWebRequest webRequest,
TfsConnection connection,
string operationName,
TfsRequestSettings settings,
ref IssuedToken currentToken
)
参数
- webRequest
类型:System.Net.HttpWebRequest
- connection
类型:Microsoft.TeamFoundation.Client.TfsConnection
- operationName
类型:System.String
- currentToken
类型:Microsoft.TeamFoundation.Client.IssuedToken%
返回值
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。