Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SecurityElementBase.SerializeElement Method

.NET Framework 4.6 and 4.5

Writes the contents of this configuration element to the configuration file when implemented in a derived class.

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 XML writer that writes 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

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft