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

WriteEndAttributeAsync() protected méthode

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

            if (_writeState != WriteState.Attribute)
                throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.Format(SR.XmlInvalidWriteState, "WriteEndAttribute", WriteState.ToString())));

            return WriteEndAttributeAsyncImpl();
        }