TfsHttpRequestHelpers.PrepareWebRequest 方法 (HttpWebRequest, Guid, String, CultureInfo, TfsRequestSettings, TfsClientCredentials, IdentityDescriptor)

命名空间:  Microsoft.TeamFoundation.Client.Channels
程序集:  Microsoft.TeamFoundation.Client(在 Microsoft.TeamFoundation.Client.dll 中)

语法

声明
Public Shared Function PrepareWebRequest ( _
    webRequest As HttpWebRequest, _
    sessionId As Guid, _
    operationName As String, _
    cultureInfo As CultureInfo, _
    settings As TfsRequestSettings, _
    credentials As TfsClientCredentials, _
    impersonate As IdentityDescriptor _
) As HttpWebRequest
public static HttpWebRequest PrepareWebRequest(
    HttpWebRequest webRequest,
    Guid sessionId,
    string operationName,
    CultureInfo cultureInfo,
    TfsRequestSettings settings,
    TfsClientCredentials credentials,
    IdentityDescriptor impersonate
)

参数

返回值

类型:System.Net.HttpWebRequest

.NET Framework 安全性

请参见

参考

TfsHttpRequestHelpers 类

PrepareWebRequest 重载

Microsoft.TeamFoundation.Client.Channels 命名空间