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
'Usage
Dim instance As TrackingDataProperty
Dim writer As XmlWriter
CType(instance, IXmlSerializable).WriteXml(writer)
void IXmlSerializable.WriteXml(
XmlWriter writer
)
Parameters
- writer
Type: System.Xml.XmlWriter
Implements
IXmlSerializable.WriteXml(XmlWriter)
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown if Serialization fails. |