189 references to MaskingMode
System.ServiceModel (189)
System\ServiceModel\Channels\ClientReliableChannelBinder.cs (18)
23
MaskingMode
maskingMode, TolerateFaultsMode faultMode, ChannelParameterCollection channelParameters,
97
public IAsyncResult BeginRequest(Message message, TimeSpan timeout,
MaskingMode
maskingMode,
126
IChannelFactory<TChannel> factory,
MaskingMode
maskingMode, TolerateFaultsMode faultMode,
197
TimeSpan timeout,
MaskingMode
maskingMode, AsyncCallback callback, object state)
216
protected virtual Message OnEndRequest(TChannel channel,
MaskingMode
maskingMode,
227
MaskingMode
maskingMode)
237
public Message Request(Message message, TimeSpan timeout,
MaskingMode
maskingMode)
323
IChannelFactory<TDuplexChannel> factory,
MaskingMode
maskingMode, TolerateFaultsMode faultMode,
413
IChannelFactory<IDuplexChannel> factory,
MaskingMode
maskingMode,
444
IChannelFactory<IDuplexSessionChannel> factory,
MaskingMode
maskingMode, TolerateFaultsMode faultMode,
501
IChannelFactory<TRequestChannel> factory,
MaskingMode
maskingMode, TolerateFaultsMode faultMode,
576
Message message, TimeSpan timeout,
MaskingMode
maskingMode,
589
MaskingMode
maskingMode, IAsyncResult result)
601
TimeSpan timeout,
MaskingMode
maskingMode)
643
TimeSpan timeout,
MaskingMode
maskingMode, AsyncCallback callback, object state)
656
TChannel channel,
MaskingMode
maskingMode, IAsyncResult result)
671
IChannelFactory<IRequestChannel> factory,
MaskingMode
maskingMode,
702
IChannelFactory<IRequestSessionChannel> factory,
MaskingMode
maskingMode, TolerateFaultsMode faultMode,
System\ServiceModel\Channels\IReliableChannelBinder.cs (9)
26
void Close(TimeSpan timeout,
MaskingMode
maskingMode);
28
IAsyncResult BeginClose(TimeSpan timeout,
MaskingMode
maskingMode, AsyncCallback callback, object state);
35
IAsyncResult BeginSend(Message message, TimeSpan timeout,
MaskingMode
maskingMode, AsyncCallback callback, object state);
39
void Send(Message message, TimeSpan timeout,
MaskingMode
maskingMode);
42
bool TryReceive(TimeSpan timeout, out RequestContext requestContext,
MaskingMode
maskingMode);
44
IAsyncResult BeginTryReceive(TimeSpan timeout,
MaskingMode
maskingMode, AsyncCallback callback, object state);
50
void SetMaskingMode(RequestContext context,
MaskingMode
maskingMode);
62
IAsyncResult BeginRequest(Message message, TimeSpan timeout,
MaskingMode
maskingMode, AsyncCallback callback, object state);
65
Message Request(Message message, TimeSpan timeout,
MaskingMode
maskingMode);
System\ServiceModel\Channels\ReliableChannelBinder.cs (63)
33
MaskingMode
defaultMaskingMode;
40
protected ReliableChannelBinder(TChannel channel,
MaskingMode
maskingMode,
44
if ((maskingMode !=
MaskingMode
.None) && (maskingMode !=
MaskingMode
.All))
87
public
MaskingMode
DefaultMaskingMode
208
public IAsyncResult BeginClose(TimeSpan timeout,
MaskingMode
maskingMode,
249
if (this.defaultMaskingMode ==
MaskingMode
.None)
269
public IAsyncResult BeginSend(Message message, TimeSpan timeout,
MaskingMode
maskingMode,
287
public virtual IAsyncResult BeginTryReceive(TimeSpan timeout,
MaskingMode
maskingMode,
370
public void Close(TimeSpan timeout,
MaskingMode
maskingMode)
440
this.HandleException(e,
MaskingMode
.All);
491
if (this.defaultMaskingMode ==
MaskingMode
.None)
566
Exception GetClosedException(
MaskingMode
maskingMode)
584
Exception GetClosedOrFaultedException(
MaskingMode
maskingMode)
602
Exception GetFaultedException(
MaskingMode
maskingMode)
619
this.HandleException(e,
MaskingMode
.All);
622
protected bool HandleException(Exception e,
MaskingMode
maskingMode)
644
protected bool HandleException(Exception e,
MaskingMode
maskingMode, bool autoAborted)
709
this.HandleException(e,
MaskingMode
.All);
751
bool OnOpening(
MaskingMode
maskingMode)
826
if (this.defaultMaskingMode ==
MaskingMode
.None)
856
public void Send(Message message, TimeSpan timeout,
MaskingMode
maskingMode)
913
public void SetMaskingMode(RequestContext context,
MaskingMode
maskingMode)
921
bool ThrowIfNotOpenedAndNotMasking(
MaskingMode
maskingMode, bool throwDisposed)
987
public virtual bool TryReceive(TimeSpan timeout, out RequestContext requestContext,
MaskingMode
maskingMode)
989
if (maskingMode !=
MaskingMode
.None)
1061
return this.ThrowIfNotOpenedAndNotMasking(
MaskingMode
.All, false);
1064
protected bool ValidateOutputOperation(Message message, TimeSpan timeout,
MaskingMode
maskingMode)
1102
if (!this.TolerateFaults && this.defaultMaskingMode ==
MaskingMode
.None)
1126
MaskingMode
maskingMode;
1148
protected
MaskingMode
MaskingMode
1156
public void SetMaskingMode(
MaskingMode
maskingMode)
1158
if (this.binder.defaultMaskingMode !=
MaskingMode
.All)
1277
return this.BeginTryGetChannel(canGetChannel, false, timeout,
MaskingMode
.All,
1282
MaskingMode
maskingMode, AsyncCallback callback, object state)
1289
TimeSpan timeout,
MaskingMode
maskingMode, AsyncCallback callback, object state)
1980
bool ThrowIfNecessary(
MaskingMode
maskingMode)
2010
return this.TryGetChannel(canGetChannel, false, timeout,
MaskingMode
.All,
2014
public bool TryGetChannelForOutput(TimeSpan timeout,
MaskingMode
maskingMode,
2021
MaskingMode
maskingMode, out TChannel channel)
2192
MaskingMode
maskingMode;
2203
TChannel channel, TimeSpan timeout,
MaskingMode
maskingMode,
2576
MaskingMode
maskingMode;
2581
TChannel channel, TimeSpan timeout,
MaskingMode
maskingMode,
2748
MaskingMode
maskingMode;
2754
TimeSpan timeout,
MaskingMode
maskingMode, AsyncCallback callback, object state)
2932
MaskingMode
maskingMode;
2939
MaskingMode
maskingMode, AsyncCallback callback, object state)
3307
MaskingMode
maskingMode;
3320
public
MaskingMode
MaskingMode
3329
Message message, TimeSpan timeout,
MaskingMode
maskingMode, AsyncCallback callback,
3377
MaskingMode
maskingMode, IAsyncResult result);
3467
public void Start(Message message, TimeSpan timeout,
MaskingMode
maskingMode)
3525
if ((binder.defaultMaskingMode !=
MaskingMode
.All) && !binder.TolerateFaults)
3659
TChannel channel, Message message, TimeSpan timeout,
MaskingMode
maskingMode,
3672
TChannel channel,
MaskingMode
maskingMode, IAsyncResult result)
3688
MaskingMode
maskingMode, AsyncCallback callback, object state)
3886
internal static bool MaskHandled(
MaskingMode
maskingMode)
3888
return (maskingMode &
MaskingMode
.Handled) ==
MaskingMode
.Handled;
3891
internal static bool MaskUnhandled(
MaskingMode
maskingMode)
3893
return (maskingMode &
MaskingMode
.Unhandled) ==
MaskingMode
.Unhandled;
System\ServiceModel\Channels\ReliableChannelFactory.cs (1)
182
this.InnerChannelFactory,
MaskingMode
.All,
System\ServiceModel\Channels\ReliableDuplexSessionChannel.cs (13)
117
return this.binder.BeginClose(timeout,
MaskingMode
.Handled, callback, state);
886
result.MaskingMode = maskUnhandledException ?
MaskingMode
.Unhandled :
MaskingMode
.None;
890
result.MaskingMode |=
MaskingMode
.Handled;
909
sendResult.MaskingMode =
MaskingMode
.Handled;
972
this.binder.Close(timeoutHelper.RemainingTime(),
MaskingMode
.Handled);
1129
MaskingMode
maskingMode = maskUnhandledException ?
MaskingMode
.Unhandled :
MaskingMode
.None;
1133
maskingMode |=
MaskingMode
.Handled;
1167
this.binder.Send(message, timeout,
MaskingMode
.Handled);
1335
this.binder.Send(message, timeout,
MaskingMode
.Handled);
1362
return this.binder.BeginSend(message, timeout,
MaskingMode
.Handled, callback, state);
System\ServiceModel\Channels\ReliableInputSessionChannel.cs (2)
185
return this.binder.BeginClose(timeout,
MaskingMode
.Handled, callback, state);
331
this.binder.Close(timeoutHelper.RemainingTime(),
MaskingMode
.Handled);
System\ServiceModel\Channels\ReliableMessagingHelpers.cs (11)
1144
MaskingMode
.Handled, onBinderCloseComplete, this);
1909
return this.GetReply(this.ClientBinder.Request(request, timeout,
MaskingMode
.None), last);
1914
return this.ClientBinder.BeginRequest(request, timeout,
MaskingMode
.None, callback, state);
1964
this.Binder.Send(request, timeoutHelper.RemainingTime(),
MaskingMode
.None);
1968
this.Binder.TryReceive(receiveTimeout, out requestContext,
MaskingMode
.None);
2014
this.timeoutHelper.RemainingTime(),
MaskingMode
.None, sendCallback, this);
2038
MaskingMode
.None, tryReceiveCallback, this);
2180
this.Binder.Send(request, timeoutHelper.RemainingTime(),
MaskingMode
.None);
2210
return this.Binder.BeginSend(this.request, timeout,
MaskingMode
.None, callback, state);
2254
MaskingMode
maskingMode;
2275
public
MaskingMode
MaskingMode
System\ServiceModel\Channels\ReliableOutputSessionChannel.cs (22)
302
this.binder.Close(timeoutHelper.RemainingTime(),
MaskingMode
.Handled);
390
protected abstract void OnConnectionSendMessage(Message message, TimeSpan timeout,
MaskingMode
maskingMode);
475
this.OnConnectionSendMessage(request, this.DefaultSendTimeout,
MaskingMode
.All);
677
this.OnConnectionSendMessage(message, timeout,
MaskingMode
.Handled);
790
MaskingMode
maskingMode = maskUnhandledException ?
MaskingMode
.Unhandled :
MaskingMode
.None;
816
maskingMode |=
MaskingMode
.Handled;
830
result.MaskingMode = maskUnhandledException ?
MaskingMode
.Unhandled :
MaskingMode
.None;
834
result.MaskingMode |=
MaskingMode
.Handled;
860
protected override void OnConnectionSendMessage(Message message, TimeSpan timeout,
MaskingMode
maskingMode)
875
requestResult.MaskingMode =
MaskingMode
.Handled;
926
MaskingMode
maskingMode = maskUnhandledException ?
MaskingMode
.Unhandled :
MaskingMode
.None;
951
maskingMode |=
MaskingMode
.Handled;
962
result.MaskingMode = maskUnhandledException ?
MaskingMode
.Unhandled :
MaskingMode
.None;
966
result.MaskingMode |=
MaskingMode
.Handled;
989
protected override void OnConnectionSendMessage(Message message, TimeSpan timeout,
MaskingMode
maskingMode)
999
sendResult.MaskingMode =
MaskingMode
.Unhandled;
System\ServiceModel\Channels\ReliableReplySessionChannel.cs (11)
200
return this.binder.BeginClose(timeout,
MaskingMode
.Handled, callback, state);
503
this.binder.Close(timeoutHelper.RemainingTime(),
MaskingMode
.Handled);
848
replyHelper.Reply(context, info, this.DefaultSendTimeout,
MaskingMode
.All);
1154
reliableContext.SendReply(context,
MaskingMode
.All);
1569
SendReply(this.innerContexts[i],
MaskingMode
.Handled, ref timeoutHelper);
1597
public void SendReply(RequestContext context,
MaskingMode
maskingMode)
1603
void SendReply(RequestContext context,
MaskingMode
maskingMode, ref TimeoutHelper timeoutHelper)
1728
this.context.channel.binder.SetMaskingMode(thisInnerContext,
MaskingMode
.Handled);
1794
internal void Reply(RequestContext context, WsrmMessageInfo info, TimeSpan timeout,
MaskingMode
maskingMode)
1820
this.channel.binder.SetMaskingMode(this.requestContext,
MaskingMode
.Handled);
1910
MaskingMode
.Handled);
System\ServiceModel\Channels\ReliableRequestSessionChannel.cs (11)
79
return this.binder.BeginClose(timeout,
MaskingMode
.Handled, callback, state);
325
this.binder.Close(timeoutHelper.RemainingTime(),
MaskingMode
.Handled);
355
result.MaskingMode = maskUnhandledException ?
MaskingMode
.Unhandled :
MaskingMode
.None;
359
result.MaskingMode |=
MaskingMode
.Handled;
415
MaskingMode
maskingMode = maskUnhandledException ?
MaskingMode
.Unhandled :
MaskingMode
.None;
419
maskingMode |=
MaskingMode
.Handled;
539
IAsyncResult result = this.BeginSendAckRequestedMessage(this.DefaultSendTimeout,
MaskingMode
.All,
771
IAsyncResult BeginSendAckRequestedMessage(TimeSpan timeout,
MaskingMode
maskingMode, AsyncCallback callback,
System\ServiceModel\Channels\ServerReliableChannelBinder.cs (24)
27
EndpointAddress remoteAddress, MessageFilter filter, int priority,
MaskingMode
maskingMode,
37
EndpointAddress remoteAddress,
MaskingMode
maskingMode,
152
if (this.DefaultMaskingMode !=
MaskingMode
.None)
194
priority,
MaskingMode
.None, defaultCloseTimeout, defaultSendTimeout);
199
priority,
MaskingMode
.None, faultMode, defaultCloseTimeout,
205
priority,
MaskingMode
.None, defaultCloseTimeout, defaultSendTimeout);
210
priority,
MaskingMode
.None, faultMode, defaultCloseTimeout,
229
cachedLocalAddress, remoteAddress,
MaskingMode
.All, defaultCloseTimeout,
235
cachedLocalAddress, remoteAddress,
MaskingMode
.All, faultMode,
241
cachedLocalAddress, remoteAddress,
MaskingMode
.All, defaultCloseTimeout,
247
cachedLocalAddress, remoteAddress,
MaskingMode
.All, faultMode,
606
if (this.DefaultMaskingMode !=
MaskingMode
.None)
667
MaskingMode
maskingMode, TolerateFaultsMode faultMode,
676
MaskingMode
maskingMode, TolerateFaultsMode faultMode,
773
MaskingMode
maskingMode, TimeSpan defaultCloseTimeout, TimeSpan defaultSendTimeout)
781
MaskingMode
maskingMode, TimeSpan defaultCloseTimeout, TimeSpan defaultSendTimeout)
815
MaskingMode
maskingMode, TolerateFaultsMode faultMode,
824
MaskingMode
maskingMode, TolerateFaultsMode faultMode,
880
MaskingMode
maskingMode, TolerateFaultsMode faultMode,
889
MaskingMode
maskingMode, TolerateFaultsMode faultMode,
967
MaskingMode
maskingMode, TimeSpan defaultCloseTimeout, TimeSpan defaultSendTimeout)
975
MaskingMode
maskingMode, TimeSpan defaultCloseTimeout, TimeSpan defaultSendTimeout)
1005
MaskingMode
maskingMode, TolerateFaultsMode faultMode,
1014
MaskingMode
maskingMode, TolerateFaultsMode faultMode,
System\ServiceModel\Security\SecuritySessionClientSettings.cs (4)
676
MaskingMode
.None, faultMode, this.channelParameters, this.DefaultCloseTimeout, this.DefaultSendTimeout);
681
MaskingMode
.None, faultMode, this.channelParameters, this.DefaultCloseTimeout, this.DefaultSendTimeout);
687
MaskingMode
.None, faultMode, this.channelParameters, this.DefaultCloseTimeout, this.DefaultSendTimeout);
692
MaskingMode
.None, faultMode, this.channelParameters, this.DefaultCloseTimeout, this.DefaultSendTimeout);