public class XElement extends XContainer
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Xml.Linq.XElement
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Private.Xml.Linq, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
|
static java.lang.String |
assemblyShortName
Assembly name: System.Private.Xml.Linq
|
static java.lang.String |
className
Qualified class name: System.Xml.Linq.XElement
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
XElement() |
XElement(java.lang.Object instance)
Internal constructor.
|
XElement(XElement other)
Initializes a new instance by invoking the .NET constructor.
|
XElement(XName name)
Initializes a new instance by invoking the .NET constructor.
|
XElement(XName name,
NetObject... content)
Initializes a new instance by invoking the .NET constructor.
|
XElement(XName name,
NetObject content)
Initializes a new instance by invoking the .NET constructor.
|
XElement(XStreamingElement other)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
IEnumerable_1 |
AncestorsAndSelf()
Invokes the .NET member AncestorsAndSelf.
|
IEnumerable_1 |
AncestorsAndSelf(XName name)
Invokes the .NET member AncestorsAndSelf.
|
XAttribute |
Attribute(XName name)
Invokes the .NET member Attribute.
|
IEnumerable_1 |
Attributes()
Invokes the .NET member Attributes.
|
IEnumerable_1 |
Attributes(XName name)
Invokes the .NET member Attributes.
|
static XElement |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into XElement, a cast assert is made to check if types are compatible. |
IEnumerable_1 |
DescendantNodesAndSelf()
Invokes the .NET member DescendantNodesAndSelf.
|
IEnumerable_1 |
DescendantsAndSelf()
Invokes the .NET member DescendantsAndSelf.
|
IEnumerable_1 |
DescendantsAndSelf(XName name)
Invokes the .NET member DescendantsAndSelf.
|
XNamespace |
GetDefaultNamespace()
Invokes the .NET member GetDefaultNamespace.
|
static IEnumerable_1 |
getEmptySequence()
Gets the value of the .NET property EmptySequence.
|
XAttribute |
getFirstAttribute()
Gets the value of the .NET property FirstAttribute.
|
boolean |
getHasAttributes()
Gets the value of the .NET property HasAttributes.
|
boolean |
getHasElements()
Gets the value of the .NET property HasElements.
|
boolean |
getIsEmpty()
Gets the value of the .NET property IsEmpty.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
XAttribute |
getLastAttribute()
Gets the value of the .NET property LastAttribute.
|
XName |
getName()
Gets the value of the .NET property Name.
|
XNamespace |
GetNamespaceOfPrefix(java.lang.String prefix)
Invokes the .NET member GetNamespaceOfPrefix.
|
java.lang.String |
GetPrefixOfNamespace(XNamespace ns)
Invokes the .NET member GetPrefixOfNamespace.
|
java.lang.String |
getValue()
Gets the value of the .NET property Value.
|
static XElement |
Load(Stream stream)
Invokes the .NET member Load.
|
static XElement |
Load(Stream stream,
LoadOptions options)
Invokes the .NET member Load.
|
static XElement |
Load(java.lang.String uri)
Invokes the .NET member Load.
|
static XElement |
Load(java.lang.String uri,
LoadOptions options)
Invokes the .NET member Load.
|
static XElement |
Load(TextReader textReader)
Invokes the .NET member Load.
|
static XElement |
Load(TextReader textReader,
LoadOptions options)
Invokes the .NET member Load.
|
static XElement |
Load(XmlReader reader)
Invokes the .NET member Load.
|
static XElement |
Load(XmlReader reader,
LoadOptions options)
Invokes the .NET member Load.
|
static Task_1 |
LoadAsync(Stream stream,
LoadOptions options,
CancellationToken cancellationToken)
Invokes the .NET member LoadAsync.
|
static Task_1 |
LoadAsync(TextReader textReader,
LoadOptions options,
CancellationToken cancellationToken)
Invokes the .NET member LoadAsync.
|
static Task_1 |
LoadAsync(XmlReader reader,
LoadOptions options,
CancellationToken cancellationToken)
Invokes the .NET member LoadAsync.
|
static XElement |
Parse(java.lang.String text)
Invokes the .NET member Parse.
|
static XElement |
Parse(java.lang.String text,
LoadOptions options)
Invokes the .NET member Parse.
|
void |
RemoveAll()
Invokes the .NET member RemoveAll.
|
void |
RemoveAttributes()
Invokes the .NET member RemoveAttributes.
|
void |
ReplaceAll(NetObject... content)
Invokes the .NET member ReplaceAll.
|
void |
ReplaceAll(NetObject content)
Invokes the .NET member ReplaceAll.
|
void |
ReplaceAttributes(NetObject... content)
Invokes the .NET member ReplaceAttributes.
|
void |
ReplaceAttributes(NetObject content)
Invokes the .NET member ReplaceAttributes.
|
void |
Save(Stream stream)
Invokes the .NET member Save.
|
void |
Save(Stream stream,
SaveOptions options)
Invokes the .NET member Save.
|
void |
Save(java.lang.String fileName)
Invokes the .NET member Save.
|
void |
Save(java.lang.String fileName,
SaveOptions options)
Invokes the .NET member Save.
|
void |
Save(TextWriter textWriter)
Invokes the .NET member Save.
|
void |
Save(TextWriter textWriter,
SaveOptions options)
Invokes the .NET member Save.
|
void |
Save(XmlWriter writer)
Invokes the .NET member Save.
|
Task |
SaveAsync(Stream stream,
SaveOptions options,
CancellationToken cancellationToken)
Invokes the .NET member SaveAsync.
|
Task |
SaveAsync(TextWriter textWriter,
SaveOptions options,
CancellationToken cancellationToken)
Invokes the .NET member SaveAsync.
|
Task |
SaveAsync(XmlWriter writer,
CancellationToken cancellationToken)
Invokes the .NET member SaveAsync.
|
void |
SetAttributeValue(XName name,
NetObject value)
Invokes the .NET member SetAttributeValue.
|
void |
SetElementValue(XName name,
NetObject value)
Invokes the .NET member SetElementValue.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setName(XName Name)
Sets the value of the .NET property Name.
|
void |
SetValue(NetObject value)
Invokes the .NET member SetValue.
|
void |
setValue(java.lang.String Value)
Sets the value of the .NET property Value.
|
void |
WriteTo(XmlWriter writer)
Invokes the .NET member WriteTo.
|
Task |
WriteToAsync(XmlWriter writer,
CancellationToken cancellationToken)
Invokes the .NET member WriteToAsync.
|
Add, Add, AddFirst, AddFirst, CreateWriter, DescendantNodes, Descendants, Descendants, Element, Elements, Elements, getFirstNode, getLastNode, Nodes, RemoveNodes, ReplaceNodes, ReplaceNodesAddAfterSelf, AddAfterSelf, AddBeforeSelf, AddBeforeSelf, Ancestors, Ancestors, CompareDocumentOrder, CreateReader, CreateReader, DeepEquals, ElementsAfterSelf, ElementsAfterSelf, ElementsBeforeSelf, ElementsBeforeSelf, getDocumentOrderComparer, getEqualityComparer, getNextNode, getPreviousNode, IsAfter, IsBefore, NodesAfterSelf, NodesBeforeSelf, ReadFrom, ReadFromAsync, Remove, ReplaceWith, ReplaceWith, ToStringAddAnnotation, Annotation, Annotations, Annotations, getBaseUri, getDocument, getNodeType, getParent, RemoveAnnotations, RemoveAnnotationspublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public XElement()
throws java.lang.Throwable
java.lang.Throwablepublic XElement(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic XElement(XElement other) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException
other - the argument of type XElementjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic XElement(XName name) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
name - the argument of type XNamejava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic XElement(XName name, NetObject... content) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, OutOfMemoryException, PlatformNotSupportedException, InvalidOperationException, IndexOutOfRangeException, FormatException, ArgumentOutOfRangeException, OverflowException
name - the argument of type XNamecontent - the argument of type NetObject...java.lang.Throwable - if the .NET constructor failsNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itpublic XElement(XName name, NetObject content) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, OutOfMemoryException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, OverflowException
name - the argument of type XNamecontent - the argument of type NetObjectjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOverflowException - if the .NET member raises itpublic XElement(XStreamingElement other) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, OutOfMemoryException, IndexOutOfRangeException, FormatException, OverflowException
other - the argument of type XStreamingElementjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOverflowException - if the .NET member raises itpublic IEnumerable_1 AncestorsAndSelf() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic IEnumerable_1 AncestorsAndSelf(XName name) throws java.lang.Throwable
name - the argument of type XNamejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic XAttribute Attribute(XName name) throws java.lang.Throwable
name - the argument of type XNamejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic IEnumerable_1 Attributes() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic IEnumerable_1 Attributes(XName name) throws java.lang.Throwable
name - the argument of type XNamejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static XElement cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into XElement, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedXElement instancejava.lang.Throwable - in case of error during cast operationpublic IEnumerable_1 DescendantNodesAndSelf() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic IEnumerable_1 DescendantsAndSelf() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic IEnumerable_1 DescendantsAndSelf(XName name) throws java.lang.Throwable
name - the argument of type XNamejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic XNamespace GetDefaultNamespace() throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, OverflowException
java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOverflowException - if the .NET member raises itpublic static IEnumerable_1 getEmptySequence() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic XAttribute getFirstAttribute() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getHasAttributes()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getHasElements()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getIsEmpty()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class XContainerpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class XContainerpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class XContainernull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class XContainerpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class XContainerpublic XAttribute getLastAttribute() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic XName getName() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic XNamespace GetNamespaceOfPrefix(java.lang.String prefix) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, OverflowException
prefix - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOverflowException - if the .NET member raises itpublic java.lang.String GetPrefixOfNamespace(XNamespace ns) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
ns - the argument of type XNamespacejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic java.lang.String getValue()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArrayTypeMismatchException,
OutOfMemoryException,
IndexOutOfRangeException,
RankException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itpublic static XElement Load(Stream stream) throws java.lang.Throwable, ArgumentException, InvalidOperationException, OutOfMemoryException, PlatformNotSupportedException, XmlException, ArgumentOutOfRangeException, NotSupportedException, ArrayTypeMismatchException, OverflowException
stream - the argument of type Streamjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itXmlException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOverflowException - if the .NET member raises itpublic static XElement Load(Stream stream, LoadOptions options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException, XmlException, ArgumentOutOfRangeException, NotSupportedException, ArrayTypeMismatchException, IOException, OverflowException
stream - the argument of type Streamoptions - the argument of type LoadOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itXmlException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIOException - if the .NET member raises itOverflowException - if the .NET member raises itpublic static XElement Load(java.lang.String uri) throws java.lang.Throwable, ArgumentException, InvalidOperationException, OutOfMemoryException, PlatformNotSupportedException, XmlException, ArgumentOutOfRangeException, NotSupportedException, NotImplementedException, ArrayTypeMismatchException, OverflowException
uri - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itXmlException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itNotImplementedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOverflowException - if the .NET member raises itpublic static XElement Load(java.lang.String uri, LoadOptions options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException, XmlException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, NotImplementedException, TaskCanceledException, AggregateException, ArrayTypeMismatchException, IOException, OverflowException
uri - the argument of type java.lang.Stringoptions - the argument of type LoadOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itXmlException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itNotImplementedException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIOException - if the .NET member raises itOverflowException - if the .NET member raises itpublic static XElement Load(TextReader textReader) throws java.lang.Throwable, ArgumentException, InvalidOperationException, OutOfMemoryException, PlatformNotSupportedException, XmlException, ArgumentOutOfRangeException, OverflowException
textReader - the argument of type TextReaderjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itXmlException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itpublic static XElement Load(TextReader textReader, LoadOptions options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException, XmlException, ArgumentOutOfRangeException, OverflowException
textReader - the argument of type TextReaderoptions - the argument of type LoadOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itXmlException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itpublic static XElement Load(XmlReader reader) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, OverflowException, OutOfMemoryException
reader - the argument of type XmlReaderjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itOverflowException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static XElement Load(XmlReader reader, LoadOptions options) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, OverflowException, OutOfMemoryException
reader - the argument of type XmlReaderoptions - the argument of type LoadOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOverflowException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static Task_1 LoadAsync(Stream stream, LoadOptions options, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException
stream - the argument of type Streamoptions - the argument of type LoadOptionscancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic static Task_1 LoadAsync(TextReader textReader, LoadOptions options, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException
textReader - the argument of type TextReaderoptions - the argument of type LoadOptionscancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic static Task_1 LoadAsync(XmlReader reader, LoadOptions options, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
reader - the argument of type XmlReaderoptions - the argument of type LoadOptionscancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic static XElement Parse(java.lang.String text) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, OutOfMemoryException, PlatformNotSupportedException, XmlException, OverflowException
text - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itXmlException - if the .NET member raises itOverflowException - if the .NET member raises itpublic static XElement Parse(java.lang.String text, LoadOptions options) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, OutOfMemoryException, XmlException, OverflowException
text - the argument of type java.lang.Stringoptions - the argument of type LoadOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itXmlException - if the .NET member raises itOverflowException - if the .NET member raises itpublic void RemoveAll()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void RemoveAttributes()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void ReplaceAll(NetObject... content) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, RankException, ArgumentException, ArrayTypeMismatchException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException, NotSupportedException, OverflowException
content - the argument of type NetObject...java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArgumentException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itNotSupportedException - if the .NET member raises itOverflowException - if the .NET member raises itpublic void ReplaceAll(NetObject content) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArgumentException, ArrayTypeMismatchException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException, FormatException, NotSupportedException, OverflowException
content - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArgumentException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itNotSupportedException - if the .NET member raises itOverflowException - if the .NET member raises itpublic void ReplaceAttributes(NetObject... content) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, RankException, ArgumentException, ArrayTypeMismatchException, PlatformNotSupportedException, CultureNotFoundException, InvalidOperationException, OutOfMemoryException, NotSupportedException, OverflowException
content - the argument of type NetObject...java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArgumentException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itNotSupportedException - if the .NET member raises itOverflowException - if the .NET member raises itpublic void ReplaceAttributes(NetObject content) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArgumentException, ArrayTypeMismatchException, InvalidOperationException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, FormatException, NotSupportedException, OverflowException
content - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArgumentException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itNotSupportedException - if the .NET member raises itOverflowException - if the .NET member raises itpublic void Save(Stream stream) throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentException, OutOfMemoryException, XmlException, ArgumentOutOfRangeException, NotSupportedException, ArrayTypeMismatchException
stream - the argument of type Streamjava.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itXmlException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void Save(Stream stream, SaveOptions options) throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentException, OutOfMemoryException, XmlException, ArgumentOutOfRangeException, NotSupportedException, ArrayTypeMismatchException, RankException
stream - the argument of type Streamoptions - the argument of type SaveOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itXmlException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itRankException - if the .NET member raises itpublic void Save(java.lang.String fileName)
throws java.lang.Throwable,
InvalidOperationException,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentException,
OutOfMemoryException,
XmlException,
ArgumentOutOfRangeException,
SerializationException,
NotSupportedException,
ArrayTypeMismatchException
fileName - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itXmlException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itSerializationException - if the .NET member raises itNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void Save(java.lang.String fileName,
SaveOptions options)
throws java.lang.Throwable,
InvalidOperationException,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentException,
OutOfMemoryException,
XmlException,
ArgumentOutOfRangeException,
SerializationException,
NotSupportedException,
ArrayTypeMismatchException
fileName - the argument of type java.lang.Stringoptions - the argument of type SaveOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itXmlException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itSerializationException - if the .NET member raises itNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void Save(TextWriter textWriter) throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentException, OutOfMemoryException, XmlException, ArgumentOutOfRangeException
textWriter - the argument of type TextWriterjava.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itXmlException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic void Save(TextWriter textWriter, SaveOptions options) throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentException, OutOfMemoryException, XmlException, ArgumentOutOfRangeException, RankException, ArrayTypeMismatchException
textWriter - the argument of type TextWriteroptions - the argument of type SaveOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itXmlException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void Save(XmlWriter writer) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
writer - the argument of type XmlWriterjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic Task SaveAsync(Stream stream, SaveOptions options, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException
stream - the argument of type Streamoptions - the argument of type SaveOptionscancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic Task SaveAsync(TextWriter textWriter, SaveOptions options, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException
textWriter - the argument of type TextWriteroptions - the argument of type SaveOptionscancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic Task SaveAsync(XmlWriter writer, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
writer - the argument of type XmlWritercancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic void SetAttributeValue(XName name, NetObject value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, NotSupportedException, IndexOutOfRangeException, FormatException, ArrayTypeMismatchException, OverflowException
name - the argument of type XNamevalue - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOverflowException - if the .NET member raises itpublic void SetElementValue(XName name, NetObject value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, NotSupportedException, IndexOutOfRangeException, FormatException, ArrayTypeMismatchException, OverflowException, OutOfMemoryException
name - the argument of type XNamevalue - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOverflowException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class XContainerinstance - the new underlying objectpublic void setName(XName Name) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
Name - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic void SetValue(NetObject value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, OverflowException, OutOfMemoryException
value - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOverflowException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic void setValue(java.lang.String Value)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
OutOfMemoryException,
IndexOutOfRangeException,
FormatException,
OverflowException
Value - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOverflowException - if the .NET member raises itpublic void WriteTo(XmlWriter writer) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, OverflowException
WriteTo in class XNodewriter - the argument of type XmlWriterjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itOverflowException - if the .NET member raises itpublic Task WriteToAsync(XmlWriter writer, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
WriteToAsync in class XNodewriter - the argument of type XmlWritercancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises it