public DHCPv6InformRequestHandledEvent(DHCPv6Packet request, DHCPv6Packet response, InformRequestErros error) : base(request, response, error == InformRequestErros.NoError) { if (error != InformRequestErros.ScopeNotFound) { throw new ArgumentException("a scope id has to be specified if an error different from 'ScopeNotFound' is used"); } Error = error; }
public DHCPv6InformRequestHandledEvent(DHCPv6Packet request, InformRequestErros error) : this(request, DHCPv6Packet.Empty, error) { }
public DHCPv6InformRequestHandledEvent(Guid scopeId, DHCPv6Packet request, DHCPv6Packet response, InformRequestErros error) : base(scopeId, request, response, error == InformRequestErros.NoError) { Error = error; }
public DHCPv6InformRequestHandledEvent(Guid scopeId, DHCPv6Packet request, InformRequestErros error) : this(scopeId, request, DHCPv6Packet.Empty, error) { if (error == InformRequestErros.NoError) { throw new ArgumentException("if a request has no error, a response packet is needed"); } }