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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。