TfsCredentialCacheEntry Constructor (String, NetworkCredential, String, CachedCredentialsType, Boolean)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Namespace: Microsoft.VisualStudio.Services.Common
Assembly: Microsoft.VisualStudio.Services.Common (in Microsoft.VisualStudio.Services.Common.dll)
Syntax
'Declaration
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
)
public:
TfsCredentialCacheEntry(
String^ targetName,
NetworkCredential^ credentials,
String^ comment,
CachedCredentialsType type,
bool nonInteractive
)
new :
targetName:string *
credentials:NetworkCredential *
comment:string *
type:CachedCredentialsType *
nonInteractive:bool -> TfsCredentialCacheEntry
public function TfsCredentialCacheEntry(
targetName : String,
credentials : NetworkCredential,
comment : String,
type : CachedCredentialsType,
nonInteractive : boolean
)
Parameters
- targetName
Type: System.String
- credentials
Type: System.Net.NetworkCredential
- comment
Type: System.String
- nonInteractive
Type: System.Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.