Difference between revisions of "Dice/RollResult/RollResult (SerializationInfo, StreamingContext)"

From DiceRoller Documentation
(Created page with "{{APIdoc|RollResult Constructor (SerializationInfo, StreamingContext)}} Constructs a new instance of RollResult using the serialized data. {{ns}} == Syntax == <syntaxhighlig...")
 
(No difference)

Latest revision as of 22:43, 24 April 2017

Constructs a new instance of RollResult using the serialized data.

  • Namespace: Dice
  • Assembly: DiceRoller (in DiceRoller.dll)

Syntax

protected RollResult(
    SerializationInfo info,
    StreamingContext context
)

Parameters

info
Type: System.Runtime.Serialization.SerializationInfo
Serialized data.
context
Type: System.Runtime.Serialization.StreamingContext
Streaming context, unused.

Exceptions

Exception Condition
ArgumentNullException info is null.

Remarks

When deserializing a RollResult, RollRoot is set to null.