LegacySoapSerializerSerialize Method
Serializes root and its reachable graph as legacy SOAP XML.
Namespace: Gemstone.PhasorProtocolsAssembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.183 -- Release Build+673491a1afa103b255aa8db4f2bc6d4e220a63e0
Gemstone.PhasorProtocols.LegacySoapSerializer.Serialize = function(stream, root, binder);
Parameters
- stream Stream
- Destination stream for the XML payload. Not closed by this method.
- root Object
- Root object — must be marked SerializableAttribute and (almost always) implement ISerializable.
- binder SerializationBinder (Optional)
-
Optional SerializationBinder used to translate runtime types to legacy emitted names.
Defaults to LegacyBinder, which emits GSF.* names so output remains
readable by .NET Framework consumers (PMU Connection Tester, older openPDC builds). Pass a custom
binder (or one whose BindToName returns the runtime type unchanged) to emit native names.