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