Ejemplo n.º 1
0
 /// <summary>
 /// Construct a <see cref="ReattachInformationBase"/> from a given <paramref name="copy"/>
 /// </summary>
 /// <param name="copy">The <see cref="ReattachInformationBase"/> to copy values from</param>
 protected ReattachInformationBase(ReattachInformationBase copy)
 {
     if (copy == null)
     {
         throw new ArgumentNullException(nameof(copy));
     }
     AccessIdentifier    = copy.AccessIdentifier;
     Port                = copy.Port;
     ProcessId           = copy.ProcessId;
     RebootState         = copy.RebootState;
     LaunchSecurityLevel = copy.LaunchSecurityLevel;
 }
 /// <summary>
 /// Construct a <see cref="ReattachInformationBase"/> from a given <paramref name="copy"/>
 /// </summary>
 /// <param name="copy">The <see cref="ReattachInformationBase"/> to copy values from</param>
 protected ReattachInformationBase(ReattachInformationBase copy) : base(copy)
 {
     if (copy == null)
     {
         throw new ArgumentNullException(nameof(copy));
     }
     AccessIdentifier = copy.AccessIdentifier;
     IsPrimary        = copy.IsPrimary;
     Port             = copy.Port;
     ProcessId        = copy.ProcessId;
     RebootState      = copy.RebootState;
 }