LegacySoapDeserializerDeserialize Method

Deserializes a SOAP-formatted XML graph from stream.

Definition

Namespace: Gemstone.PhasorProtocols
Assembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.181 -- Release Build+69c74c3448bebb1c8c739a856f2a43b00db6d500
public static Object? Deserialize(
	Stream stream,
	SerializationBinder? binder = null
)

Parameters

stream  Stream
Source stream containing legacy SOAP XML.
binder  SerializationBinder  (Optional)
Optional SerializationBinder used to translate serialized type names to current runtime types. Defaults to SafeBinder, which fails closed for any type outside the phasor-protocol assemblies. Pass LegacyBinder for unrestricted resolution (trusted input only).

Return Value

Object
The root object of the deserialized graph (the first element under SOAP-ENV:Body).

See Also