TfsClientCredentials Constructor (WindowsCredential, Boolean)
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, _
allowInteractive As Boolean _
)
public TfsClientCredentials(
WindowsCredential windowsCredential,
bool allowInteractive
)
public:
TfsClientCredentials(
WindowsCredential^ windowsCredential,
bool allowInteractive
)
new :
windowsCredential:WindowsCredential *
allowInteractive:bool -> TfsClientCredentials
public function TfsClientCredentials(
windowsCredential : WindowsCredential,
allowInteractive : boolean
)
Parameters
windowsCredential
Type: Microsoft.TeamFoundation.Client.WindowsCredentialThe windows credential to use for authentication
allowInteractive
Type: System.BooleanTrue if interactive prompts are allowed. Otherwise, false.
.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.