Share via


WindowsCredential Constructor (ICredentials, ICredentialsProvider)

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)

Syntax

'Declaration
Public Sub New ( _
    credentials As ICredentials, _
    credentialsProvider As ICredentialsProvider _
)
public WindowsCredential(
    ICredentials credentials,
    ICredentialsProvider credentialsProvider
)
public:
WindowsCredential(
    ICredentials^ credentials, 
    ICredentialsProvider^ credentialsProvider
)
new : 
        credentials:ICredentials * 
        credentialsProvider:ICredentialsProvider -> WindowsCredential
public function WindowsCredential(
    credentials : ICredentials, 
    credentialsProvider : ICredentialsProvider
)

Parameters

.NET Framework Security

See Also

Reference

WindowsCredential Class

WindowsCredential Overload

Microsoft.TeamFoundation.Client Namespace