Share via


WindowsToken.ICredentials.GetCredential Method

Namespace:  Microsoft.VisualStudio.Services.Common
Assembly:  Microsoft.VisualStudio.Services.Common (in Microsoft.VisualStudio.Services.Common.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

Implements

ICredentials.GetCredential(Uri, String)

.NET Framework Security

See Also

Reference

WindowsToken Class

Microsoft.VisualStudio.Services.Common Namespace