Java.Net.ConnectException Class
A ConnectException is thrown if a connection cannot be established to a remote host on a specific port.

See Also: ConnectException Members

Syntax

[Android.Runtime.Register("java/net/ConnectException", DoNotGenerateAcw=true)]
public class ConnectException : SocketException

Remarks

A ConnectException is thrown if a connection cannot be established to a remote host on a specific port.

Most applications should not catch this exception; it is more robust to catch the superclass SocketException.

[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