XmlWriter.WriteState XmlWriter.WriteState XmlWriter.WriteState XmlWriter.WriteState Property

定義

在衍生類別中覆寫時,取得寫入器的狀態。When overridden in a derived class, gets the state of the writer.

public:
 abstract property System::Xml::WriteState WriteState { System::Xml::WriteState get(); };
public abstract System.Xml.WriteState WriteState { get; }
member this.WriteState : System.Xml.WriteState
Public MustOverride ReadOnly Property WriteState As WriteState

屬性值

其中一個 WriteState 值。One of the WriteState values.

例外狀況

在先前的非同步作業完成前呼叫了 XmlWriter 方法。An XmlWriter method was called before a previous asynchronous operation finished. 在此情況下,會擲回 InvalidOperationException 與「非同步作業已經在進行中」的訊息。In this case, InvalidOperationException is thrown with the message "An asynchronous operation is already in progress."

適用於