LegacySoapSerializerSerialize Method
Serializes root and its reachable graph as legacy SOAP XML.
Namespace: Gemstone.PhasorProtocolsAssembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.181 -- Release Build+69c74c3448bebb1c8c739a856f2a43b00db6d500
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.