共用方式為


TfsClientCredentials 建構函式 (WindowsCredential, FederatedCredential, Boolean)

使用指定的視窗的新 TfsClientCredentials 執行個體和發行權杖的認證。

命名空間:  Microsoft.TeamFoundation.Client
組件:  Microsoft.TeamFoundation.Client (在 Microsoft.TeamFoundation.Client.dll 中)

語法

'宣告
Public Sub New ( _
    windowsCredential As WindowsCredential, _
    federatedCredential As FederatedCredential, _
    allowInteractive As Boolean _
)
public TfsClientCredentials(
    WindowsCredential windowsCredential,
    FederatedCredential federatedCredential,
    bool allowInteractive
)

參數

  • allowInteractive
    類型:System.Boolean
    如果互動式允許提示,則為 true。否則為 false。

.NET Framework 安全性

請參閱

參考

TfsClientCredentials 類別

TfsClientCredentials 多載

Microsoft.TeamFoundation.Client 命名空間