LegacySoapDeserializerDeserialize Method

Deserializes a SOAP-formatted XML graph from stream.

Definition

Namespace: Gemstone.PhasorProtocols
Assembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.190 -- Release Build+e7b6dce62f115ce02a2a7fdba6c40da387b25306
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