public override void WriteCompleted(string streamName, bool success, object writeContext) {
StreamUpdate streamUpdate = GetStreamUpdate(streamName, true);
if (streamUpdate != null) {
InternalConfigHost.StaticWriteCompleted(streamUpdate.NewStreamname, success, writeContext, false);
//
// Mark the write as having successfully completed, so that subsequent calls
// to Read() will use the new stream name.
//
if (success) {
streamUpdate.WriteCompleted = true;
}
}
else {
Host.WriteCompleted(streamName, success, writeContext);
}
}