6 references to EndUpgrade
System.ServiceModel (6)
System\ServiceModel\Channels\SingletonConnectionReader.cs (6)
434Fx.AssertAndThrow(this.upgradeState == UpgradeState.EndUpgrade, "upgradeAsyncResult should only be passed in from OnUpgradeComplete callback"); 521ChangeUpgradeState(UpgradeState.EndUpgrade); 532case UpgradeState.EndUpgrade://Must be a different state here than UpgradeComplete so that we don't try to read from the connection 650case UpgradeState.EndUpgrade: 657if (this.upgradeState != UpgradeState.EndUpgrade) 772thisPtr.ChangeUpgradeState(UpgradeState.EndUpgrade);