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