Język

URLConnection.ConnectAsync Method

Definition

Runs Connect() on a thread-pool thread to open the link to the resource.

public System.Threading.Tasks.Task ConnectAsync();
member this.ConnectAsync : unit -> System.Threading.Tasks.Task

Returns

A task that completes when Connect() returns.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to