Språk

IXmlSerializerExtensions.EndDocumentAsync(IXmlSerializer) Method

Definition

Runs EndDocument() on the thread pool.

public static System.Threading.Tasks.Task EndDocumentAsync(this Org.XmlPull.V1.IXmlSerializer self);
static member EndDocumentAsync : Org.XmlPull.V1.IXmlSerializer -> System.Threading.Tasks.Task

Parameters

self
IXmlSerializer

The serializer whose document is to be completed.

Returns

A task that completes when the synchronous end-document call has flushed the output. Close all elements explicitly before this call when using Android's built-in serializer; an open start tag can prevent the document from being completed.

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