VssCredentials 构造函数 (WindowsCredential, FederatedCredential, CredentialPromptType, TaskScheduler)
命名空间: Microsoft.VisualStudio.Services.Common
程序集: Microsoft.VisualStudio.Services.Common(在 Microsoft.VisualStudio.Services.Common.dll 中)
语法
声明
Public Sub New ( _
windowsCredential As WindowsCredential, _
federatedCredential As FederatedCredential, _
promptType As CredentialPromptType, _
scheduler As TaskScheduler _
)
public VssCredentials(
WindowsCredential windowsCredential,
FederatedCredential federatedCredential,
CredentialPromptType promptType,
TaskScheduler scheduler
)
参数
- windowsCredential
类型:Microsoft.VisualStudio.Services.Common.WindowsCredential
- federatedCredential
类型:Microsoft.VisualStudio.Services.Common.FederatedCredential
- scheduler
类型:System.Threading.Tasks.TaskScheduler
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。