Exemple #1
0
 /// <summary>
 ///   Creates a new instance of the LongLivedQueryOption class
 /// </summary>
 /// <param name="version"> Version of LLQ protocol implemented </param>
 /// <param name="operationCode"> Identifies LLQ operation </param>
 /// <param name="errorCode"> Identifies LLQ errors </param>
 /// <param name="id"> Identifier for an LLQ </param>
 /// <param name="leaseTime"> Requested or granted life of LLQ </param>
 public LongLivedQueryOption(ushort version, LlqOperationCode operationCode, LlqErrorCode errorCode, ulong id, TimeSpan leaseTime)
     : this()
 {
     Version       = version;
     OperationCode = operationCode;
     ErrorCode     = errorCode;
     Id            = id;
     LeaseTime     = leaseTime;
 }
 /// <summary>
 ///   Creates a new instance of the LongLivedQueryOption class
 /// </summary>
 /// <param name="version"> Version of LLQ protocol implemented </param>
 /// <param name="operationCode"> Identifies LLQ operation </param>
 /// <param name="errorCode"> Identifies LLQ errors </param>
 /// <param name="id"> Identifier for an LLQ </param>
 /// <param name="leaseTime"> Requested or granted life of LLQ </param>
 public LongLivedQueryOption(ushort version, LlqOperationCode operationCode, LlqErrorCode errorCode, ulong id, TimeSpan leaseTime)
     : this()
 {
     Version = version;
     OperationCode = operationCode;
     ErrorCode = errorCode;
     Id = id;
     LeaseTime = leaseTime;
 }
Exemple #3
0
 /// <summary>
 ///   Creates a new instance of the LongLivedQueryOption class
 /// </summary>
 /// <param name="operationCode"> Identifies LLQ operation </param>
 /// <param name="errorCode"> Identifies LLQ errors </param>
 /// <param name="id"> Identifier for an LLQ </param>
 /// <param name="leaseTime"> Requested or granted life of LLQ </param>
 public LongLivedQueryOption(LlqOperationCode operationCode, LlqErrorCode errorCode, ulong id, TimeSpan leaseTime)
     : this(0, operationCode, errorCode, id, leaseTime)
 {
 }
 /// <summary>
 ///   Creates a new instance of the LongLivedQueryOption class
 /// </summary>
 /// <param name="operationCode"> Identifies LLQ operation </param>
 /// <param name="errorCode"> Identifies LLQ errors </param>
 /// <param name="id"> Identifier for an LLQ </param>
 /// <param name="leaseTime"> Requested or granted life of LLQ </param>
 public LongLivedQueryOption(LlqOperationCode operationCode, LlqErrorCode errorCode, ulong id, TimeSpan leaseTime)
     : this(0, operationCode, errorCode, id, leaseTime)
 {
 }