114 references to WsrmUtilities
System.ServiceModel (114)
System\ServiceModel\Channels\ChannelReliableSession.cs (13)
203
WsrmUtilities
.AddAcknowledgementHeader(this.settings.ReliableMessagingVersion,
554
WsrmUtilities
.AssertWsrm11(this.settings.ReliableMessagingVersion);
563
WsrmUtilities
.AssertWsrm11(this.settings.ReliableMessagingVersion);
575
WsrmUtilities
.AssertWsrm11(this.settings.ReliableMessagingVersion);
759
return
WsrmUtilities
.CalculateKeepAliveInterval(this.Settings.InactivityTimeout, this.Settings.MaxRetryCount);
765
TimeSpan keepAliveInterval =
WsrmUtilities
.CalculateKeepAliveInterval(this.Settings.InactivityTimeout, this.Settings.MaxRetryCount);
862
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(
WsrmUtilities
.CreateCSFaultException(
1015
WsrmUtilities
.AssertWsrm11(this.Settings.ReliableMessagingVersion);
1024
WsrmUtilities
.AssertWsrm11(this.Settings.ReliableMessagingVersion);
1033
WsrmUtilities
.AssertWsrm11(this.Settings.ReliableMessagingVersion);
1179
WsrmUtilities
.AssertWsrm11(this.Settings.ReliableMessagingVersion);
1188
WsrmUtilities
.AssertWsrm11(this.Settings.ReliableMessagingVersion);
1197
WsrmUtilities
.AssertWsrm11(this.Settings.ReliableMessagingVersion);
System\ServiceModel\Channels\CloseSequence.cs (1)
42
closeSequenceInfo.LastMsgNumber =
WsrmUtilities
.ReadSequenceNumber(reader, false);
System\ServiceModel\Channels\CreateSequence.cs (5)
77
Message faultReply =
WsrmUtilities
.CreateCSRefusedProtocolFault(messageVersion, reliableMessagingVersion, reason);
98
Message faultReply =
WsrmUtilities
.CreateCSRefusedProtocolFault(messageVersion, reliableMessagingVersion, reason);
138
Message faultReply =
WsrmUtilities
.CreateCSRefusedProtocolFault(messageVersion, reliableMessagingVersion, reason);
153
Message faultReply =
WsrmUtilities
.CreateCSRefusedProtocolFault(messageVersion, reliableMessagingVersion, reason);
162
Message faultReply =
WsrmUtilities
.CreateCSRefusedProtocolFault(messageVersion, reliableMessagingVersion, reason);
System\ServiceModel\Channels\ReliableChannelFactory.cs (2)
196
return (TChannel)(object)new ClientReliableDuplexSessionChannel(this, this, binder, this.faultHelper, channelParameters,
WsrmUtilities
.NextSequenceId());
200
return (TChannel)(object)new ReliableRequestSessionChannel(this, this, binder, this.faultHelper, channelParameters,
WsrmUtilities
.NextSequenceId());
System\ServiceModel\Channels\ReliableChannelListener.cs (6)
600
id =
WsrmUtilities
.GetInputId(info);
609
UniqueId outputId =
WsrmUtilities
.GetOutputId(this.ReliableMessagingVersion, info);
802
if (!
WsrmUtilities
.ValidateCreateSequence<TChannel>(info, this, channel, out acksTo))
819
info.FaultReply =
WsrmUtilities
.CreateEndpointNotFoundFault(this.MessageVersion, SR.GetString(SR.RMEndpointNotFoundReason, this.Uri));
825
info.FaultReply =
WsrmUtilities
.CreateCSRefusedServerTooBusyFault(this.MessageVersion, this.ReliableMessagingVersion, SR.GetString(SR.ServerTooBusy, this.Uri));
829
id =
WsrmUtilities
.NextSequenceId();
System\ServiceModel\Channels\ReliableDuplexSessionChannel.cs (17)
103
WsrmUtilities
.AddAcknowledgementHeader(
153
Message message =
WsrmUtilities
.CreateAcknowledgmentMessage(this.Settings.MessageVersion,
295
?
WsrmUtilities
.ValidateCloseSequenceResponse(this.session, this.closeRequestor.MessageId, info,
297
:
WsrmUtilities
.ValidateTerminateSequenceResponse(this.session, this.terminateRequestor.MessageId,
487
if (!
WsrmUtilities
.ValidateWsrmRequest(this.session, requestInfo, this.binder, null))
554
?
WsrmUtilities
.CreateTerminateResponseMessage(this.settings.MessageVersion,
556
:
WsrmUtilities
.CreateCloseSequenceResponse(this.settings.MessageVersion,
587
fault =
WsrmUtilities
.ValidateFinalAck(this.session, info, this.outputConnection.Last);
626
WsrmUtilities
.AddAcknowledgementHeader(this.settings.ReliableMessagingVersion, message,
910
sendResult.Message =
WsrmUtilities
.CreateAckRequestedMessage(this.Settings.MessageVersion,
1164
using (Message message =
WsrmUtilities
.CreateAckRequestedMessage(this.Settings.MessageVersion,
1333
Message message =
WsrmUtilities
.CreateTerminateMessage(this.settings.MessageVersion,
1360
Message message =
WsrmUtilities
.CreateTerminateMessage(this.settings.MessageVersion,
1643
using (Message message =
WsrmUtilities
.CreateAckRequestedMessage(this.Settings.MessageVersion,
1686
Message message =
WsrmUtilities
.CreateAckRequestedMessage(this.Settings.MessageVersion,
1902
if (
WsrmUtilities
.ValidateCreateSequence<IDuplexSessionChannel>(info, this.listener, this.Binder.Channel, out acksTo))
1904
Message response =
WsrmUtilities
.CreateCreateSequenceResponse(this.Settings.MessageVersion,
System\ServiceModel\Channels\ReliableInputConnection.cs (2)
154
WsrmUtilities
.AssertWsrm11(this.reliableMessagingVersion);
193
WsrmUtilities
.AssertWsrm11(this.reliableMessagingVersion);
System\ServiceModel\Channels\ReliableInputSessionChannel.cs (12)
179
WsrmUtilities
.AddAcknowledgementHeader(this.listener.ReliableMessagingVersion, message,
220
Message message =
WsrmUtilities
.CreateAcknowledgmentMessage(
593
if (
WsrmUtilities
.ValidateCreateSequence<IInputSessionChannel>(info, this.Listener, this.Binder.Channel, out acksTo))
595
Message response =
WsrmUtilities
.CreateCreateSequenceResponse(this.Listener.MessageVersion,
747
if (!
WsrmUtilities
.ValidateWsrmRequest(this.ReliableSession, requestInfo, this.Binder, null))
809
?
WsrmUtilities
.CreateTerminateResponseMessage(this.Listener.MessageVersion,
811
:
WsrmUtilities
.CreateCloseSequenceResponse(this.Listener.MessageVersion,
1005
if (
WsrmUtilities
.ValidateCreateSequence<IInputSessionChannel>(info, this.Listener, this.Binder.Channel, out acksTo))
1007
Message response =
WsrmUtilities
.CreateCreateSequenceResponse(this.Listener.MessageVersion,
1142
if (!
WsrmUtilities
.ValidateWsrmRequest(this.ReliableSession, requestInfo, this.Binder, context))
1206
?
WsrmUtilities
.CreateTerminateResponseMessage(this.Listener.MessageVersion,
1208
:
WsrmUtilities
.CreateCloseSequenceResponse(this.Listener.MessageVersion,
System\ServiceModel\Channels\ReliableMessagingHelpers.cs (5)
3070
WsrmUtilities
.AddAcknowledgementHeader(reliableMessagingVersion, message, id, ranges, final, -1);
3108
WsrmUtilities
.AddAcknowledgementHeader(reliableMessagingVersion, message, id, ranges, final,
3121
WsrmUtilities
.AddAckRequestedHeader(reliableMessagingVersion, message, id);
3430
return
WsrmUtilities
.ReadSequenceNumber(reader, false);
3503
info.FaultReply =
WsrmUtilities
.CreateCSRefusedProtocolFault(listener.MessageVersion,
System\ServiceModel\Channels\ReliableOutputSessionChannel.cs (13)
320
using (Message message =
WsrmUtilities
.CreateAckRequestedMessage(this.settings.MessageVersion,
330
Message request =
WsrmUtilities
.CreateAckRequestedMessage(this.settings.MessageVersion,
472
using (Message request =
WsrmUtilities
.CreateAckRequestedMessage(this.Settings.MessageVersion,
505
?
WsrmUtilities
.ValidateCloseSequenceResponse(this.session, requestor.MessageId, info,
507
:
WsrmUtilities
.ValidateTerminateSequenceResponse(this.session, requestor.MessageId, info,
562
fault =
WsrmUtilities
.ValidateTerminateSequenceResponse(this.session,
572
fault =
WsrmUtilities
.ValidateCloseSequenceResponse(this.session,
582
if (!
WsrmUtilities
.ValidateWsrmRequest(this.session, messageInfo.TerminateSequenceInfo, this.binder, null))
588
fault =
WsrmUtilities
.ValidateFinalAckExists(this.session, ackInfo);
597
Message response =
WsrmUtilities
.CreateTerminateResponseMessage(
627
fault =
WsrmUtilities
.ValidateFinalAck(this.session, messageInfo, this.connection.Last);
675
Message message =
WsrmUtilities
.CreateTerminateMessage(this.settings.MessageVersion,
701
Message message =
WsrmUtilities
.CreateTerminateMessage(this.settings.MessageVersion,
System\ServiceModel\Channels\ReliableReplySessionChannel.cs (10)
166
WsrmUtilities
.AddAcknowledgementHeader(
234
Message message =
WsrmUtilities
.CreateAcknowledgmentMessage(
635
WsrmUtilities
.AddSequenceHeader(
714
if (!
WsrmUtilities
.ValidateWsrmRequest(this.session, requestInfo, this.binder, context))
808
Message message =
WsrmUtilities
.CreateTerminateMessage(this.MessageVersion,
918
if (
WsrmUtilities
.ValidateCreateSequence<IReplySessionChannel>(info, this.listener, this.binder.Channel, out acksTo))
920
Message response =
WsrmUtilities
.CreateCreateSequenceResponse(this.listener.MessageVersion,
1212
message =
WsrmUtilities
.CreateTerminateMessage(this.MessageVersion,
1976
Message message =
WsrmUtilities
.CreateCloseSequenceResponse(channel.MessageVersion,
2006
Message message =
WsrmUtilities
.CreateTerminateResponseMessage(channel.MessageVersion,
System\ServiceModel\Channels\ReliableRequestSessionChannel.cs (6)
73
WsrmUtilities
.AddAcknowledgementHeader(this.settings.ReliableMessagingVersion, message,
119
Message request =
WsrmUtilities
.CreateAckRequestedMessage(this.settings.MessageVersion,
588
?
WsrmUtilities
.ValidateCloseSequenceResponse(this.session, this.closeRequestor.MessageId, info,
590
:
WsrmUtilities
.ValidateTerminateSequenceResponse(this.session, this.terminateRequestor.MessageId,
683
WsrmFault fault =
WsrmUtilities
.ValidateFinalAck(this.session, messageInfo, this.connection.Last);
745
if (
WsrmUtilities
.IsWsrmAction(this.settings.ReliableMessagingVersion, messageInfo.Action))
System\ServiceModel\Channels\TerminateSequence.cs (1)
53
terminateSequenceInfo.LastMsgNumber =
WsrmUtilities
.ReadSequenceNumber(reader, false);
System\ServiceModel\Channels\TransmissionStrategy.cs (2)
232
WsrmUtilities
.AddSequenceHeader(this.reliableMessagingVersion, message, this.id, sequenceNumber, isLast);
237
WsrmUtilities
.AddAckRequestedHeader(this.reliableMessagingVersion, message, this.id);
System\ServiceModel\Channels\WsrmFault.cs (4)
387
WsrmUtilities
.WriteIdentifier(writer, this.GetReliableMessagingVersion(), this.sequenceID);
394
return
WsrmUtilities
.ReadIdentifier(reader, reliableMessagingVersion);
553
this.SequenceID =
WsrmUtilities
.ReadIdentifier(detailReader, reliableMessagingVersion);
582
WsrmUtilities
.WriteIdentifier(writer, reliableMessagingVersion, this.SequenceID);
System\ServiceModel\Channels\WsrmMessageInfo.cs (15)
619
if (foundAction ||
WsrmUtilities
.IsWsrmAction(reliableMessagingVersion, action))
907
Message faultReply =
WsrmUtilities
.CreateCSRefusedProtocolFault(messageVersion, reliableMessagingVersion, reason);
924
Message faultReply =
WsrmUtilities
.CreateCSRefusedProtocolFault(messageVersion, reliableMessagingVersion, reason);
955
Message faultReply =
WsrmUtilities
.CreateCSRefusedProtocolFault(messageVersion,
1329
Int64 sequenceNumber =
WsrmUtilities
.ReadSequenceNumber(reader);
1338
WsrmUtilities
.ReadEmptyElement(reader);
1476
Int64 lower =
WsrmUtilities
.ReadSequenceNumber(reader, allowZero);
1479
Int64 upper =
WsrmUtilities
.ReadSequenceNumber(reader, allowZero);
1493
WsrmUtilities
.ReadEmptyElement(reader);
1513
WsrmUtilities
.ReadEmptyElement(reader);
1526
WsrmUtilities
.ReadEmptyElement(reader);
1542
WsrmUtilities
.ReadSequenceNumber(reader, true);
1752
WsrmUtilities
.ReadSequenceNumber(reader, true);
1804
WsrmUtilities
.ReadEmptyElement(reader);
1840
WsrmUtilities
.ReadEmptyElement(reader);