< Dice | RollResult
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
.