Java.Net.URLConnection.UseCaches Property
Returns the value of the flag which specifies whether this URLConnection allows to use caches.

Syntax

[get: Android.Runtime.Register("getUseCaches", "()Z", "GetGetUseCachesHandler")]
[set: Android.Runtime.Register("setUseCaches", "(Z)V", "GetSetUseCaches_ZHandler")]
public virtual bool UseCaches { get; set; }

Value

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalStateExceptionif this method attempts to change the flag after the connection has been established.
Java.Lang.IllegalStateExceptionif this method attempts to change the flag after the connection has been established.
Java.Lang.IllegalStateExceptionif this method attempts to change the flag after the connection has been established.
Java.Lang.IllegalStateExceptionif this method attempts to change the flag after the connection has been established.
Java.Lang.IllegalStateExceptionif this method attempts to change the flag after the connection has been established.

Remarks

Get method documentation [Android Documentation]

Returns the value of the flag which specifies whether this URLConnection allows to use caches.

Set method documentation [Android Documentation]

Sets the flag indicating whether this connection allows to use caches or not. This method can only be called prior to the connection establishment.

Requirements

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