Partager via


WindowsToken.ICredentials.GetCredential Method

Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Syntax

'Declaration
Private Function GetCredential ( _
    uri As Uri, _
    authType As String _
) As NetworkCredential Implements ICredentials.GetCredential
NetworkCredential ICredentials.GetCredential(
    Uri uri,
    string authType
)
private:
virtual NetworkCredential^ GetCredential(
    Uri^ uri, 
    String^ authType
) sealed = ICredentials::GetCredential
private abstract GetCredential : 
        uri:Uri * 
        authType:string -> NetworkCredential  
private override GetCredential : 
        uri:Uri * 
        authType:string -> NetworkCredential
JScript does not support explicit interface implementations.

Parameters

Return Value

Type: System.Net.NetworkCredential
Returns NetworkCredential.

Implements

ICredentials.GetCredential(Uri, String)

.NET Framework Security

See Also

Reference

WindowsToken Class

Microsoft.TeamFoundation.Client Namespace