Delen via


BasicAuthCredential Constructor (BasicAuthToken)

Initializes a new BasicAuthCredential instance with the specified token.

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

Syntax

'Declaration
Public Sub New ( _
    initialToken As BasicAuthToken _
)
public BasicAuthCredential(
    BasicAuthToken initialToken
)
public:
BasicAuthCredential(
    BasicAuthToken^ initialToken
)
new : 
        initialToken:BasicAuthToken -> BasicAuthCredential
public function BasicAuthCredential(
    initialToken : BasicAuthToken
)

Parameters

.NET Framework Security

See Also

Reference

BasicAuthCredential Class

BasicAuthCredential Overload

Microsoft.TeamFoundation.Client Namespace