System.Xml.XmlBaseWriter.WriteEndElementAsync C# (CSharp) Méthode

WriteEndElementAsync() public méthode

public WriteEndElementAsync ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task
        public override Task WriteEndElementAsync()
        {
            if (IsClosed)
                ThrowClosed();

            if (_depth == 0)
                throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.Format(SR.XmlInvalidDepth, "WriteEndElement", _depth.ToString(CultureInfo.InvariantCulture))));

            return WriteEndElementAsyncImpl();
        }