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

Implements

IXmlSerializable.WriteXml(XmlWriter)

Exceptions

Exception Condition
InvalidOperationException

Thrown if Serialization fails.

See Also

Reference

TrackingDataProperty Class

TrackingDataProperty Members

Microsoft.Rtc.Workflow.Activities Namespace