Org.Apache.Http.Entity.AbstractHttpEntity.ConsumeContent Method
Does not consume anything.

Syntax

[Android.Runtime.Register("consumeContent", "()V", "GetConsumeContentHandler")]
public virtual void ConsumeContent ()

Exceptions

TypeReason
Java.IO.IOExceptionin case of an I/O problem
Java.Lang.UnsupportedOperationExceptionif a streaming subclass does not override this method

Remarks

Does not consume anything. The default implementation does nothing if Org.Apache.Http.IHttpEntity.IsStreaming returns false, and throws an exception if it returns true. This removes the burden of implementing an empty method for non-streaming entities.

[Android Documentation]

Requirements

Namespace: Org.Apache.Http.Entity
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1