This documentation is archived and is not being maintained.
WindowsCredential Constructor (ICredentials, ICredentialsProvider)
Visual Studio 2013
Initializes a new WindowsCredential instance using the specified network credentials and fallback credentials provider.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
public:
WindowsCredential(
ICredentials^ credentials,
ICredentialsProvider^ credentialsProvider
)
Parameters
- credentials
- Type: System.Net::ICredentials
The windows credentials which should be used for authentication
- credentialsProvider
- Type: Microsoft.TeamFoundation.Client::ICredentialsProvider
The windows credentials provider which should be used for authentication if the default credentials fail
- 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.
Show: