16 references to State
System.ServiceModel (14)
System\ServiceModel\Channels\ServiceChannel.cs (1)
1031
bool consumed = ((rpc.Reply != null) && (rpc.Reply.
State
!= MessageState.Created));
System\ServiceModel\Diagnostics\ActivityIdHeader.cs (3)
40
if (message != null && message.
State
!= MessageState.Closed && message.Headers != null)
82
if (message.
State
!= MessageState.Closed && message.Headers != null)
120
if (message.
State
!= MessageState.Closed && message.Headers.MessageVersion.Envelope != EnvelopeVersion.None)
System\ServiceModel\Diagnostics\EventTraceActivityHelper.cs (1)
41
if (message != null && message.
State
!= MessageState.Closed)
System\ServiceModel\Diagnostics\MessageTraceRecord.cs (1)
37
(this.message.
State
!= MessageState.Closed) &&
System\ServiceModel\Diagnostics\TraceUtility.cs (3)
546
(message.
State
!= MessageState.Closed))
661
if (DiagnosticUtility.ShouldUseActivity && message != null && message.
State
!= MessageState.Closed)
1082
if (context != null && null != context.IncomingMessage && (MessageState.Closed != context.IncomingMessage.
State
))
System\ServiceModel\Dispatcher\DispatchOperationRuntime.cs (2)
318
rpc.DidDeserializeRequestBody = (rpc.Request.
State
!= MessageState.Created);
832
if (null != rpc.OperationContext.IncomingMessage && MessageState.Closed != rpc.OperationContext.IncomingMessage.
State
)
System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (1)
1553
if ((rpc.FaultInfo.Fault != null) && (rpc.FaultInfo.Fault.
State
!= MessageState.Closed))
System\ServiceModel\Dispatcher\StreamFormatter.cs (2)
292
if (message.
State
== MessageState.Closed)
328
public override bool CanRead { get { return message.
State
!= MessageState.Closed; } }
System.ServiceModel.Activities (2)
System\ServiceModel\Activities\FromReply.cs (1)
156
if (inMessage.
State
!= MessageState.Created)
System\ServiceModel\Activities\InternalReceiveMessage.cs (1)
549
Fx.Assert(request.
State
== MessageState.Created, "The request message must be in Created state");