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

StartContentAsync() protected méthode

protected StartContentAsync ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task
        protected async Task StartContentAsync()
        {
            await FlushElementAsync().ConfigureAwait(false);
            if (_depth == 0)
                throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.Format(SR.XmlIllegalOutsideRoot)));
        }