23 references to InternalRedirectionType
System.ServiceModel (23)
System\ServiceModel\Channels\RedirectionException.cs (6)
57if (type.InternalType == RedirectionType.InternalRedirectionType.UseIntermediary 58|| type.InternalType == RedirectionType.InternalRedirectionType.Resource) 70if (type.InternalType == RedirectionType.InternalRedirectionType.Cache && locations != null && locations.Length > 0) 151if (type.InternalType == RedirectionType.InternalRedirectionType.Cache) 155else if (type.InternalType == RedirectionType.InternalRedirectionType.Resource) 159else if (type.InternalType == RedirectionType.InternalRedirectionType.UseIntermediary)
System\ServiceModel\Channels\RedirectionType.cs (17)
14static RedirectionType cache = new RedirectionType(InternalRedirectionType.Cache); 15static RedirectionType resource = new RedirectionType(InternalRedirectionType.Resource); 16static RedirectionType useIntermediary = new RedirectionType(InternalRedirectionType.UseIntermediary); 17InternalRedirectionType internalType; 25RedirectionType(InternalRedirectionType type) 32case InternalRedirectionType.Cache: 35case InternalRedirectionType.Resource: 38case InternalRedirectionType.UseIntermediary: 53this.internalType = InternalRedirectionType.Unknown; 72internal InternalRedirectionType InternalType 76if (this.internalType == InternalRedirectionType.Unknown) 175this.internalType = InternalRedirectionType.Cache; 179this.internalType = InternalRedirectionType.Resource; 183this.internalType = InternalRedirectionType.UseIntermediary; 187this.internalType = InternalRedirectionType.Custom; 192this.internalType = InternalRedirectionType.Custom; 195Fx.Assert(this.internalType != InternalRedirectionType.Unknown, "Failed to correctly detect internal redirection type");