TfsClientCredentials Constructor (WindowsCredential)
Initializes a new TfsClientCredentials instance with the specified windows credential and default issued token credential.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public Sub New ( _
windowsCredential As WindowsCredential _
)
public TfsClientCredentials(
WindowsCredential windowsCredential
)
public:
TfsClientCredentials(
WindowsCredential^ windowsCredential
)
new :
windowsCredential:WindowsCredential -> TfsClientCredentials
public function TfsClientCredentials(
windowsCredential : WindowsCredential
)
Parameters
windowsCredential
Type: Microsoft.TeamFoundation.Client.WindowsCredentialThe windows credential to use for authentication
.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.