Java.Net.URLConnection.Connect Method
Opens a connection to the resource.

Syntax

[Android.Runtime.Register("connect", "()V", "GetConnectHandler")]
public abstract void Connect ()

Exceptions

TypeReason
Java.IO.IOExceptionif an error occurs while connecting to the resource.

Remarks

Opens a connection to the resource. This method will not reconnect to a resource after the initial connection has been closed.

[Android Documentation]

Requirements

Namespace: Java.Net
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1