TfsCredentialCacheEntry 构造函数 (String, NetworkCredential, String, CachedCredentialsType, Boolean)
命名空间: Microsoft.TeamFoundation.Client
程序集: Microsoft.TeamFoundation.Client(在 Microsoft.TeamFoundation.Client.dll 中)
语法
声明
Public Sub New ( _
targetName As String, _
credentials As NetworkCredential, _
comment As String, _
type As CachedCredentialsType, _
nonInteractive As Boolean _
)
public TfsCredentialCacheEntry(
string targetName,
NetworkCredential credentials,
string comment,
CachedCredentialsType type,
bool nonInteractive
)
参数
- targetName
类型:System.String
- credentials
类型:System.Net.NetworkCredential
- comment
类型:System.String
- nonInteractive
类型:System.Boolean
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。