Interface ITableauFileXmlStream
Interface that represents a read/write stream to a Tableau XML file.
Inherited Members
Namespace: Tableau.Migration.Content.Files
Assembly: Tableau.Migration.dll
Syntax
public interface ITableauFileXmlStream : IAsyncDisposable
Properties
XmlContent
Gets a read/write stream to the XML content.
Declaration
Stream XmlContent { get; }
Property Value
| Type | Description |
|---|---|
| Stream |
Methods
GetXmlAsync(CancellationToken)
Gets the currently loaded XML of the file, parsing the file if necessary. Changes to the XML will be automatically saved before publishing.
Declaration
Task<XDocument> GetXmlAsync(CancellationToken cancel)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancel | The cancellation token to obey. |
Returns
| Type | Description |
|---|---|
| Task<XDocument> | The XML document. |