UICredentialsProvider.ICredentialsProvider.GetCredentials Method
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaração
Private Function GetCredentials ( _
uri As Uri, _
failedCredentials As ICredentials _
) As ICredentials Implements ICredentialsProvider.GetCredentials
ICredentials ICredentialsProvider.GetCredentials(
Uri uri,
ICredentials failedCredentials
)
private:
virtual ICredentials^ GetCredentials(
Uri^ uri,
ICredentials^ failedCredentials
) sealed = ICredentialsProvider::GetCredentials
private abstract GetCredentials :
uri:Uri *
failedCredentials:ICredentials -> ICredentials
private override GetCredentials :
uri:Uri *
failedCredentials:ICredentials -> ICredentials
JScript does not support explicit interface implementations.
Parameters
- uri
Type: System.Uri
- failedCredentials
Type: System.Net.ICredentials
Return Value
Type: System.Net.ICredentials
Returns ICredentials.
Implements
ICredentialsProvider.GetCredentials(Uri, ICredentials)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.