41 references to MessageState
Contract.Message.IntegrationTests (1)
MessageTests.4.0.0.cs (1)
43
Assert.Equal(
MessageState
.Created, replyMessage.State);
System.ServiceModel.Primitives (40)
System\ServiceModel\Channels\Message.cs (27)
26
get { return State ==
MessageState
.Closed; }
64
public
MessageState
State { get; private set; }
73
if (State !=
MessageState
.Closed)
75
State =
MessageState
.Closed;
93
case
MessageState
.Created:
94
State =
MessageState
.Copied;
96
case
MessageState
.Closed:
98
case
MessageState
.Copied:
100
case
MessageState
.Read:
102
case
MessageState
.Written:
360
case
MessageState
.Created:
361
State =
MessageState
.Read;
363
case
MessageState
.Copied:
365
case
MessageState
.Read:
367
case
MessageState
.Written:
369
case
MessageState
.Closed:
594
case
MessageState
.Created:
596
case
MessageState
.Copied:
598
case
MessageState
.Read:
600
case
MessageState
.Written:
602
case
MessageState
.Closed:
746
case
MessageState
.Created:
747
State =
MessageState
.Written;
749
case
MessageState
.Copied:
751
case
MessageState
.Read:
753
case
MessageState
.Written:
755
case
MessageState
.Closed:
System\ServiceModel\Channels\ServiceChannel.cs (1)
969
bool consumed = ((rpc.Reply != null) && (rpc.Reply.State !=
MessageState
.Created));
System\ServiceModel\Diagnostics\ActivityIdHeader.cs (3)
39
if (message != null && message.State !=
MessageState
.Closed && message.Headers != null)
75
if (message.State !=
MessageState
.Closed && message.Headers != null)
107
if (message.State !=
MessageState
.Closed && message.Headers.MessageVersion.Envelope != EnvelopeVersion.None)
System\ServiceModel\Diagnostics\EventTraceActivityHelper.cs (1)
39
if (message != null && message.State !=
MessageState
.Closed)
System\ServiceModel\Diagnostics\TraceUtility.cs (3)
76
if (DiagnosticUtility.ShouldUseActivity && message != null && message.State !=
MessageState
.Closed)
98
(message.State !=
MessageState
.Closed))
430
if (message != null && message.State !=
MessageState
.Closed && message.Headers != null)
System\ServiceModel\Dispatcher\DispatchOperationRuntime.cs (2)
113
rpc.DidDeserializeRequestBody = (rpc.Request.State !=
MessageState
.Created);
296
if (null != rpc.OperationContext.IncomingMessage &&
MessageState
.Closed != rpc.OperationContext.IncomingMessage.State)
System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (1)
844
if ((rpc.FaultInfo.Fault != null) && (rpc.FaultInfo.Fault.State !=
MessageState
.Closed))
System\ServiceModel\Dispatcher\StreamFormatter.cs (2)
400
if (_message.State ==
MessageState
.Closed)
438
public override bool CanRead { get { return _message.State !=
MessageState
.Closed; } }