Delen via


VssOAuthCredential Constructor (String)

Initializes a new VssOAuthCredential instance with the provided access token.

Namespace:  Microsoft.VisualStudio.Services.Client
Assembly:  Microsoft.VisualStudio.Services.Client (in Microsoft.VisualStudio.Services.Client.dll)

Syntax

'Declaration
Public Sub New ( _
    accessToken As String _
)
public VssOAuthCredential(
    string accessToken
)
public:
VssOAuthCredential(
    String^ accessToken
)
new : 
        accessToken:string -> VssOAuthCredential
public function VssOAuthCredential(
    accessToken : String
)

Parameters

.NET Framework Security

See Also

Reference

VssOAuthCredential Class

VssOAuthCredential Overload

Microsoft.VisualStudio.Services.Client Namespace