4 instantiations of RedirectionType
System.ServiceModel (4)
System\ServiceModel\Channels\RedirectionType.cs (4)
14
static RedirectionType cache = new
RedirectionType
(InternalRedirectionType.Cache);
15
static RedirectionType resource = new
RedirectionType
(InternalRedirectionType.Resource);
16
static RedirectionType useIntermediary = new
RedirectionType
(InternalRedirectionType.UseIntermediary);
126
return new
RedirectionType
(type, ns);
28 references to RedirectionType
System.ServiceModel (27)
System\ServiceModel\Channels\RedirectionException.cs (15)
23
public RedirectionException(
RedirectionType
type, RedirectionDuration duration, RedirectionScope scope, params RedirectionLocation[] locations)
28
public RedirectionException(
RedirectionType
type, RedirectionDuration duration, RedirectionScope scope, Exception innerException, params RedirectionLocation[] locations)
33
public RedirectionException(string message,
RedirectionType
type, RedirectionDuration duration, RedirectionScope scope, params RedirectionLocation[] locations)
38
public RedirectionException(string message,
RedirectionType
type, RedirectionDuration duration, RedirectionScope scope, Exception innerException, params RedirectionLocation[] locations)
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)
93
this.Type = (
RedirectionType
)info.GetValue("Type", typeof(
RedirectionType
));
108
info.AddValue("Type", this.Type, typeof(
RedirectionType
));
117
public
RedirectionType
Type { get; private set; }
145
static string GetDefaultMessage(
RedirectionType
type, RedirectionLocation[] locations)
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 (12)
14
static
RedirectionType
cache = new RedirectionType(InternalRedirectionType.Cache);
15
static
RedirectionType
resource = new RedirectionType(InternalRedirectionType.Resource);
16
static
RedirectionType
useIntermediary = new RedirectionType(InternalRedirectionType.UseIntermediary);
64
public static
RedirectionType
Cache { get { return cache; } }
66
public static
RedirectionType
Resource { get { return resource; } }
67
public static
RedirectionType
UseIntermediary { get { return useIntermediary; } }
85
public static bool operator !=(
RedirectionType
left,
RedirectionType
right)
90
public static bool operator ==(
RedirectionType
left,
RedirectionType
right)
114
public static
RedirectionType
Create(string type, string ns)
135
result = ((obj as
RedirectionType
) == this);
System.ServiceModel.Activities (1)
System\ServiceModel\Activities\Dispatcher\ControlOperationInvoker.cs (1)
864
redirectionException = new RedirectionException(
RedirectionType
.Resource, RedirectionDuration.Permanent,