< Dice‎ | RollResult
Revision as of 22:43, 24 April 2017 by Skizzerz (talk | contribs) (Created page with "{{APIdoc|RollResult Constructor (SerializationInfo, StreamingContext)}} Constructs a new instance of RollResult using the serialized data. {{ns}} == Syntax == <syntaxhighlig...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

RollResult Constructor (SerializationInfo, StreamingContext)

From DiceRoller Documentation

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.