Delen via


TfsClientCredentials Constructor (WindowsCredential, FederatedCredential, Boolean)

Initializes a new TfsClientCredentials instance with the specified windows and issued token credential.

Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Syntax

'Declaration
Public Sub New ( _
    windowsCredential As WindowsCredential, _
    federatedCredential As FederatedCredential, _
    allowInteractive As Boolean _
)
public TfsClientCredentials(
    WindowsCredential windowsCredential,
    FederatedCredential federatedCredential,
    bool allowInteractive
)
public:
TfsClientCredentials(
    WindowsCredential^ windowsCredential, 
    FederatedCredential^ federatedCredential, 
    bool allowInteractive
)
new : 
        windowsCredential:WindowsCredential * 
        federatedCredential:FederatedCredential * 
        allowInteractive:bool -> TfsClientCredentials
public function TfsClientCredentials(
    windowsCredential : WindowsCredential, 
    federatedCredential : FederatedCredential, 
    allowInteractive : boolean
)

Parameters

  • allowInteractive
    Type: System.Boolean

    True if interactive prompts are allowed. Otherwise false

.NET Framework Security

See Also

Reference

TfsClientCredentials Class

TfsClientCredentials Overload

Microsoft.TeamFoundation.Client Namespace