TrackingDataProperty.IXmlSerializable.WriteXml Method
Serializes the property key and the property value. XmlSerializer.Serialize can throw an InvalidOperationException exception and the exception should be handled by the caller who calls the serialize function on TrackingDataProperty.
Namespace: Microsoft.Rtc.Workflow.Activities
Assembly: Microsoft.Rtc.Workflow (in Microsoft.Rtc.Workflow.dll)
Syntax
'Declaration
Private Sub WriteXml ( _
writer As XmlWriter _
) Implements IXmlSerializable.WriteXml
void IXmlSerializable.WriteXml(
XmlWriter writer
)
private:
virtual void WriteXml(
XmlWriter^ writer
) sealed = IXmlSerializable::WriteXml
JavaScript does not support explicit interface implementations.
Parameters
- writer
Type: System.Xml.XmlWriter
Implements
IXmlSerializable.WriteXml(XmlWriter)
Exceptions
Exception | Condition |
---|---|
System.InvalidOperationException | Thrown if Serialization fails. |