Gets the credentials when the current credentials of the component failed to authenticate with the server.
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
- Type: System.Uri
The URI of the server.
- Type: System.Net.ICredentials
The credentials that failed to authenticate.
Return ValueType: System.Net.ICredentials
The credentials to use to authenticate with the server.
- 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.