Beispiel #1
0
 /// <summary>
 /// Send OOB control message with chunk size.
 /// </summary>
 private void NotifyChunkSize()
 {
     if (_chunkSize > 0 && _livePipe != null)
     {
         OOBControlMessage setChunkSize = new OOBControlMessage();
         setChunkSize.Target      = "ConnectionConsumer";
         setChunkSize.ServiceName = "chunkSize";
         setChunkSize.ServiceParameterMap["chunkSize"] = _chunkSize;
         _livePipe.SendOOBControlMessage(this.Provider, setChunkSize);
     }
 }