SecurityElementBase.SerializeToXmlElement Method (XmlWriter, String)

 

Writes the outer tags of this configuration element to the configuration file.

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

protected override bool SerializeToXmlElement(
	XmlWriter writer,
	string elementName
)

Parameters

writer
Type: System.Xml.XmlWriter

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

elementName
Type: System.String

The name of the ConfigurationElement to be written.

Return Value

Type: System.Boolean

true if the serialization is successful; otherwise, false.

.NET Framework
Available since 3.0
Return to top
Show: