共用方式為


VssClientCredentials 建構函式 (WindowsCredential, FederatedCredential, CredentialPromptType)

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

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

語法

'宣告
Public Sub New ( _
    windowsCredential As WindowsCredential, _
    federatedCredential As FederatedCredential, _
    promptType As CredentialPromptType _
)
public VssClientCredentials(
    WindowsCredential windowsCredential,
    FederatedCredential federatedCredential,
    CredentialPromptType promptType
)

參數

.NET Framework 安全性

請參閱

參考

VssClientCredentials 類別

VssClientCredentials 多載

Microsoft.VisualStudio.Services.Client 命名空間