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.BooleanTrue to load cached cookies if it is possible or false to force a prompt
initialToken
Type: Microsoft.TeamFoundation.Client.CookieTokenThe initial token if available
.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.