共用方式為


IVssServerDataProvider.ConnectAsync Method

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

Syntax

'Declaration
Function ConnectAsync ( _
    connectOptions As ConnectOptions, _
    cancellationToken As CancellationToken _
) As Task
Task ConnectAsync(
    ConnectOptions connectOptions,
    CancellationToken cancellationToken
)
Task^ ConnectAsync(
    ConnectOptions connectOptions, 
    CancellationToken cancellationToken
)
abstract ConnectAsync : 
        connectOptions:ConnectOptions * 
        cancellationToken:CancellationToken -> Task
function ConnectAsync(
    connectOptions : ConnectOptions, 
    cancellationToken : CancellationToken
) : Task

Parameters

Return Value

Type: System.Threading.Tasks.Task

.NET Framework Security

See Also

Reference

IVssServerDataProvider Interface

Microsoft.VisualStudio.Services.Client Namespace