40 references to MessageState
dotnet-svcutil-lib (40)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\Message.cs (28)
20
private
MessageState
_state;
27
get { return _state ==
MessageState
.Closed; }
61
public
MessageState
State
73
if (_state !=
MessageState
.Closed)
75
_state =
MessageState
.Closed;
90
case
MessageState
.Created:
91
_state =
MessageState
.Copied;
93
case
MessageState
.Closed:
95
case
MessageState
.Copied:
97
case
MessageState
.Read:
99
case
MessageState
.Written:
291
case
MessageState
.Created:
292
_state =
MessageState
.Read;
294
case
MessageState
.Copied:
296
case
MessageState
.Read:
298
case
MessageState
.Written:
300
case
MessageState
.Closed:
519
case
MessageState
.Created:
521
case
MessageState
.Copied:
523
case
MessageState
.Read:
525
case
MessageState
.Written:
527
case
MessageState
.Closed:
662
case
MessageState
.Created:
663
_state =
MessageState
.Written;
665
case
MessageState
.Copied:
667
case
MessageState
.Read:
669
case
MessageState
.Written:
671
case
MessageState
.Closed:
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannel.cs (1)
964
bool consumed = ((rpc.Reply != null) && (rpc.Reply.State !=
MessageState
.Created));
FrameworkFork\System.ServiceModel\System\ServiceModel\Diagnostics\ActivityIdHeader.cs (3)
39
if (message != null && message.State !=
MessageState
.Closed && message.Headers != null)
76
if (message.State !=
MessageState
.Closed && message.Headers != null)
109
if (message.State !=
MessageState
.Closed && message.Headers.MessageVersion.Envelope != EnvelopeVersion.None)
FrameworkFork\System.ServiceModel\System\ServiceModel\Diagnostics\EventTraceActivityHelper.cs (1)
39
if (message != null && message.State !=
MessageState
.Closed)
FrameworkFork\System.ServiceModel\System\ServiceModel\Diagnostics\TraceUtility.cs (2)
87
(message.State !=
MessageState
.Closed))
184
if (DiagnosticUtility.ShouldUseActivity && message != null && message.State !=
MessageState
.Closed)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\DispatchOperationRuntime.cs (2)
155
rpc.DidDeserializeRequestBody = (rpc.Request.State !=
MessageState
.Created);
338
if (null != rpc.OperationContext.IncomingMessage &&
MessageState
.Closed != rpc.OperationContext.IncomingMessage.State)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (1)
776
if ((rpc.FaultInfo.Fault != null) && (rpc.FaultInfo.Fault.State !=
MessageState
.Closed))
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\StreamFormatter.cs (2)
294
if (_message.State ==
MessageState
.Closed)
330
public override bool CanRead { get { return _message.State !=
MessageState
.Closed; } }