System.Configuration.UpdateConfigHost.WriteCompleted C# (CSharp) Метод

WriteCompleted() публичный Метод

public WriteCompleted ( string streamName, bool success, object writeContext ) : void
streamName string
success bool
writeContext object
Результат void
        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);
            }
        }