DeserializersTryDeserialize Method (RecvBuffer, String)Naiad Help

[This is preliminary documentation and is subject to change.]

Attempts to deserialize a string from the given source buffer.

Namespace: Microsoft.Research.Naiad.Serialization
Assembly: Microsoft.Research.Naiad (in Microsoft.Research.Naiad.dll) Version: 0.5.0.0 (0.5.0.0)
Syntax

C#
public static bool TryDeserialize(
	ref RecvBuffer source,
	out string value
)

Parameters

source
Type: Microsoft.Research.Naiad.SerializationRecvBuffer
The target buffer. In the event of success, the current position of the buffer will be advanced.
value
Type: SystemString
The deserialized string, if this method returns true.

Return Value

Type: Boolean
True if deserialization succeeded, otherwise false.
See Also

Reference