TfsHttpRequestHelpers.PrepareWebRequest-Methode (HttpWebRequest, Guid, String, CultureInfo, TfsRequestSettings, TfsClientCredentials, IdentityDescriptor, IssuedToken%)
Namespace: Microsoft.TeamFoundation.Client.Channels
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
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, _
ByRef currentToken As IssuedToken _
) As HttpWebRequest
public static HttpWebRequest PrepareWebRequest(
HttpWebRequest webRequest,
Guid sessionId,
string operationName,
CultureInfo cultureInfo,
TfsRequestSettings settings,
TfsClientCredentials credentials,
IdentityDescriptor impersonate,
ref IssuedToken currentToken
)
Parameter
- webRequest
Typ: System.Net.HttpWebRequest
- sessionId
Typ: System.Guid
- operationName
Typ: System.String
- cultureInfo
Typ: System.Globalization.CultureInfo
- credentials
Typ: Microsoft.TeamFoundation.Client.TfsClientCredentials
- impersonate
Typ: Microsoft.TeamFoundation.Framework.Client.IdentityDescriptor
- currentToken
Typ: Microsoft.TeamFoundation.Client.IssuedToken%
Rückgabewert
Typ: System.Net.HttpWebRequest
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.