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