Share via


CookieCredential Constructor (Boolean, CookieToken)

Initializes a new CookieCredential instance.

Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Syntax

'Declaration
Public Sub New ( _
    useCache As Boolean, _
    initialToken As CookieToken _
)
public CookieCredential(
    bool useCache,
    CookieToken initialToken
)
public:
CookieCredential(
    bool useCache, 
    CookieToken^ initialToken
)
new : 
        useCache:bool * 
        initialToken:CookieToken -> CookieCredential
public function CookieCredential(
    useCache : boolean, 
    initialToken : CookieToken
)

Parameters

  • useCache
    Type: System.Boolean

    True to load cached cookies if it is possible or false to force a prompt

.NET Framework Security

See Also

Reference

CookieCredential Class

CookieCredential Overload

Microsoft.TeamFoundation.Client Namespace