System.ServiceModel.MonoInternal.DuplexClientRuntimeChannel.OnClose C# (CSharp) Метод

OnClose() защищенный Метод

protected OnClose ( System.TimeSpan timeout ) : void
timeout System.TimeSpan
Результат void
		protected override void OnClose (TimeSpan timeout)
		{
			DateTime start = DateTime.Now;
			base.OnClose (timeout);
			loop = false;
			if (!loop_handle.WaitOne (timeout - (DateTime.Now - start)))
				throw new TimeoutException ();
			if (!finish_handle.WaitOne (timeout - (DateTime.Now - start)))
				throw new TimeoutException ();
		}