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