VssConnection.ConnectAsync Method
Namespace: Microsoft.VisualStudio.Services.Client
Assembly: Microsoft.VisualStudio.Services.Client (in Microsoft.VisualStudio.Services.Client.dll)
Syntax
'Declaration
Public Function ConnectAsync ( _
cancellationToken As CancellationToken _
) As Task
public Task ConnectAsync(
CancellationToken cancellationToken
)
public:
Task^ ConnectAsync(
CancellationToken cancellationToken
)
member ConnectAsync :
cancellationToken:CancellationToken -> Task
public function ConnectAsync(
cancellationToken : CancellationToken
) : Task
Parameters
- 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.