1 write to session
System.ServiceModel (1)
System\ServiceModel\Channels\ReliableRequestSessionChannel.cs (1)
38
this.
session
= new ClientReliableSession(this, settings, binder, faultHelper, inputID);
50 references to session
System.ServiceModel (50)
System\ServiceModel\Channels\ReliableRequestSessionChannel.cs (50)
39
this.
session
.PollingCallback = this.PollingCallback;
40
this.
session
.UnblockChannelCloseCallback = this.UnblockClose;
62
return this.
session
;
74
this.
session
.InputID, this.ranges, this.isLastKnown);
113
requestor.MessageHeader = new WsrmAcknowledgmentHeader(reliableMessagingVersion, this.
session
.InputID,
120
this.settings.ReliableMessagingVersion, this.
session
.OutputID);
138
temp.MessageBody = new CloseSequence(this.
session
.OutputID, this.connection.Last);
160
this.
session
.OutputID, this.connection.Last);
166
this.
session
.CloseSession();
247
this.
session
.Abort();
260
this.
session
.BeginClose,
269
this.
session
.EndClose,
278
return new ReliableChannelOpenAsyncResult(this.binder, this.
session
, timeout,
290
this.
session
.OnLocalFault(exception, SequenceTerminatedFault.CreateQuotaExceededFault(this.
session
.OutputID), null);
308
this.
session
.OnLocalFault(exception, (Message)null, null);
324
this.
session
.Close(timeoutHelper.RemainingTime());
343
this.
session
.OnLocalFault(new CommunicationException(SR.GetString(SR.MaximumRetryCountExceeded), this.maxRetryCountException),
344
SequenceTerminatedFault.CreateMaxRetryCountExceededFault(this.
session
.OutputID), null);
349
this.
session
.OnLocalActivity();
406
this.
session
.OnLocalFault(new CommunicationException(SR.GetString(SR.MaximumRetryCountExceeded), this.maxRetryCountException),
407
SequenceTerminatedFault.CreateMaxRetryCountExceededFault(this.
session
.OutputID), null);
412
this.
session
.OnLocalActivity();
467
this.
session
.OnLocalFault(faultException, fault, null);
472
this.
session
.OnUnknownException(exception);
487
this.
session
.OnFaulted();
500
this.
session
.Open(timeoutHelper.RemainingTime());
515
this.connection = new ReliableOutputConnection(this.
session
.OutputID, this.settings.MaxTransferWindowSize,
516
this.settings.MessageVersion, this.settings.ReliableMessagingVersion, this.
session
.InitiationTime,
584
this.
session
.ProcessInfo(info, null, true);
585
this.
session
.VerifyDuplexProtocolElements(info, null, true);
588
? WsrmUtilities.ValidateCloseSequenceResponse(this.
session
, this.closeRequestor.MessageId, info,
590
: WsrmUtilities.ValidateTerminateSequenceResponse(this.
session
, this.terminateRequestor.MessageId,
595
this.
session
.OnLocalFault(null, fault, null);
615
if (!this.
session
.ProcessInfo(messageInfo, null))
618
if (!this.
session
.VerifyDuplexProtocolElements(messageInfo, null))
645
WsrmFault fault = SequenceTerminatedFault.CreateProtocolFault(this.
session
.InputID,
649
this.
session
.OnLocalFault(fault.CreateException(), fault, null);
655
UniqueId faultId = (messageInfo.TerminateSequenceInfo.Identifier == this.
session
.OutputID)
656
? this.
session
.InputID
657
: this.
session
.OutputID;
663
this.
session
.OnLocalFault(fault.CreateException(), fault, null);
677
WsrmFault fault = SequenceTerminatedFault.CreateProtocolFault(this.
session
.OutputID, faultString,
679
this.
session
.OnLocalFault(fault.CreateException(), fault, null);
683
WsrmFault fault = WsrmUtilities.ValidateFinalAck(this.
session
, messageInfo, this.connection.Last);
693
this.
session
.OnLocalFault(fault.CreateException(), fault, null);
725
this.
session
.OnRemoteActivity(this.connection.Strategy.QuotaRemaining == 0);
774
this.
session
.OnLocalActivity();
1033
WsrmFault fault = SequenceTerminatedFault.CreateCommunicationFault(this.parent.
session
.InputID,
1035
this.parent.
session
.OnLocalFault(null, fault, null);