共用方式為


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 命名空間