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
- uri
Type: System.Uri
- authType
Type: System.String
Return Value
Type: System.Net.NetworkCredential
Implements
ICredentials.GetCredential(Uri, String)
.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.