ServiceModelExtensionElement.SerializeElement Method (XmlWriter, Boolean)

 

Writes the contents of this configuration element to the configuration file.

Namespace:   System.ServiceModel.Configuration
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

protected override bool SerializeElement(
	XmlWriter writer,
	bool serializeCollectionKey
)

Parameters

writer
Type: System.Xml.XmlWriter

The XmlWriter that is used to write to the configuration file.

serializeCollectionKey
Type: System.Boolean

true to serialize only the collection key properties; otherwise, false.

Return Value

Type: System.Boolean

true if any data was actually serialized; otherwise, false.

.NET Framework
Available since 3.0
Return to top
Show: