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
- connectOptions
Type: Microsoft.VisualStudio.Services.WebApi.ConnectOptions
- cancellationToken
Type: System.Threading.CancellationToken
Return Value
Type: System.Threading.Tasks.Task
.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.