https://learn.microsoft.com/ja-jp/dotnet/api/system.xml.linq.xelement.saveasync?view=netstandard-2.1&viewFallbackFrom=net-10.0
XElement.SaveAsync Method (System.Xml.Linq) | Microsoft Learn
Asynchronously outputs this XElement to a Stream.
methodsystemxmllinqmicrosoft