26 writes to _ProtocolStatus
System (26)
net\System\Net\Cache\_RequestCacheProtocol.cs (26)
93
_ProtocolStatus
= CacheValidationStatus.Continue;
100
_ProtocolStatus
= CacheValidationStatus.DoNotUseCache;
106
_ProtocolStatus
= CacheValidationStatus.DoNotUseCache;
112
switch(
_ProtocolStatus
= ValidateRequest())
126
_ProtocolStatus
= CacheValidationStatus.Fail;
142
_ProtocolStatus
= CacheValidationStatus.Fail;
168
_ProtocolStatus
= CacheValidationStatus.DoNotUseCache;
226
_ProtocolStatus
= CacheValidationStatus.Fail;
326
_ProtocolStatus
= ValidateCache();
335
_ProtocolStatus
= CacheValidationStatus.Fail;
372
_ProtocolStatus
= CacheValidationStatus.Fail;
381
_ProtocolStatus
= CacheValidationStatus.Fail;
406
switch (
_ProtocolStatus
= ValidateResponse()) {
419
_ProtocolStatus
= CacheValidationStatus.Fail;
427
_ProtocolStatus
= CacheValidationStatus.Fail;
437
_ProtocolStatus
= CacheValidationStatus.Fail;
468
switch (
_ProtocolStatus
= RevalidateCache()) {
479
_ProtocolStatus
= CacheValidationStatus.Fail;
500
_ProtocolStatus
= CacheValidationStatus.Fail;
529
_ProtocolStatus
= CacheValidationStatus.Fail;
538
_ProtocolStatus
= CacheValidationStatus.Fail;
577
switch (
_ProtocolStatus
=UpdateCache()) {
606
_ProtocolStatus
= CacheValidationStatus.UpdateResponseInformation;
621
_ProtocolStatus
= CacheValidationStatus.DoNotUpdateCache;
625
_ProtocolStatus
= CacheValidationStatus.UpdateResponseInformation;
637
_ProtocolStatus
= CacheValidationStatus.Fail;
33 references to _ProtocolStatus
System (33)
net\System\Net\Cache\_RequestCacheProtocol.cs (33)
55
internal CacheValidationStatus ProtocolStatus {get {return
_ProtocolStatus
;}}
85
if (!_CanTakeNewRequest ||
_ProtocolStatus
== CacheValidationStatus.RetryResponseFromServer)
101
return
_ProtocolStatus
;
107
return
_ProtocolStatus
;
132
if (
_ProtocolStatus
!= CacheValidationStatus.Continue)
133
return
_ProtocolStatus
;
149
if(Logging.On) Logging.Exit(Logging.RequestCache, this, "GetRetrieveStatus", "result = " +
_ProtocolStatus
.ToString());
151
return
_ProtocolStatus
;
162
if (
_ProtocolStatus
== CacheValidationStatus.DoNotUseCache)
166
if (
_ProtocolStatus
== CacheValidationStatus.ReturnCachedResponse)
169
return
_ProtocolStatus
;
177
if (
_ProtocolStatus
!= CacheValidationStatus.Continue &&
_ProtocolStatus
!= CacheValidationStatus.RetryResponseFromServer)
180
return
_ProtocolStatus
;
185
if(Logging.On) Logging.Exit(Logging.RequestCache, this, "GetRevalidateStatus", "result = " +
_ProtocolStatus
.ToString());
187
return
_ProtocolStatus
;
199
if (
_ProtocolStatus
== CacheValidationStatus.DoNotUseCache)
208
if (
_ProtocolStatus
== CacheValidationStatus.RemoveFromCache)
211
return
_ProtocolStatus
;
214
if (
_ProtocolStatus
!= CacheValidationStatus.DoNotTakeFromCache &&
215
_ProtocolStatus
!= CacheValidationStatus.ReturnCachedResponse &&
216
_ProtocolStatus
!= CacheValidationStatus.CombineCachedAndServerResponse)
218
if(Logging.On) Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_not_updated_based_on_cache_protocol_status, "GetUpdateStatus()",
_ProtocolStatus
.ToString()));
219
return
_ProtocolStatus
;
233
if(Logging.On)Logging.Exit(Logging.RequestCache, this, "GetUpdateStatus", "result = " +
_ProtocolStatus
.ToString());
235
return
_ProtocolStatus
;
284
GlobalLog.Assert(
_ProtocolStatus
== CacheValidationStatus.Continue, "CheckRetrieveBeforeSubmit()|Unexpected _ProtocolStatus = {0}",
_ProtocolStatus
);
329
switch (
_ProtocolStatus
) {
400
GlobalLog.Assert(
_ProtocolStatus
== CacheValidationStatus.Continue ||
_ProtocolStatus
== CacheValidationStatus.RetryResponseFromServer, "CheckRetrieveOnResponse()|Unexpected _ProtocolStatus = ",
_ProtocolStatus
);
453
if (
_ProtocolStatus
!= CacheValidationStatus.Continue) {