LegacySoapDeserializerDeserialize Method

Deserializes a SOAP-formatted XML graph from stream.

Definition

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