void WriteStartChunkCallback(XmlDictionaryWriter writer, object state) { StartChunkState startState = (StartChunkState)state; writer.WriteStartElement(startState.OperationName, startState.OperationNs); writer.WriteStartElement(startState.ParamName, startState.ParamNs); writer.WriteEndElement(); writer.WriteEndElement(); }
internal ChunkingWriter(Message originalMessage, TimeoutHelper chunkingTimeout, IOutputChannel outputChannel) : base() { this.version = originalMessage.Version; this.originalMessage = originalMessage; this.chunkingTimeout = chunkingTimeout; this.outputChannel = outputChannel; this.startState = new StartChunkState(); chunkNum = 1; }