/// <summary> /// Initializes a new instance of the <see cref="Query"/> class. /// </summary> /// <param name="device">The device.</param> /// <param name="type">The type.</param> public Query(Device device, QueryType type) { device.CreateQuery(type, this); }