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

From DiceRoller Documentation
(Created page with "{{APIdoc|DieResult Constructor (SerializationInfo, StreamingContext)}} Constructs a new DieResult using the serialized data. {{ns}} == Syntax == <syntaxhighlight lang="C#">...")
 
(No difference)

Latest revision as of 18:58, 25 April 2017

Constructs a new DieResult using the serialized data.

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

Syntax

private DieResult(
    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.