System\Activities\DurableInstancing\DetectActivatableWorkflowsAsyncResult.cs (1)
26TimeSpan timeout,
System\Activities\DurableInstancing\QueryActivatableWorkflowAsyncResult.cs (1)
27TimeSpan timeout,
System\Activities\DurableInstancing\SqlWorkflowInstanceStore.cs (27)
21static readonly TimeSpan defaultConnectionOpenTime = TimeSpan.FromSeconds(15);
22static readonly TimeSpan defaultInstancePersistenceEventDetectionPeriod = TimeSpan.FromSeconds(5);
23static readonly TimeSpan defaultLockRenewalPeriod = TimeSpan.FromSeconds(30);
24static readonly TimeSpan minimumTimeSpanAllowed = TimeSpan.FromSeconds(1);
27TimeSpan bufferedHostLockRenewalPeriod;
33TimeSpan hostLockRenewalPeriod;
38TimeSpan instancePersistenceEventDetectionPeriod;
64this.bufferedHostLockRenewalPeriod = TimeSpan.Zero;
97public TimeSpan HostLockRenewalPeriod
153public TimeSpan RunnableInstancesDetectionPeriod
176internal TimeSpan BufferedHostLockRenewalPeriod
181if (this.bufferedHostLockRenewalPeriod == TimeSpan.Zero)
183double lockBuffer = Math.Min(SqlWorkflowInstanceStoreConstants.LockOwnerTimeoutBuffer.TotalSeconds, (TimeSpan.MaxValue.Subtract(this.HostLockRenewalPeriod)).TotalSeconds);
184this.bufferedHostLockRenewalPeriod = TimeSpan.FromSeconds(Math.Min(Int32.MaxValue, lockBuffer + this.HostLockRenewalPeriod.TotalSeconds));
330protected internal override IAsyncResult BeginTryCommand(InstancePersistenceContext context, InstancePersistenceCommand command, TimeSpan timeout, AsyncCallback callback, object state)
355internal IAsyncResult BeginTryCommandSkipRetry(InstancePersistenceContext context, InstancePersistenceCommand command, TimeSpan timeout, AsyncCallback callback, object state)
391internal IAsyncResult BeginTryCommandInternalWithVersionCheck(InstancePersistenceContext context, InstancePersistenceCommand command, TimeSpan timeout, AsyncCallback callback, object state, Version targetVersion)
398internal IAsyncResult BeginTryCommandInternal(InstancePersistenceContext context, InstancePersistenceCommand command, TimeSpan timeout, AsyncCallback callback, object state)
403internal IAsyncResult BeginTryCommandInternal(InstancePersistenceContext context, InstancePersistenceCommand command, Transaction transaction, TimeSpan timeout, AsyncCallback callback, object state)
501this.BeginTryCommandInternal(null, command, TimeSpan.MaxValue, this.unlockInstanceCallback, command);
505internal TimeSpan GetNextRetryDelay(int retryAttempt)
630this.BeginTryCommandInternal(null, command, TimeSpan.MaxValue, unlockInstanceCallback, command);
682BackoffTimeoutHelper = new BackoffTimeoutHelper(TimeSpan.MaxValue)
System\Activities\DurableInstancing\TryLoadRunnableWorkflowAsyncResult.cs (1)
25TimeSpan timeout,
fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (19)
774internal static TimeSpan GetTimeSpan(SmiEventSink_Default sink, ITypedGettersV3 getters, int ordinal, SmiMetaData metaData, bool gettersSupportKatmaiDateTime) {
783return (TimeSpan) obj;
787internal static TimeSpan GetTimeSpan(SmiEventSink_Default sink, SmiTypedGetterSetter getters, int ordinal, SmiMetaData metaData) {
792return (TimeSpan)GetValue200(sink, getters, ordinal, metaData, null);
1557internal static void SetTimeSpan(SmiEventSink_Default sink, ITypedSettersV3 setters, int ordinal, SmiMetaData metaData, TimeSpan value, bool settersSupportKatmaiDateTime) {
1708SetTimeSpan_Checked(sink, setters, ordinal, metaData, (TimeSpan)value);
1999TimeSpan ts;
2003ts = (TimeSpan)reader.GetValue(i);
2279TimeSpan ts;
2286ts = (TimeSpan)record.GetValue(i);
2426private static readonly TimeSpan x_timeMin = TimeSpan.Zero;
2427private static readonly TimeSpan x_timeMax = new TimeSpan(TimeSpan.TicksPerDay - 1);
2428private static void VerifyTimeRange(SqlDbType dbType, TimeSpan value) {
2439private static void SetTimeSpan_Checked(SmiEventSink_Default sink, SmiTypedGetterSetter setters, int ordinal, SmiMetaData metaData, TimeSpan value) {
3200private static TimeSpan GetTimeSpan_Unchecked(SmiEventSink_Default sink, SmiTypedGetterSetter getters, int ordinal) {
3203TimeSpan result = getters.GetTimeSpan(sink, ordinal);
3337private static void SetTimeSpan_Unchecked(SmiEventSink_Default sink, SmiTypedGetterSetter setters, int ordinal, TimeSpan value) {
fx\src\data\System\Data\SqlClient\SqlEnums.cs (5)
339} else if (dataType == typeof(TimeSpan)) {
407else if (sqlType == typeof(TimeSpan)) return DBNull.Value;
525else if (comVal is TimeSpan || comVal is DateTimeOffset)
826(255, 7, -1, false, false, false, TdsEnums.SQLTIME, TdsEnums.SQLTIME, MetaTypeName.TIME, typeof(System.TimeSpan), typeof(System.TimeSpan), SqlDbType.Time, DbType.Time, 1);
fx\src\data\System\Data\SqlClient\TdsParser.cs (8)
5951WriteTime((TimeSpan)value, mt.Scale, length, stateObj);
6114WriteTime((TimeSpan)value, metatype.Scale, 5, stateObj);
6259private byte[] SerializeTime(TimeSpan value, byte scale, int length) {
6260if (0 > value.Ticks || value.Ticks >= TimeSpan.TicksPerDay) {
6273private void WriteTime(TimeSpan value, byte scale, int length, TdsParserStateObject stateObj) {
6274if (0 > value.Ticks || value.Ticks >= TimeSpan.TicksPerDay) {
10685WriteTime((TimeSpan)value, scale, actualLength, stateObj);
10893return SerializeTime((TimeSpan)value, scale, actualLength);
System\ServiceModel\ChannelFactory.cs (8)
56protected override TimeSpan DefaultCloseTimeout
71protected override TimeSpan DefaultOpenTimeout
360protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
365protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
370protected override void OnClose(TimeSpan timeout)
386protected override void OnOpen(TimeSpan timeout)
413public OpenAsyncResult(ICommunicationObject communicationObject, TimeSpan timeout, AsyncCallback callback, object state)
468public CloseAsyncResult(ICommunicationObject communicationObject, TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\BufferedConnection.cs (21)
18TimeSpan pendingTimeout;
21public BufferedConnection(IConnection connection, TimeSpan flushTimeout, int writeBufferSize)
33public override void Close(TimeSpan timeout, bool asyncAndLinger)
45pendingTimeout = TimeSpan.Zero;
49void Flush(TimeSpan timeout)
59void FlushCore(TimeSpan timeout)
77pendingTimeout = TimeSpan.Zero;
102public override void Write(byte[] buffer, int offset, int size, bool immediate, TimeSpan timeout, BufferManager bufferManager)
127public override void Write(byte[] buffer, int offset, int size, bool immediate, TimeSpan timeout)
151void WriteNow(byte[] buffer, int offset, int size, TimeSpan timeout)
156void WriteNow(byte[] buffer, int offset, int size, TimeSpan timeout, BufferManager bufferManager)
194void WriteLater(byte[] buffer, int offset, int size, TimeSpan timeout)
248public override AsyncCompletionResult BeginWrite(byte[] buffer, int offset, int size, bool immediate, TimeSpan timeout,
263public override void Shutdown(TimeSpan timeout)
290TimeSpan flushTimeout;
293public BufferedConnectionInitiator(IConnectionInitiator connectionInitiator, TimeSpan flushTimeout, int writeBufferSize)
300protected TimeSpan FlushTimeout
316public IConnection Connect(Uri uri, TimeSpan timeout)
321public IAsyncResult BeginConnect(Uri uri, TimeSpan timeout, AsyncCallback callback, object state)
335TimeSpan flushTimeout;
338public BufferedConnectionListener(IConnectionListener connectionListener, TimeSpan flushTimeout, int writeBufferSize)
System\ServiceModel\Channels\ChainedAsyncResult.cs (9)
11internal delegate IAsyncResult ChainedBeginHandler(TimeSpan timeout, AsyncCallback asyncCallback, object state);
23protected ChainedAsyncResult(TimeSpan timeout, AsyncCallback callback, object state)
29public ChainedAsyncResult(TimeSpan timeout, AsyncCallback callback, object state, ChainedBeginHandler begin1, ChainedEndHandler end1, ChainedBeginHandler begin2, ChainedEndHandler end2)
133public ChainedCloseAsyncResult(TimeSpan timeout, AsyncCallback callback, object state, ChainedBeginHandler begin1, ChainedEndHandler end1, IList<ICommunicationObject> collection)
141public ChainedCloseAsyncResult(TimeSpan timeout, AsyncCallback callback, object state, ChainedBeginHandler begin1, ChainedEndHandler end1, params ICommunicationObject[] objs)
153IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
168public ChainedOpenAsyncResult(TimeSpan timeout, AsyncCallback callback, object state, ChainedBeginHandler begin1, ChainedEndHandler end1, IList<ICommunicationObject> collection)
176public ChainedOpenAsyncResult(TimeSpan timeout, AsyncCallback callback, object state, ChainedBeginHandler begin1, ChainedEndHandler end1, params ICommunicationObject[] objs)
188IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\ChannelDemuxer.cs (76)
21public readonly static TimeSpan UseDefaultReceiveTimeout = TimeSpan.MinValue;
26TimeSpan peekTimeout;
36public TimeSpan PeekTimeout
179void OnOuterListenerOpen(ChannelDemuxerFilter filter, IChannelListener listener, TimeSpan timeout);
180IAsyncResult OnBeginOuterListenerOpen(ChannelDemuxerFilter filter, IChannelListener listener, TimeSpan timeout, AsyncCallback callback, object state);
183void OnOuterListenerClose(ChannelDemuxerFilter filter, TimeSpan timeout);
184IAsyncResult OnBeginOuterListenerClose(ChannelDemuxerFilter filter, TimeSpan timeout, AsyncCallback callback, object state);
239protected abstract IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state);
395public void OnOuterListenerClose(ChannelDemuxerFilter filter, TimeSpan timeout)
435public IAsyncResult OnBeginOuterListenerClose(ChannelDemuxerFilter filter, TimeSpan timeout, AsyncCallback callback, object state)
530public void OnOuterListenerOpen(ChannelDemuxerFilter filter, IChannelListener listener, TimeSpan timeout)
574public IAsyncResult OnBeginOuterListenerOpen(ChannelDemuxerFilter filter, IChannelListener listener, TimeSpan timeout, AsyncCallback callback, object state)
674result = this.BeginReceive(TimeSpan.MaxValue, onReceiveComplete, this);
737public OpenAsyncResult(DatagramChannelDemuxer<TInnerChannel, TInnerItem> channelDemuxer, ChannelDemuxerFilter filter, IChannelListener listener, TimeSpan timeout, AsyncCallback callback, object state)
983public CloseAsyncResult(DatagramChannelDemuxer<TInnerChannel, TInnerItem> channelDemuxer, TimeSpan timeout, AsyncCallback callback, object state)
1111protected override IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
1173protected override IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
1267protected override void OnSend(Message message, TimeSpan timeout)
1272protected override IAsyncResult OnBeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
1282protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
1292protected override void OnOpen(TimeSpan timeout)
1311protected override IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
1544protected override void OnOpen(TimeSpan timeout)
1551protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
1561IAsyncResult OnBeginOuterListenerOpen(TimeSpan timeout, AsyncCallback callback, object state)
1577protected override void OnClose(TimeSpan timeout)
1584protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
1594IAsyncResult OnBeginOuterListenerClose(TimeSpan timeout, AsyncCallback callback, object state)
1642TimeSpan peekTimeout;
1644public SessionChannelDemuxer(BindingContext context, TimeSpan peekTimeout, int maxPendingSessions)
1682protected abstract IAsyncResult BeginReceive(TInnerChannel channel, TimeSpan timeout, AsyncCallback callback, object state);
1711result = this.innerListener.BeginAcceptChannel(TimeSpan.MaxValue, onAcceptComplete, this);
2043public void OnOuterListenerOpen(ChannelDemuxerFilter filter, IChannelListener listener, TimeSpan timeout)
2083public IAsyncResult OnBeginOuterListenerOpen(ChannelDemuxerFilter filter, IChannelListener listener, TimeSpan timeout, AsyncCallback callback, object state)
2121public void OnOuterListenerClose(ChannelDemuxerFilter filter, TimeSpan timeout)
2143public IAsyncResult OnBeginOuterListenerClose(ChannelDemuxerFilter filter, TimeSpan timeout, AsyncCallback callback, object state)
2537public OpenAsyncResult(SessionChannelDemuxer<TInnerChannel, TInnerItem> channelDemuxer, ChannelDemuxerFilter filter, IChannelListener listener, TimeSpan timeout, AsyncCallback callback, object state)
2688public InputSessionChannelDemuxer(BindingContext context, TimeSpan peekTimeout, int maxPendingSessions)
2703protected override IAsyncResult BeginReceive(IInputSessionChannel channel, TimeSpan timeout, AsyncCallback callback, object state)
2754public DuplexSessionChannelDemuxer(BindingContext context, TimeSpan peekTimeout, int maxPendingSessions)
2769protected override IAsyncResult BeginReceive(IDuplexSessionChannel channel, TimeSpan timeout, AsyncCallback callback, object state)
2930public void Send(Message message, TimeSpan timeout)
2940public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
2953public ReplySessionChannelDemuxer(BindingContext context, TimeSpan peekTimeout, int maxPendingSessions)
2969protected override IAsyncResult BeginReceive(IReplySessionChannel channel, TimeSpan timeout, AsyncCallback callback, object state)
3128protected abstract void CloseFirstItem(TimeSpan timeout);
3143this.CloseFirstItem(TimeSpan.Zero);
3146protected override void OnClose(TimeSpan timeout)
3153protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
3211protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
3221protected override void OnOpen(TimeSpan timeout)
3225protected override void CloseFirstItem(TimeSpan timeout)
3242public Message Receive(TimeSpan timeout)
3258public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
3273public bool TryReceive(TimeSpan timeout, out Message message)
3281public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
3299public bool WaitForMessage(TimeSpan timeout)
3306public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
3333protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
3343protected override void OnOpen(TimeSpan timeout)
3347protected override void CloseFirstItem(TimeSpan timeout)
3380public RequestContext ReceiveRequest(TimeSpan timeout)
3396public IAsyncResult BeginReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state)
3411public bool TryReceiveRequest(TimeSpan timeout, out RequestContext request)
3419public IAsyncResult BeginTryReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state)
3437public bool WaitForRequest(TimeSpan timeout)
3444public IAsyncResult BeginWaitForRequest(TimeSpan timeout, AsyncCallback callback, object state)
3483protected override void OnOpen(TimeSpan timeout)
3490protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
3500IAsyncResult OnBeginOuterListenerOpen(TimeSpan timeout, AsyncCallback callback, object state)
3516protected override void OnClose(TimeSpan timeout)
3523protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
3533IAsyncResult OnBeginOuterListenerClose(TimeSpan timeout, AsyncCallback callback, object state)
3571public TimeSpan PeekTimeout
3579if (value < TimeSpan.Zero && value != ChannelDemuxer.UseDefaultReceiveTimeout)
System\ServiceModel\Channels\ChannelReliableSession.cs (16)
24TimeSpan initiationTime;
72public TimeSpan InitiationTime
208public virtual IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
213public abstract IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state);
215public virtual void Close(TimeSpan timeout)
383public abstract void Open(TimeSpan timeout);
707public override IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
727public override void Close(TimeSpan timeout)
751TimeSpan GetPollingInterval()
762return TimeSpan.MaxValue;
765TimeSpan keepAliveInterval = WsrmUtilities.CalculateKeepAliveInterval(this.Settings.InactivityTimeout, this.Settings.MaxRetryCount);
766TimeSpan fastPollingInterval = Ticks.ToTimeSpan(Ticks.FromTimeSpan(this.binder.DefaultSendTimeout) / 2);
824public override void Open(TimeSpan timeout)
1050public OpenAsyncResult(ClientReliableSession session, TimeSpan timeout, AsyncCallback callback, object state)
1131public override IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
1146public override void Open(TimeSpan timeout)
System\ServiceModel\Channels\ClientReliableChannelBinder.cs (42)
24TimeSpan defaultCloseTimeout, TimeSpan defaultSendTimeout)
91public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback,
97public IAsyncResult BeginRequest(Message message, TimeSpan timeout, MaskingMode maskingMode,
105protected override IAsyncResult BeginTryGetChannel(TimeSpan timeout,
128TimeSpan defaultCloseTimeout, TimeSpan defaultSendTimeout)
184protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback,
190protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback,
197TimeSpan timeout, MaskingMode maskingMode, AsyncCallback callback, object state)
202protected override void OnClose(TimeSpan timeout)
222protected override void OnOpen(TimeSpan timeout)
226protected virtual Message OnRequest(TChannel channel, Message message, TimeSpan timeout,
232public Message Request(Message message, TimeSpan timeout)
237public Message Request(Message message, TimeSpan timeout, MaskingMode maskingMode)
295protected override bool TryGetChannel(TimeSpan timeout)
325TimeSpan defaultCloseTimeout, TimeSpan defaultSendTimeout)
356TimeSpan timeout, AsyncCallback callback, object state)
362TimeSpan timeout, AsyncCallback callback, object state)
390TimeSpan timeout)
395protected override bool OnTryReceive(TDuplexChannel channel, TimeSpan timeout,
415TimeSpan defaultCloseTimeout, TimeSpan defaultSendTimeout)
446TimeSpan defaultCloseTimeout, TimeSpan defaultSendTimeout)
466TimeSpan timeout, AsyncCallback callback, object state)
472protected override void CloseChannel(IDuplexSessionChannel channel, TimeSpan timeout)
503TimeSpan defaultCloseTimeout, TimeSpan defaultSendTimeout)
509public override IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback,
576Message message, TimeSpan timeout, MaskingMode maskingMode,
583TimeSpan timeout, AsyncCallback callback, object state)
601TimeSpan timeout, MaskingMode maskingMode)
607TimeSpan timeout)
621public override bool TryReceive(TimeSpan timeout, out RequestContext requestContext)
643TimeSpan timeout, MaskingMode maskingMode, AsyncCallback callback, object state)
661protected override string GetTimeoutString(TimeSpan timeout)
673TimeSpan defaultCloseTimeout, TimeSpan defaultSendTimeout)
704TimeSpan defaultCloseTimeout, TimeSpan defaultSendTimeout)
System\ServiceModel\Channels\CommunicationObject.cs (18)
80protected abstract TimeSpan DefaultCloseTimeout { get; }
81protected abstract TimeSpan DefaultOpenTimeout { get; }
83internal TimeSpan InternalCloseTimeout
88internal TimeSpan InternalOpenTimeout
150public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
152if (timeout < TimeSpan.Zero)
226public IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
228if (timeout < TimeSpan.Zero)
268public void Close(TimeSpan timeout)
270if (timeout < TimeSpan.Zero)
564public void Open(TimeSpan timeout)
566if (timeout < TimeSpan.Zero)
1023protected abstract void OnClose(TimeSpan timeout);
1025protected abstract IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state);
1027protected abstract void OnOpen(TimeSpan timeout);
1028protected abstract IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state);
1088public OpenAsyncResult(CommunicationObject communicationObject, TimeSpan timeout, AsyncCallback callback, object state)
1163public CloseAsyncResult(CommunicationObject communicationObject, TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\Connection.cs (34)
24void Close(TimeSpan timeout, bool asyncAndLinger);
25void Shutdown(TimeSpan timeout);
27AsyncCompletionResult BeginWrite(byte[] buffer, int offset, int size, bool immediate, TimeSpan timeout,
30void Write(byte[] buffer, int offset, int size, bool immediate, TimeSpan timeout);
31void Write(byte[] buffer, int offset, int size, bool immediate, TimeSpan timeout, BufferManager bufferManager);
33int Read(byte[] buffer, int offset, int size, TimeSpan timeout);
34AsyncCompletionResult BeginRead(int offset, int size, TimeSpan timeout, WaitCallback callback, object state);
47IConnection Connect(Uri uri, TimeSpan timeout);
48IAsyncResult BeginConnect(Uri uri, TimeSpan timeout, AsyncCallback callback, object state);
100public virtual void Close(TimeSpan timeout, bool asyncAndLinger)
105public virtual void Shutdown(TimeSpan timeout)
130public virtual AsyncCompletionResult BeginWrite(byte[] buffer, int offset, int size, bool immediate, TimeSpan timeout,
141public virtual void Write(byte[] buffer, int offset, int size, bool immediate, TimeSpan timeout)
146public virtual void Write(byte[] buffer, int offset, int size, bool immediate, TimeSpan timeout, BufferManager bufferManager)
151public virtual int Read(byte[] buffer, int offset, int size, TimeSpan timeout)
156public virtual AsyncCompletionResult BeginRead(int offset, int size, TimeSpan timeout,
207public override int Read(byte[] buffer, int offset, int size, TimeSpan timeout)
223public override AsyncCompletionResult BeginRead(int offset, int size, TimeSpan timeout, WaitCallback callback, object state)
255TimeSpan closeTimeout;
295public TimeSpan CloseTimeout
410protected int Read(byte[] buffer, int offset, int count, TimeSpan timeout)
426public void Shutdown(TimeSpan timeout)
493public ReadAsyncResult(IConnection connection, byte[] buffer, int offset, int count, TimeSpan timeout,
524public WriteAsyncResult(IConnection connection, byte[] buffer, int offset, int count, bool immediate, TimeSpan timeout, AsyncCallback callback, object state)
646public void Close(TimeSpan timeout, bool asyncAndLinger)
659public void Shutdown(TimeSpan timeout)
684public AsyncCompletionResult BeginWrite(byte[] buffer, int offset, int size, bool immediate, TimeSpan timeout,
765public void Write(byte[] buffer, int offset, int size, bool immediate, TimeSpan timeout)
779public void Write(byte[] buffer, int offset, int size, bool immediate, TimeSpan timeout, BufferManager bufferManager)
785void SetReadTimeout(TimeSpan timeout)
795void SetWriteTimeout(TimeSpan timeout)
805public int Read(byte[] buffer, int offset, int size, TimeSpan timeout)
818public AsyncCompletionResult BeginRead(int offset, int size, TimeSpan timeout, WaitCallback callback, object state)
902internal static void CloseNoThrow(IConnection connection, TimeSpan timeout)
System\ServiceModel\Channels\ConnectionDemuxer.cs (10)
40TimeSpan channelInitializationTimeout;
41TimeSpan idleTimeout;
46TimeSpan channelInitializationTimeout, TimeSpan idleTimeout, int maxPooledConnections,
122public void ReuseConnection(IConnection connection, TimeSpan closeTimeout)
321long streamPosition, int offset, int size, TimeSpan timeout)
439long streamPosition, int offset, int size, TimeSpan timeout)
574TimeSpan closeTimeout;
576public ReuseConnectionState(ConnectionModeReader modeReader, TimeSpan closeTimeout)
587public TimeSpan CloseTimeout
System\ServiceModel\Channels\ConnectionOrientedTransportChannelFactory.cs (13)
21TimeSpan idleTimeout;
24TimeSpan maxOutputDelay;
32string connectionPoolGroupName, TimeSpan idleTimeout, int maxOutboundConnectionsPerEndpoint, bool supportsImpersonationDuringAsyncOpen)
109public TimeSpan IdleTimeout
133public TimeSpan MaxOutputDelay
205internal abstract void ReleaseConnectionPool(ConnectionPool pool, TimeSpan timeout);
253ReleaseConnectionPool(localConnectionPool, TimeSpan.Zero);
263protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
273protected override void OnClose(TimeSpan timeout)
301protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
316public OpenAsyncResult(ICommunicationObject communicationObject, TimeSpan timeout, AsyncCallback callback, object state)
364protected override void OnOpen(TimeSpan timeout)
387public CloseAsyncResult(ConnectionOrientedTransportChannelFactory<TChannel> parent, TimeSpan timeout,
System\ServiceModel\Channels\ConnectionOrientedTransportChannelListener.cs (17)
21TimeSpan channelInitializationTimeout;
24TimeSpan maxOutputDelay;
26TimeSpan idleTimeout;
97public TimeSpan IdleTimeout
107internal void SetIdleTimeout(TimeSpan idleTimeout)
160public TimeSpan ChannelInitializationTimeout
184public TimeSpan MaxOutputDelay
241protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
266protected override void OnOpen(TimeSpan timeout)
297protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
315protected override void OnClose(TimeSpan timeout)
388IAsyncResult DummyBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
398protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
416protected override void OnClose(TimeSpan timeout)
473protected override void OnClose(TimeSpan timeout)
483IAsyncResult DummyBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
493protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\ConnectionPool.cs (31)
49protected abstract void CloseItem(TItem item, TimeSpan timeout);
50protected abstract void CloseItemAsync(TItem item, TimeSpan timeout);
59public bool Close(TimeSpan timeout)
122EndpointConnectionPool GetEndpointPool(TKey key, TimeSpan timeout)
171void OnClose(TimeSpan timeout)
203public void AddConnection(TKey key, TItem connection, TimeSpan timeout)
210public TItem TakeConnection(EndpointAddress address, Uri via, TimeSpan timeout, out TKey key)
218public void ReturnConnection(TKey key, TItem connection, bool connectionIsStillGood, TimeSpan timeout)
307protected virtual void CloseItem(TItem item, TimeSpan timeout)
312protected virtual void CloseItemAsync(TItem item, TimeSpan timeout)
339public void Close(TimeSpan timeout)
398public void AddConnection(TItem connection, TimeSpan timeout)
431public TItem TakeConnection(TimeSpan timeout)
485public void ReturnConnection(TItem connection, bool connectionIsStillGood, TimeSpan timeout)
523public void CloseIdleConnection(TItem connection, TimeSpan timeout)
624TimeSpan maxOutputDelay;
627protected ConnectionPool(IConnectionOrientedTransportChannelFactorySettings settings, TimeSpan leaseTimeout)
645protected override void CloseItem(IConnection item, TimeSpan timeout)
650protected override void CloseItemAsync(IConnection item, TimeSpan timeout)
718protected abstract TimeoutException CreateNewConnectionTimeoutException(TimeSpan timeout, TimeoutException innerException);
720public IAsyncResult BeginEstablishConnection(TimeSpan timeout, AsyncCallback callback, object state)
730IConnection TakeConnection(TimeSpan timeout)
735public IConnection EstablishConnection(TimeSpan timeout)
800this.connectionPool.ReturnConnection(connectionKey, localRawConnection, false, TimeSpan.Zero);
810TimeSpan connectTimeout = timeoutHelper.RemainingTime();
861this.connectionPool.ReturnConnection(this.connectionKey, rawConnection, false, TimeSpan.Zero);
879ReleaseConnection(true, TimeSpan.Zero);
882public void Close(TimeSpan timeout)
887void ReleaseConnection(bool abort, TimeSpan timeout)
942TimeSpan connectTimeout;
948TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\ContextChannelRequestContext.cs (6)
14TimeSpan defaultSendTimeout;
17public ContextChannelRequestContext(RequestContext innerContext, ContextProtocol contextProtocol, TimeSpan defaultSendTimeout)
43public override IAsyncResult BeginReply(Message message, TimeSpan timeout, AsyncCallback callback, object state)
53public override void Close(TimeSpan timeout)
68public override void Reply(Message message, TimeSpan timeout)
121public ReplyAsyncResult(Message message, ContextChannelRequestContext context, TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\DatagramAdapter.cs (27)
137result = this.listener.BeginAcceptChannel(TimeSpan.MaxValue, acceptCallbackDelegate, this);
268protected override void OnOpen(TimeSpan timeout)
285protected override void OnClose(TimeSpan timeout)
292protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
304void WaitForAcceptLoop(TimeSpan timeout)
323IAsyncResult BeginWaitForAcceptLoop(TimeSpan timeout, AsyncCallback callback, object state)
661internal AsyncWaiter(TimeSpan timeout, AsyncCallback callback, object state)
664if (timeout != TimeSpan.MaxValue)
722public bool Wait(TimeSpan timeout)
770return channel.BeginReceive(TimeSpan.MaxValue, callback, state);
859return channel.BeginReceiveRequest(TimeSpan.MaxValue, callback, state);
938TimeSpan defaultCloseTimeout;
939TimeSpan defaultOpenTimeout;
940TimeSpan defaultSendTimeout;
964protected override TimeSpan DefaultCloseTimeout
969protected override TimeSpan DefaultOpenTimeout
974protected TimeSpan DefaultSendTimeout
979protected override void OnOpen(TimeSpan timeout)
983protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
1071protected override void OnClose(TimeSpan timeout)
1092protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
1160public void Send(Message message, TimeSpan timeout)
1204public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
1221public SendAsyncResult(OutputDatagramAdapterChannel adapter, Message message, TimeSpan timeout, AsyncCallback callback, object state)
1390public Message Request(Message request, TimeSpan timeout)
1437public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state)
1455public RequestAsyncResult(RequestDatagramAdapterChannel adapter, Message message, TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\DuplexChannel.cs (18)
34public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
39if (timeout < TimeSpan.Zero)
69protected abstract void OnSend(Message message, TimeSpan timeout);
71protected virtual IAsyncResult OnBeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
87public void Send(Message message, TimeSpan timeout)
92if (timeout < TimeSpan.Zero)
111public Message Receive(TimeSpan timeout)
113if (timeout < TimeSpan.Zero)
126public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
128if (timeout < TimeSpan.Zero)
143public bool TryReceive(TimeSpan timeout, out Message message)
145if (timeout < TimeSpan.Zero)
153public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
155if (timeout < TimeSpan.Zero)
168public bool WaitForMessage(TimeSpan timeout)
170if (timeout < TimeSpan.Zero)
178public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
180if (timeout < TimeSpan.Zero)
System\ServiceModel\Channels\FramingChannels.cs (11)
65protected override void CloseOutputSessionCore(TimeSpan timeout)
70protected override void CompleteClose(TimeSpan timeout)
84protected override void OnSendCore(Message message, TimeSpan timeout)
94protected override AsyncCompletionResult BeginCloseOutput(TimeSpan timeout, WaitCallback callback, object state)
105protected override AsyncCompletionResult StartWritingBufferedMessage(Message message, ArraySegment<byte> messageData, bool allowOutputBatching, TimeSpan timeout, WaitCallback callback, object state)
111protected override AsyncCompletionResult StartWritingStreamedMessage(Message message, TimeSpan timeout, WaitCallback callback, object state)
227protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
311protected override void OnOpen(TimeSpan timeout)
339protected override void ReturnConnectionIfNecessary(bool abort, TimeSpan timeout)
398protected override TimeoutException CreateNewConnectionTimeoutException(TimeSpan timeout, TimeoutException innerException)
850public OpenAsyncResult(ClientFramingDuplexSessionChannel duplexChannel, TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\HttpChannelFactory.cs (19)
393SecurityTokenProviderContainer CreateAndOpenTokenProvider(TimeSpan timeout, AuthenticationSchemes authenticationScheme,
520protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
531protected override void OnOpen(TimeSpan timeout)
733SecurityTokenProviderContainer proxyTokenProvider, SecurityTokenContainer clientCertificateToken, TimeSpan timeout, bool isWebSocketRequest)
856void CreateAndOpenTokenProvidersCore(EndpointAddress to, Uri via, ChannelParameterCollection channelParameters, TimeSpan timeout, out SecurityTokenProviderContainer tokenProvider, out SecurityTokenProviderContainer proxyTokenProvider)
870internal void CreateAndOpenTokenProviders(EndpointAddress to, Uri via, ChannelParameterCollection channelParameters, TimeSpan timeout, out SecurityTokenProviderContainer tokenProvider, out SecurityTokenProviderContainer proxyTokenProvider)
884SecurityTokenProviderContainer proxyTokenProvider, SecurityTokenContainer clientCertificateToken, TimeSpan timeout, bool isWebSocketRequest)
977void CreateAndOpenTokenProviders(TimeSpan timeout)
986void CloseTokenProviders(TimeSpan timeout)
1011protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
1019protected override void OnOpen(TimeSpan timeout)
1052protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
1075protected override void OnClose(TimeSpan timeout)
1209public void SendRequest(Message message, TimeSpan timeout)
1291public Message WaitForReply(TimeSpan timeout)
1441public void BeginSendRequest(Message message, TimeSpan timeout)
1714void SetSendTimeout(TimeSpan timeout)
1720if (timeout == TimeSpan.MaxValue)
2142public IWebProxy CreateWebProxy(HttpWebRequest request, SecurityTokenProviderContainer tokenProvider, TimeSpan timeout)
System\ServiceModel\Channels\HttpChannelHelpers.cs (20)
1057TimeSpan timeSpan = this.CanTimeout ? TimeoutHelper.FromMilliseconds(this.ReadTimeout) : TimeSpan.MaxValue;
1501void WriteStreamedMessage(TimeSpan timeout)
1543IAsyncResult BeginWriteStreamedMessage(HttpResponseMessage httpResponseMessage, TimeSpan timeout, AsyncCallback callback, object state)
1631public WriteStreamedMessageAsyncResult(TimeSpan timeout, HttpOutput httpOutput, HttpResponseMessage httpResponseMessage, AsyncCallback callback, object state)
1767void SetTimer(TimeSpan timeout)
1781public IAsyncResult BeginSend(HttpResponseMessage httpResponseMessage, TimeSpan timeout, AsyncCallback callback, object state)
1787public IAsyncResult BeginSend(TimeSpan timeout, AsyncCallback callback, object state)
1792IAsyncResult BeginSendCore(HttpResponseMessage httpResponseMessage, TimeSpan timeout, AsyncCallback callback, object state)
1861public void Send(HttpResponseMessage httpResponseMessage, TimeSpan timeout)
1945public void Send(TimeSpan timeout)
2029public SendAsyncResult(HttpOutput httpOutput, HttpResponseMessage httpResponseMessage, bool suppressEntityBody, TimeSpan timeout, AsyncCallback callback, object state)
3279public static void SetRequestTimeout(HttpWebRequest request, TimeSpan timeout)
3436SecurityTokenProviderContainer credentialProvider, TimeSpan timeout,
3454SecurityTokenProviderContainer credentialProvider, TimeSpan timeout,
3625public static Exception CreateResponseIOException(IOException ioException, TimeSpan receiveTimeout)
3645TimeSpan.FromMilliseconds(response.GetResponseStream().ReadTimeout)), webException));
3675return SocketConnection.ConvertTransferException((SocketException)ioException.InnerException, TimeSpan.FromMilliseconds(request.Timeout), exception);
3683return SR.GetString(SR.HttpRequestTimedOut, request.RequestUri, TimeSpan.FromMilliseconds(request.Timeout));
3708return SocketConnectionInitiator.ConvertConnectException((SocketException)webException.InnerException, request.RequestUri, TimeSpan.MaxValue, webException);
System\ServiceModel\Channels\HttpChannelListener.cs (12)
46readonly TimeSpan requestInitializationTimeout;
138public TimeSpan RequestInitializationTimeout
479protected void CloseUserNameTokenAuthenticator(TimeSpan timeout)
902public TChannel AcceptChannel(TimeSpan timeout)
908public IAsyncResult BeginAcceptChannel(TimeSpan timeout, AsyncCallback callback, object state)
965protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
970protected override void OnOpen(TimeSpan timeout)
982protected override void OnClose(TimeSpan timeout)
997protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
1075protected override bool OnWaitForChannel(TimeSpan timeout)
1080protected override IAsyncResult OnBeginWaitForChannel(TimeSpan timeout, AsyncCallback callback, object state)
1415public LifetimeWrappedCloseAsyncResult(TimeSpan timeout, AsyncCallback callback, object state, CommunicationObjectManager<TCommunicationObject> communicationObjectManager, ChainedBeginHandler begin1, ChainedEndHandler end1, ICommunicationObject[] communicationObjects)
System\ServiceModel\Channels\HttpRequestContext.cs (6)
147protected override void OnClose(TimeSpan timeout)
312protected override void OnReply(Message message, TimeSpan timeout)
343Message message, TimeSpan timeout, AsyncCallback callback, object state)
483public void AcceptWebSocket(HttpResponseMessage response, string protocol, TimeSpan timeout)
565public ReplyAsyncResult(HttpRequestContext context, Message message, TimeSpan timeout, AsyncCallback callback, object state)
869protected override void OnClose(TimeSpan timeout)
System\ServiceModel\Channels\InputChannel.cs (19)
42protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
52protected override void OnOpen(TimeSpan timeout)
61public virtual Message Receive(TimeSpan timeout)
63if (timeout < TimeSpan.Zero)
77public virtual IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
79if (timeout < TimeSpan.Zero)
95public virtual bool TryReceive(TimeSpan timeout, out Message message)
97if (timeout < TimeSpan.Zero)
107public virtual IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
109if (timeout < TimeSpan.Zero)
124public bool WaitForMessage(TimeSpan timeout)
126if (timeout < TimeSpan.Zero)
136public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
138if (timeout < TimeSpan.Zero)
152internal static Message HelpReceive(IInputChannel channel, TimeSpan timeout)
165internal static IAsyncResult HelpBeginReceive(IInputChannel channel, TimeSpan timeout, AsyncCallback callback, object state)
178TimeSpan timeout;
182public HelpReceiveAsyncResult(IInputChannel channel, TimeSpan timeout, AsyncCallback callback, object state)
241static Exception CreateReceiveTimedOutException(IInputChannel channel, TimeSpan timeout)
System\ServiceModel\Channels\InternalDuplexChannelListener.cs (18)
40protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
50protected override void OnClose(TimeSpan timeout)
63protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
73protected override void OnOpen(TimeSpan timeout)
117TimeSpan sendTimeout;
151public Message Receive(TimeSpan timeout)
161public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
171public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
181public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
201protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
211protected override void OnClose(TimeSpan timeout)
217protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
227protected override void OnOpen(TimeSpan timeout)
232public bool TryReceive(TimeSpan timeout, out Message message)
242public void Send(Message message, TimeSpan timeout)
292public SendAsyncResult(ServerCompositeDuplexChannel outer, Message message, TimeSpan timeout, AsyncCallback callback, object state)
361public bool WaitForMessage(TimeSpan timeout)
366public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\IReliableChannelBinder.cs (21)
14TimeSpan DefaultSendTimeout { get; }
25void Close(TimeSpan timeout);
26void Close(TimeSpan timeout, MaskingMode maskingMode);
27IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state);
28IAsyncResult BeginClose(TimeSpan timeout, MaskingMode maskingMode, AsyncCallback callback, object state);
31void Open(TimeSpan timeout);
32IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state);
35IAsyncResult BeginSend(Message message, TimeSpan timeout, MaskingMode maskingMode, AsyncCallback callback, object state);
36IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state);
38void Send(Message message, TimeSpan timeout);
39void Send(Message message, TimeSpan timeout, MaskingMode maskingMode);
41bool TryReceive(TimeSpan timeout, out RequestContext requestContext);
42bool TryReceive(TimeSpan timeout, out RequestContext requestContext, MaskingMode maskingMode);
43IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state);
44IAsyncResult BeginTryReceive(TimeSpan timeout, MaskingMode maskingMode, AsyncCallback callback, object state);
61IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state);
62IAsyncResult BeginRequest(Message message, TimeSpan timeout, MaskingMode maskingMode, AsyncCallback callback, object state);
64Message Request(Message message, TimeSpan timeout);
65Message Request(Message message, TimeSpan timeout, MaskingMode maskingMode);
74IAsyncResult BeginWaitForRequest(TimeSpan timeout, AsyncCallback callback, object state);
76bool WaitForRequest(TimeSpan timeout);
System\ServiceModel\Channels\LayeredChannelFactory.cs (16)
41protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
51protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
61protected override void OnClose(TimeSpan timeout)
68protected override void OnOpen(TimeSpan timeout)
111public Message Receive(TimeSpan timeout)
123public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
135public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
147public bool TryReceive(TimeSpan timeout, out Message message)
154public bool WaitForMessage(TimeSpan timeout)
159public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
212protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
222protected override void OnClose(TimeSpan timeout)
229protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
239protected override void OnOpen(TimeSpan timeout)
251public void Send(Message message, TimeSpan timeout)
261public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\LayeredChannelListener.cs (10)
111protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
122protected override void OnClose(TimeSpan timeout)
140protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
150protected override void OnOpen(TimeSpan timeout)
193public OpenAsyncResult(ICommunicationObject communicationObject, bool sharedInnerListener, TimeSpan timeout, AsyncCallback callback, object state)
247public CloseAsyncResult(ICommunicationObject communicationObject, bool sharedInnerListener, TimeSpan timeout, AsyncCallback callback, object state)
312public override TChannel AcceptChannel(TimeSpan timeout)
321public override IAsyncResult BeginAcceptChannel(TimeSpan timeout, AsyncCallback callback, object state)
335public override bool WaitForChannel(TimeSpan timeout)
340public override IAsyncResult BeginWaitForChannel(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\LifetimeManager.cs (14)
81public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
96public void Close(TimeSpan timeout)
112CommunicationWaitResult CloseCore(TimeSpan timeout, bool aborting)
209CloseCore(TimeSpan.FromSeconds(1), true);
212protected virtual IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
245protected virtual void OnClose(TimeSpan timeout)
287CommunicationWaitResult Wait(TimeSpan timeout, bool aborting);
296TimeSpan timeout;
298public CloseCommunicationAsyncResult(TimeSpan timeout, AsyncCallback callback, object state, object mutex)
305if (timeout < TimeSpan.Zero)
355public CommunicationWaitResult Wait(TimeSpan timeout, bool aborting)
357if (timeout < TimeSpan.Zero)
421public CommunicationWaitResult Wait(TimeSpan timeout, bool aborting)
427if (timeout < TimeSpan.Zero)
System\ServiceModel\Channels\MsmqInputChannelBase.cs (10)
68protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
74protected override void OnOpen(TimeSpan timeout)
89protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
95protected override void OnClose(TimeSpan timeout)
124public Message Receive(TimeSpan timeout)
134public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
148public bool TryReceive(TimeSpan timeout, out Message message)
203public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
273public bool WaitForMessage(TimeSpan timeout)
293public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\MsmqInputSessionChannel.cs (19)
74void AbandonMessage(TimeSpan timeout)
80void CompleteMessage(TimeSpan timeout)
95public override Message Receive(TimeSpan timeout)
105public override IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
110public override bool TryReceive(TimeSpan timeout, out Message message)
136public override IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
188this.sessiongramReceiveContext.Abandon(TimeSpan.MaxValue);
196this.sessiongramReceiveContext.Abandon(TimeSpan.MaxValue);
238protected override void OnClose(TimeSpan timeout)
244protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
338protected override void OnAbandon(TimeSpan timeout)
343protected override IAsyncResult OnBeginAbandon(TimeSpan timeout, AsyncCallback callback, object state)
348protected override IAsyncResult OnBeginComplete(TimeSpan timeout, AsyncCallback callback, object state)
353protected override void OnComplete(TimeSpan timeout)
377SessionReceiveContextAsyncResult(MsmqSessionReceiveContext receiveContext, TimeSpan timeout, AsyncCallback callback, object state, Action<object> target)
386public static IAsyncResult CreateComplete(MsmqSessionReceiveContext receiveContext, TimeSpan timeout, AsyncCallback callback, object state)
395public static IAsyncResult CreateAbandon(MsmqSessionReceiveContext receiveContext, TimeSpan timeout, AsyncCallback callback, object state)
478this.sessiongramReceiveContext.Abandon(TimeSpan.MaxValue);
492this.sessiongramReceiveContext.Complete(TimeSpan.MaxValue);
System\ServiceModel\Channels\MsmqOutputChannel.cs (9)
49void OnCloseCore(bool isAborting, TimeSpan timeout)
62protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
73protected override void OnClose(TimeSpan timeout)
80OnCloseCore(true, TimeSpan.Zero);
83void OnOpenCore(TimeSpan timeout)
113protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
124protected override void OnOpen(TimeSpan timeout)
129protected override IAsyncResult OnBeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
140protected override void OnSend(Message message, TimeSpan timeout)
System\ServiceModel\Channels\MsmqOutputSessionChannel.cs (9)
79void OnCloseCore(bool isAborting, TimeSpan timeout)
139this.OnCloseCore(true, TimeSpan.Zero);
142protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
153protected override void OnClose(TimeSpan timeout)
158void OnOpenCore(TimeSpan timeout)
172protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
183protected override void OnOpen(TimeSpan timeout)
188protected override IAsyncResult OnBeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
199protected override void OnSend(Message message, TimeSpan timeout)
System\ServiceModel\Channels\MsmqQueue.cs (9)
398public virtual ReceiveResult TryReceive(NativeMsmqMessage message, TimeSpan timeout, MsmqTransactionMode transactionMode)
403ReceiveResult TryReceiveInternal(NativeMsmqMessage message, TimeSpan timeout, MsmqTransactionMode transactionMode, int action)
545unsafe int ReceiveCoreDtcTransacted(MsmqQueueHandle handle, NativeMsmqMessage message, TimeSpan timeout, MsmqTransactionMode transactionMode, int action)
578unsafe int ReceiveCore(MsmqQueueHandle handle, NativeMsmqMessage message, TimeSpan timeout, MsmqTransactionMode transactionMode, int action)
614public ReceiveResult TryPeek(NativeMsmqMessage message, TimeSpan timeout)
716unsafe int ReceiveCoreAsync(MsmqQueueHandle handle, IntPtr nativePropertiesPointer, TimeSpan timeout,
727public IAsyncResult BeginTryReceive(NativeMsmqMessage message, TimeSpan timeout,
739public IAsyncResult BeginPeek(NativeMsmqMessage message, TimeSpan timeout,
764public TryReceiveAsyncResult(MsmqQueue msmqQueue, NativeMsmqMessage message, TimeSpan timeout,
System\ServiceModel\Channels\MsmqReceiveContext.cs (9)
28public TimeSpan ValidityDuration
40internal void SetValidityDuration(TimeSpan validityDuration)
89protected override void OnComplete(TimeSpan timeout)
94protected override void OnAbandon(TimeSpan timeout)
99protected override IAsyncResult OnBeginComplete(TimeSpan timeout, AsyncCallback callback, object state)
109protected override IAsyncResult OnBeginAbandon(TimeSpan timeout, AsyncCallback callback, object state)
127ReceiveContextAsyncResult(MsmqReceiveContext receiver, TimeSpan timeout, AsyncCallback callback, object state, Action<object> target)
141public static IAsyncResult CreateComplete(MsmqReceiveContext receiver, TimeSpan timeout, AsyncCallback callback, object state)
150public static IAsyncResult CreateAbandon(MsmqReceiveContext receiver, TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\MsmqReceiveHelper.cs (8)
39Thread.Sleep(TimeSpan.FromMilliseconds(MillisecondsToSleep));
246internal bool WaitForMessage(TimeSpan timeout)
254internal IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
264internal bool TryReceive(MsmqInputMessage msmqMessage, TimeSpan timeout, MsmqTransactionMode transactionMode, out MsmqMessageProperty property)
289internal IAsyncResult BeginTryReceive(MsmqInputMessage msmqMessage, TimeSpan timeout, MsmqTransactionMode transactionMode, AsyncCallback callback, object state)
334TimeSpan timeout, MsmqTransactionMode transactionMode, AsyncCallback callback, object state)
389internal TryNonTransactedReceiveAsyncResult(MsmqReceiveHelper receiver, MsmqInputMessage msmqMessage, TimeSpan timeout, AsyncCallback callback, object state)
443public WaitForMessageAsyncResult(MsmqQueue msmqQueue, TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\OneWayChannelFactory.cs (24)
125protected override void OnOpen(TimeSpan timeout)
130protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
140protected override void OnClose(TimeSpan timeout)
145protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
179protected override void OnSend(Message message, TimeSpan timeout)
188protected override IAsyncResult OnBeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
298protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
303protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
308protected override IAsyncResult OnBeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
314protected override void OnClose(TimeSpan timeout)
334protected override void OnOpen(TimeSpan timeout)
339protected override void OnSend(Message message, TimeSpan timeout)
401this.channelPool.Close(TimeSpan.Zero);
406protected override void OnClose(TimeSpan timeout)
416protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
463protected override void OnOpen(TimeSpan timeout)
467protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
481this.channelPool.Close(TimeSpan.Zero);
485protected override void OnClose(TimeSpan timeout)
493protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
508protected override IAsyncResult OnBeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
518protected override void OnSend(Message message, TimeSpan timeout)
558channel.BeginReceive(TimeSpan.MaxValue, this.onReceive, channel);
663public SendAsyncResult(DuplexSessionOutputChannel parent, Message message, TimeSpan timeout,
System\ServiceModel\Channels\OneWayChannelListener.cs (36)
37protected override IInputChannel OnAcceptChannel(TimeSpan timeout)
43protected override IAsyncResult OnBeginAcceptChannel(TimeSpan timeout, AsyncCallback callback, object state)
54protected override bool OnWaitForChannel(TimeSpan timeout)
59protected override IAsyncResult OnBeginWaitForChannel(TimeSpan timeout, AsyncCallback callback, object state)
96Message ProcessContext(RequestContext context, TimeSpan timeout)
156public Message Receive(TimeSpan timeout)
168public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
178public bool TryReceive(TimeSpan timeout, out Message message)
194public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
204public bool WaitForMessage(TimeSpan timeout)
209public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
223public TryReceiveAsyncResult(IReplyChannel innerChannel, TimeSpan timeout, bool validateHeader,
236protected override IAsyncResult OnBeginReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state)
251public ReceiveAsyncResult(IReplyChannel innerChannel, TimeSpan timeout, bool validateHeader,
263protected override IAsyncResult OnBeginReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state)
284protected ReceiveAsyncResultBase(IReplyChannel innerChannel, TimeSpan timeout, bool validateHeader,
319protected abstract IAsyncResult OnBeginReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state);
505protected override IInputChannel OnAcceptChannel(TimeSpan timeout)
511protected override IAsyncResult OnBeginAcceptChannel(TimeSpan timeout, AsyncCallback callback, object state)
516protected override IAsyncResult OnBeginWaitForChannel(TimeSpan timeout, AsyncCallback callback, object state)
532protected override bool OnWaitForChannel(TimeSpan timeout)
569public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
574public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
579public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
607public Message Receive(TimeSpan timeout)
613public bool TryReceive(TimeSpan timeout, out Message message)
620public bool WaitForMessage(TimeSpan timeout)
648TimeSpan idleTimeout;
734result = this.innerChannelListener.BeginAcceptChannel(TimeSpan.MaxValue, onAcceptInnerChannel, this);
1086protected override void OnOpen(TimeSpan timeout)
1094protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
1117protected override void OnClose(TimeSpan timeout)
1128protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
1196protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
1213protected override void OnClose(TimeSpan timeout)
1236TimeSpan idleTimeout;
System\ServiceModel\Channels\PeerChannelListener.cs (16)
162void OnCloseCore(TimeSpan timeout)
170protected override void OnClose(TimeSpan timeout)
195protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
207void OnOpenCore(TimeSpan timeout)
215protected override void OnOpen(TimeSpan timeout)
220protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
300public TChannel AcceptChannel(TimeSpan timeout)
306public IAsyncResult BeginAcceptChannel(TimeSpan timeout, AsyncCallback callback, object state)
317void OnCloseCore(TimeSpan timeout)
324protected override void OnClose(TimeSpan timeout)
336protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
348void OnOpenCore(TimeSpan timeout)
356protected override void OnOpen(TimeSpan timeout)
362protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
374protected override bool OnWaitForChannel(TimeSpan timeout)
379protected override IAsyncResult OnBeginWaitForChannel(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\PeerFlooder.cs (5)
139public virtual IAsyncResult BeginFloodEncodedMessage(byte[] id, MessageBuffer encodedMessage, TimeSpan timeout, AsyncCallback callback, object state)
161TimeSpan timeout, AsyncCallback callback, object state, int index, MessageHeader hopHeader)
195protected IAsyncResult BeginSendHelper(IPeerNeighbor neighbor, TimeSpan timeout, Message message, FloodAsyncResult fresult)
249TimeSpan timeout, AsyncCallback callback, object state,
837public FloodAsyncResult(PeerNeighborManager owner, TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\PeerNeighborManager.cs (10)
134public IAsyncResult BeginOpenNeighbor(PeerNodeAddress remoteAddress, TimeSpan timeout, AsyncCallback callback, object asyncState)
148internal IAsyncResult BeginOpenNeighborInternal(PeerNodeAddress remoteAddress, TimeSpan timeout, AsyncCallback callback, object asyncState)
671public void Shutdown(bool graceful, TimeSpan timeout)
721void Shutdown(PeerNeighbor[] neighbors, TimeSpan timeout)
1045PeerService service, ClosedCallback closedCallback, TimeSpan timeout,
1057InstanceContext instanceContext, TimeSpan timeout, AsyncCallback callback, object state)
1087TimeSpan timeout, AsyncCallback callback, object asyncState)
1417PeerService service, ClosedCallback closedCallback, TimeSpan timeout,
1514&& timeoutHelper.RemainingTime() > TimeSpan.Zero
1616PeerService service, ClosedCallback closedCallback, TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\PeerNodeImplementation.cs (16)
334public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
339public IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state, bool waitForOnline)
365public void SecureOutgoingMessage(ref Message message, Uri via, TimeSpan timeout, SecurityProtocol securityProtocol)
374ITransportFactorySettings settings, TimeSpan timeout, AsyncCallback callback, object state, SecurityProtocol securityProtocol)
479public void Close(TimeSpan timeout)
484void CloseCore(TimeSpan timeout, bool graceful)
835void InternalClose(TimeSpan timeout, bool graceful)
846InternalClose(TimeSpan.FromTicks(0), false);
849protected void OnClose(TimeSpan timeout)
1056void RegisterAddress(string lclMeshId, PeerNodeAddress nodeAddress, TimeSpan timeout)
1090UnregisterAddress((TimeSpan)timeout);
1099void UnregisterAddress(TimeSpan timeout)
1216void OnOpen(TimeSpan timeout, bool waitForOnline)
1269CloseCore(TimeSpan.FromTicks(0), false);
1279internal void Open(TimeSpan timeout, bool waitForOnline)
1285void OpenCore(TimeSpan timeout)
System\ServiceModel\Channels\PeerNodeStateManager.cs (9)
73public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
97public IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state, bool waitForOnline)
123public void Close(TimeSpan timeout)
158public void Open(TimeSpan timeout, bool waitForOnline)
223PeerNodeImplementation peerNode, TimeSpan timeout, AsyncCallback callback, object state)
246else if (timeoutHelper.RemainingTime() <= TimeSpan.Zero)
301public OpenOperation(SimpleStateManager stateManager, PeerNodeImplementation peerNode, TimeSpan timeout,
326else if (timeoutHelper.RemainingTime() <= TimeSpan.Zero)
394public OperationBase(SimpleStateManager stateManager, TimeSpan timeout,
System\ServiceModel\Channels\PipeConnection.cs (29)
75TimeSpan readTimeout;
80TimeSpan writeTimeout;
231public unsafe AsyncCompletionResult BeginRead(int offset, int size, TimeSpan timeout,
269if (this.readTimeout != TimeSpan.MaxValue)
328public unsafe AsyncCompletionResult BeginWrite(byte[] buffer, int offset, int size, bool immediate, TimeSpan timeout,
424public void Close(TimeSpan timeout, bool asyncAndLinger)
598FinishPendingWrite(TimeSpan.Zero);
738void FinishPendingWrite(TimeSpan timeout)
856if (this.readTimeout != TimeSpan.MaxValue && !this.ReadTimer.Cancel())
988unsafe public int Read(byte[] buffer, int offset, int size, TimeSpan timeout)
1045public void Shutdown(TimeSpan timeout)
1077unsafe void StartWriteZero(TimeSpan timeout)
1106void WaitForReadZero(TimeSpan timeout, bool traceExceptionsAsErrors)
1146void WaitForWriteZero(TimeSpan timeout, bool traceExceptionsAsErrors)
1177public void Write(byte[] buffer, int offset, int size, bool immediate, TimeSpan timeout)
1184unsafe void WriteHelper(byte[] buffer, int offset, int size, bool immediate, TimeSpan timeout, ref object holder)
1251public unsafe void Write(byte[] buffer, int offset, int size, bool immediate, TimeSpan timeout, BufferManager bufferManager)
1403unsafe void WaitForSyncRead(TimeSpan timeout, bool traceExceptionsAsErrors)
1497void WaitForSyncWrite(TimeSpan timeout, bool traceExceptionsAsErrors)
1503unsafe void WaitForSyncWrite(TimeSpan timeout, bool traceExceptionsAsErrors, ref object holder)
1650public IConnection Connect(Uri remoteUri, TimeSpan timeout)
1764public IAsyncResult BeginConnect(Uri uri, TimeSpan timeout, AsyncCallback callback, object state)
1774void PrepareConnect(Uri remoteUri, TimeSpan timeout, out string resolvedAddress, out BackoffTimeoutHelper backoffHelper)
1785TimeSpan backoffTimeout;
1786if (timeout >= TimeSpan.FromMilliseconds(backoffBufferMilliseconds * 2))
1788backoffTimeout = TimeoutHelper.Add(timeout, TimeSpan.Zero - TimeSpan.FromMilliseconds(backoffBufferMilliseconds));
1795backoffHelper = new BackoffTimeoutHelper(backoffTimeout, TimeSpan.FromMinutes(5));
1893public ConnectAsyncResult(PipeConnectionInitiator parent, Uri remoteUri, TimeSpan timeout,
System\ServiceModel\Channels\PnrpPeerResolver.cs (17)
47static TimeSpan MaxTimeout = new TimeSpan(0, 10, 0); //PNRP validates the timeout to be no greater than 10 minutes
48static TimeSpan MaxResolveTimeout = new TimeSpan(0, 0, 45);
52static TimeSpan TimeToWaitForStatus = TimeSpan.FromSeconds(15);
227public override object Register(string meshId, PeerNodeAddress nodeAddress, TimeSpan timeout)
337public override void Unregister(object registrationId, TimeSpan timeout)
357public override void Update(object registrationId, PeerNodeAddress updatedNodeAddress, TimeSpan timeout)
625public override ReadOnlyCollection<PeerNodeAddress> Resolve(string meshId, int maxAddresses, TimeSpan timeout)
637TimeoutHelper timeoutHelper = new TimeoutHelper(TimeSpan.Compare(timeout, MaxResolveTimeout) <= 0 ? timeout : MaxResolveTimeout);
1641public bool IsPnrpServiceRunning(TimeSpan waitForService)
1679public bool IsPnrpAvailable(TimeSpan waitForService)
1869public void Register(PnrpRegistration registration, TimeSpan timeout)
1908public void Unregister(string peerName, List<string> clouds, TimeSpan timeout)
1924public void Unregister(string peerName, string cloudName, TimeSpan timeout)
1993PnrpResolveCriteria resolveCriteria, TimeSpan timeout, List<PnrpRegistration> results)
1999PnrpResolveCriteria resolveCriteria, uint scopeId, string cloudName, TimeSpan timeout, List<PnrpRegistration> results)
2065if (timeoutHelper.RemainingTime() == TimeSpan.Zero)
System\ServiceModel\Channels\ReceiveContext.cs (19)
76public virtual void Abandon(TimeSpan timeout)
81public virtual void Abandon(Exception exception, TimeSpan timeout)
137public virtual IAsyncResult BeginAbandon(TimeSpan timeout, AsyncCallback callback, object state)
142public virtual IAsyncResult BeginAbandon(Exception exception, TimeSpan timeout, AsyncCallback callback, object state)
148public virtual IAsyncResult BeginComplete(TimeSpan timeout, AsyncCallback callback, object state)
154public virtual void Complete(TimeSpan timeout)
212void EnsureValidTimeout(TimeSpan timeout)
214if (timeout < TimeSpan.Zero)
240protected abstract void OnAbandon(TimeSpan timeout);
241protected virtual void OnAbandon(Exception exception, TimeSpan timeout)
247protected abstract IAsyncResult OnBeginAbandon(TimeSpan timeout, AsyncCallback callback, object state);
248protected virtual IAsyncResult OnBeginAbandon(Exception exception, TimeSpan timeout, AsyncCallback callback, object state)
254protected abstract IAsyncResult OnBeginComplete(TimeSpan timeout, AsyncCallback callback, object state);
256protected abstract void OnComplete(TimeSpan timeout);
390void WaitForStateLock(TimeSpan timeout)
402bool WaitForStateLockAsync(TimeSpan timeout, FastAsyncCallback callback, object state)
417public AbandonAsyncResult(ReceiveContext receiveContext, Exception exception, TimeSpan timeout, AsyncCallback callback, object state)
524public CompleteAsyncResult(ReceiveContext receiveContext, TimeSpan timeout, AsyncCallback callback, object state)
659public WaitAndContinueOperationAsyncResult(ReceiveContext receiveContext, TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\ReliableChannelBinder.cs (92)
32TimeSpan defaultCloseTimeout;
34TimeSpan defaultSendTimeout;
41TolerateFaultsMode faultMode, TimeSpan defaultCloseTimeout,
42TimeSpan defaultSendTimeout)
95public TimeSpan DefaultSendTimeout
202public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback,
208public IAsyncResult BeginClose(TimeSpan timeout, MaskingMode maskingMode,
224protected virtual IAsyncResult BeginCloseChannel(TChannel channel, TimeSpan timeout,
230public IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
263public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback,
269public IAsyncResult BeginSend(Message message, TimeSpan timeout, MaskingMode maskingMode,
278protected abstract IAsyncResult BeginTryGetChannel(TimeSpan timeout,
281public virtual IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback,
287public virtual IAsyncResult BeginTryReceive(TimeSpan timeout, MaskingMode maskingMode,
296internal IAsyncResult BeginWaitForPendingOperations(TimeSpan timeout,
365public void Close(TimeSpan timeout)
370public void Close(TimeSpan timeout, MaskingMode maskingMode)
444protected virtual void CloseChannel(TChannel channel, TimeSpan timeout)
669protected abstract IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback,
671protected abstract IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback,
675TimeSpan timeout, AsyncCallback callback, object state)
680protected virtual IAsyncResult OnBeginTryReceive(TChannel channel, TimeSpan timeout,
686protected abstract void OnClose(TimeSpan timeout);
738protected abstract void OnOpen(TimeSpan timeout);
793protected virtual void OnSend(TChannel channel, Message message, TimeSpan timeout)
798protected virtual bool OnTryReceive(TChannel channel, TimeSpan timeout,
804public void Open(TimeSpan timeout)
851public void Send(Message message, TimeSpan timeout)
856public void Send(Message message, TimeSpan timeout, MaskingMode maskingMode)
955void ThrowIfTimeoutNegative(TimeSpan timeout)
957if (timeout < TimeSpan.Zero)
980protected abstract bool TryGetChannel(TimeSpan timeout);
982public virtual bool TryReceive(TimeSpan timeout, out RequestContext requestContext)
987public virtual bool TryReceive(TimeSpan timeout, out RequestContext requestContext, MaskingMode maskingMode)
1053protected bool ValidateInputOperation(TimeSpan timeout)
1055if (timeout < TimeSpan.Zero)
1064protected bool ValidateOutputOperation(Message message, TimeSpan timeout, MaskingMode maskingMode)
1071if (timeout < TimeSpan.Zero)
1080internal void WaitForPendingOperations(TimeSpan timeout)
1274public IAsyncResult BeginTryGetChannelForInput(bool canGetChannel, TimeSpan timeout,
1281public IAsyncResult BeginTryGetChannelForOutput(TimeSpan timeout,
1289TimeSpan timeout, MaskingMode maskingMode, AsyncCallback callback, object state)
1371public IAsyncResult BeginWaitForPendingOperations(TimeSpan timeout,
1494if (this.binder.TryGetChannel(TimeSpan.Zero))
1941if (!this.binder.TryGetChannel(TimeSpan.Zero))
2007public bool TryGetChannelForInput(bool canGetChannel, TimeSpan timeout,
2014public bool TryGetChannelForOutput(TimeSpan timeout, MaskingMode maskingMode,
2020bool TryGetChannel(bool canGetChannel, bool canCauseFault, TimeSpan timeout,
2144public void WaitForPendingOperations(TimeSpan timeout)
2203TChannel channel, TimeSpan timeout, MaskingMode maskingMode,
2541TimeSpan timeout = this.timeoutHelper.RemainingTime();
2543if (timeout > TimeSpan.Zero)
2581TChannel channel, TimeSpan timeout, MaskingMode maskingMode,
2735TimeoutHelper.WaitOne(this.completeEvent, TimeSpan.MaxValue);
2754TimeSpan timeout, MaskingMode maskingMode, AsyncCallback callback, object state)
2938public InputAsyncResult(TBinder binder, bool canGetChannel, TimeSpan timeout,
2949TimeSpan timeout, AsyncCallback callback, object state);
3219protected override void OnClose(TimeSpan timeout)
3223protected override IAsyncResult OnBeginReply(Message message, TimeSpan timeout, AsyncCallback callback, object state)
3233protected override void OnReply(Message message, TimeSpan timeout)
3246public ReplyAsyncResult(MessageRequestContext context, Message message, TimeSpan timeout, AsyncCallback callback, object state)
3311TimeSpan timeout;
3329Message message, TimeSpan timeout, MaskingMode maskingMode, AsyncCallback callback,
3379protected abstract string GetTimeoutString(TimeSpan timeout);
3467public void Start(Message message, TimeSpan timeout, MaskingMode maskingMode)
3543protected override IAsyncResult OnBeginReply(Message message, TimeSpan timeout,
3571protected override void OnClose(TimeSpan timeout)
3624protected override void OnReply(Message message, TimeSpan timeout)
3659TChannel channel, Message message, TimeSpan timeout, MaskingMode maskingMode,
3677protected override string GetTimeoutString(TimeSpan timeout)
3687public TryReceiveAsyncResult(ReliableChannelBinder<TChannel> binder, TimeSpan timeout,
3696TChannel channel, TimeSpan timeout, AsyncCallback callback, object state)
3730TimeSpan timeout, AsyncCallback callback, object state)
3738TimeSpan timeout, AsyncCallback callback, object state)
3746TimeSpan timeout)
3753TimeSpan iterationTimeout = timeoutHelper.RemainingTime();
3754bool lastIteration = (iterationTimeout == TimeSpan.Zero);
3802lastIteration = (iterationTimeout == TimeSpan.Zero);
3810TimeSpan timeout)
3816TimeSpan iterationTimeout = timeoutHelper.RemainingTime();
3817bool lastIteration = (iterationTimeout == TimeSpan.Zero);
3868lastIteration = (iterationTimeout == TimeSpan.Zero);
3915TimeSpan timeout, AsyncCallback callback, object state)
3931protected TimeSpan RemainingTime
3952protected abstract IAsyncResult BeginTryInput(TimeSpan timeout, AsyncCallback callback,
4129TimeSpan iterationTimeout = this.RemainingTime;
4130this.lastReceive = (iterationTimeout == TimeSpan.Zero);
4170this.lastReceive = (iterationTimeout == TimeSpan.Zero);
4186TimeSpan timeout, AsyncCallback callback, object state)
4201protected override IAsyncResult BeginTryInput(TimeSpan timeout, AsyncCallback callback, object state)
4260TimeSpan timeout, AsyncCallback callback, object state)
4267protected override IAsyncResult BeginTryInput(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\ReliableChannelListener.cs (25)
25TimeSpan acknowledgementInterval;
30TimeSpan inactivityTimeout;
53public TimeSpan AcknowledgementInterval
69public TimeSpan InactivityTimeout
116public TimeSpan SendTimeout
156protected virtual void CloseInnerListener(TimeSpan timeout)
163protected virtual IAsyncResult BeginCloseInnerListener(TimeSpan timeout, AsyncCallback callback, object state)
181protected override void OnClose(TimeSpan timeout)
193protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback,
205protected override void OnOpen(TimeSpan timeout)
212protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback,
252TimeSpan timeout)
266UniqueId outputId, TimeSpan timeout, AsyncCallback callback, object state)
326OperationEndCallback baseEndClose, TimeSpan timeout, AsyncCallback callback,
359bool CloseBaseChannelListener(TimeSpan timeout)
467UniqueId outputId, TimeSpan timeout, AsyncCallback callback, object state)
868IAsyncResult result = this.typedListener.BeginAcceptChannel(TimeSpan.MaxValue, onAcceptCompleted, this);
1173protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
1184protected override void OnOpen(TimeSpan timeout)
1220protected override void CloseInnerListener(TimeSpan timeout)
1227protected override IAsyncResult BeginCloseInnerListener(TimeSpan timeout, AsyncCallback callback, object state)
1296return channel.BeginTryReceive(TimeSpan.MaxValue, callback, state);
1334return channel.BeginTryReceiveRequest(TimeSpan.MaxValue, callback, state);
1588return channel.BeginTryReceive(TimeSpan.MaxValue, callback, channel);
1626return channel.BeginTryReceiveRequest(TimeSpan.MaxValue, callback, channel);
System\ServiceModel\Channels\ReliableDuplexSessionChannel.cs (34)
114IAsyncResult BeginCloseBinder(TimeSpan timeout, AsyncCallback callback,
120void CloseSequence(TimeSpan timeout)
127IAsyncResult BeginCloseSequence(TimeSpan timeout, AsyncCallback callback, object state)
247void InternalCloseOutputSession(TimeSpan timeout)
260IAsyncResult BeginInternalCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state)
748protected IAsyncResult OnBeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state)
795protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
865protected override IAsyncResult OnBeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
870IAsyncResult OnBeginSendHandler(MessageAttemptInfo attemptInfo, TimeSpan timeout, bool maskUnhandledException, AsyncCallback callback, object state)
903IAsyncResult OnBeginSendAckRequestedHandler(TimeSpan timeout, AsyncCallback callback, object state)
951protected override void OnClose(TimeSpan timeout)
976protected void OnCloseOutputSession(TimeSpan timeout)
1109protected override void OnSend(Message message, TimeSpan timeout)
1115void OnSendHandler(MessageAttemptInfo attemptInfo, TimeSpan timeout, bool maskUnhandledException)
1161void OnSendAckRequestedHandler(TimeSpan timeout)
1301IAsyncResult result = this.binder.BeginTryReceive(TimeSpan.MaxValue, onReceiveCompleted, this);
1322void TerminateSequence(TimeSpan timeout)
1349IAsyncResult BeginTerminateSequence(TimeSpan timeout, AsyncCallback callback, object state)
1520protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
1527protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
1533protected override void OnClose(TimeSpan timeout)
1563protected override void OnOpen(TimeSpan timeout)
1688TimeSpan timeout = this.closing ? this.closeTimeoutHelper.RemainingTime() : this.DefaultCloseTimeout;
1710TimeSpan timeout;
1737public IAsyncResult BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state)
1752public void CloseOutputSession(TimeSpan timeout)
1774session.Open(TimeSpan.Zero);
1797IAsyncResult BeginUnregisterChannel(TimeSpan timeout, AsyncCallback callback, object state)
1817protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback,
1834protected override void OnClose(TimeSpan timeout)
1847protected override void OnOpen(TimeSpan timeout)
1851protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
1944public IAsyncResult BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state)
1959public void CloseOutputSession(TimeSpan timeout)
System\ServiceModel\Channels\ReliableInputSessionChannel.cs (11)
46this.session.Open(TimeSpan.Zero);
183IAsyncResult BeginCloseBinder(TimeSpan timeout, AsyncCallback callback, object state)
188protected virtual IAsyncResult BeginCloseGuards(TimeSpan timeout, AsyncCallback callback, object state)
193IAsyncResult BeginUnregisterChannel(TimeSpan timeout, AsyncCallback callback, object state)
206protected virtual void CloseGuards(TimeSpan timeout)
279protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
322protected override void OnClose(TimeSpan timeout)
364IAsyncResult result = this.Binder.BeginTryReceive(TimeSpan.MaxValue, onReceiveCompleted, this);
415TimeSpan acknowledgementInterval;
455protected override IAsyncResult BeginCloseGuards(TimeSpan timeout, AsyncCallback callback, object state)
460protected override void CloseGuards(TimeSpan timeout)
System\ServiceModel\Channels\ReliableMessagingHelpers.cs (79)
17delegate IAsyncResult OperationWithTimeoutBeginCallback(TimeSpan timeout, AsyncCallback asyncCallback, object asyncState);
18delegate void OperationWithTimeoutCallback(TimeSpan timeout);
23TimeSpan timeout, OperationWithTimeoutBeginCallback[] beginOperations, OperationEndCallback[] endOperations,
34public static TimeSpan RemainingTime(IAsyncResult result)
49TimeSpan timeout, OperationWithTimeoutBeginCallback[] beginOperations, OperationEndCallback[] endOperations,
69public TimeSpan RemainingTime()
176public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
207public void Close(TimeSpan timeout)
292TimeSpan defaultInterval;
299public InterruptibleTimer(TimeSpan defaultInterval, WaitCallback callback, object state)
379public void Set(TimeSpan interval)
389void InternalSet(TimeSpan interval, bool ifNotSet)
478public IAsyncResult BeginWait(TimeSpan timeout, AsyncCallback callback, object state)
483public IAsyncResult BeginWait(TimeSpan timeout, bool throwTimeoutException, AsyncCallback callback, object state)
515public IAsyncResult BeginTryWait(TimeSpan timeout, AsyncCallback callback, object state)
583public bool Wait(TimeSpan timeout)
588public bool Wait(TimeSpan timeout, bool throwTimeoutException)
680public abstract IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state);
681public abstract void Close(TimeSpan timeout);
689TimeSpan defaultCloseTimeout;
690TimeSpan defaultSendTimeout;
696protected TypedFaultHelper(TimeSpan defaultSendTimeout, TimeSpan defaultCloseTimeout)
773public override IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
781protected abstract IAsyncResult BeginSendFault(IReliableChannelBinder binder, TState state, TimeSpan timeout,
784public override void Close(TimeSpan timeout)
1044public ReplyFaultHelper(TimeSpan defaultSendTimeout, TimeSpan defaultCloseTimeout)
1060TimeSpan timeout, AsyncCallback callback, object state)
1080public SendFaultHelper(TimeSpan defaultSendTimeout, TimeSpan defaultCloseTimeout)
1095TimeSpan timeout, AsyncCallback callback, object state)
1120OperationEndCallback[] endCallbacks, IReliableChannelBinder binder, TimeSpan timeout,
1225ChannelReliableSession session, TimeSpan timeout, AsyncCallback callback, object state)
1405static public TimeSpan UnknownInitiationTime = TimeSpan.FromSeconds(2);
1406static public TimeSpan RequestorIterationTime = TimeSpan.FromSeconds(10);
1407static public TimeSpan RequestorReceiveTime = TimeSpan.FromSeconds(10);
1425TimeSpan originalTimeout;
1535TimeSpan GetNextRequestTimeout(TimeSpan remainingTimeout, out TimeoutHelper iterationTimeout, out bool lastIteration)
1579protected abstract Message OnRequest(Message request, TimeSpan timeout, bool last);
1580protected abstract IAsyncResult OnBeginRequest(Message request, TimeSpan timeout,
1584public Message Request(TimeSpan timeout)
1596TimeSpan requestTimeout = this.GetNextRequestTimeout(timeoutHelper.RemainingTime(),
1643public IAsyncResult BeginRequest(TimeSpan timeout, AsyncCallback callback, object state)
1689public RequestAsyncResult(ReliableRequestor requestor, TimeSpan timeout, AsyncCallback callback, object state)
1715TimeSpan requestTimeout = (requestResult == null)
1718: TimeSpan.Zero;
1907protected override Message OnRequest(Message request, TimeSpan timeout, bool last)
1912protected override IAsyncResult OnBeginRequest(Message request, TimeSpan timeout, AsyncCallback callback, object state)
1948TimeSpan GetReceiveTimeout(TimeSpan timeoutRemaining)
1960protected override Message OnRequest(Message request, TimeSpan timeout, bool last)
1965TimeSpan receiveTimeout = this.GetReceiveTimeout(timeoutHelper.RemainingTime());
1972protected override IAsyncResult OnBeginRequest(Message request, TimeSpan timeout, AsyncCallback callback, object state)
1997internal SendReceiveAsyncResult(SendReceiveReliableRequestor requestor, Message request, TimeSpan timeout,
2036TimeSpan receiveTimeout = this.requestor.GetReceiveTimeout(this.timeoutHelper.RemainingTime());
2165TimeSpan GetWaitTimeout(TimeSpan timeoutRemaining)
2177protected override Message OnRequest(Message request, TimeSpan timeout, bool last)
2181TimeSpan waitTimeout = this.GetWaitTimeout(timeoutHelper.RemainingTime());
2186protected override IAsyncResult OnBeginRequest(Message request, TimeSpan timeout, AsyncCallback callback, object state)
2206IAsyncResult BeginSend(TimeSpan timeout, AsyncCallback callback, object state)
2238IAsyncResult BeginWait(TimeSpan timeout, AsyncCallback callback, object state)
2240TimeSpan waitTimeout = this.GetWaitTimeout(timeout);
2298public void Begin(TimeSpan timeout)
2329bool BeginInternal(TimeSpan timeout)
2357protected abstract IAsyncResult BeginOperation(TimeSpan timeout, AsyncCallback callback, object state);
2425protected override IAsyncResult BeginOperation(TimeSpan timeout, AsyncCallback callback,
2469protected override IAsyncResult BeginOperation(TimeSpan timeout, AsyncCallback callback,
2486TimeSpan timeout;
2493public WaitAsyncResult(TimeSpan timeout, bool throwTimeoutException, AsyncCallback callback, object state)
2507if (this.timeout != TimeSpan.MaxValue)
2520protected virtual string GetTimeoutString(TimeSpan timeout)
3057public static TimeSpan CalculateKeepAliveInterval(TimeSpan inactivityTimeout, int maxRetryCount)
System\ServiceModel\Channels\ReliableOutputConnection.cs (13)
10delegate IAsyncResult BeginSendHandler(MessageAttemptInfo attemptInfo, TimeSpan timeout, bool maskUnhandledException, AsyncCallback asyncCallback, object state);
12delegate void SendHandler(MessageAttemptInfo attemptInfo, TimeSpan timeout, bool maskUnhandledException);
34TimeSpan sendTimeout;
43TimeSpan initialRtt,
45TimeSpan sendTimeout)
152void CompleteTransfer(TimeSpan timeout)
179public bool AddMessage(Message message, TimeSpan timeout, object state)
184public IAsyncResult BeginAddMessage(Message message, TimeSpan timeout, object state, AsyncCallback callback, object asyncState)
194IAsyncResult BeginCompleteTransfer(TimeSpan timeout, AsyncCallback callback, object state)
244public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
277public void Close(TimeSpan timeout)
360bool InternalAddMessage(Message message, TimeSpan timeout, object state, bool isLast)
628public AddAsyncResult(Message message, bool isLast, TimeSpan timeout, object state,
System\ServiceModel\Channels\ReliableOutputSessionChannel.cs (29)
111void CloseSequence(TimeSpan timeout)
118IAsyncResult BeginCloseSequence(TimeSpan timeout, AsyncCallback callback, object state)
225protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
249protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
255protected override IAsyncResult OnBeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
290protected override void OnClose(TimeSpan timeout)
311protected abstract void OnConnectionSend(Message message, TimeSpan timeout, bool saveHandledException,
313protected abstract IAsyncResult OnConnectionBeginSend(MessageAttemptInfo attemptInfo, TimeSpan timeout,
317void OnConnectionSendAckRequestedHandler(TimeSpan timeout)
327IAsyncResult OnConnectionBeginSendAckRequestedHandler(TimeSpan timeout, AsyncCallback callback, object state)
341void OnConnectionSendHandler(MessageAttemptInfo attemptInfo, TimeSpan timeout, bool maskUnhandledException)
363IAsyncResult OnConnectionBeginSendHandler(MessageAttemptInfo attemptInfo, TimeSpan timeout, bool maskUnhandledException, AsyncCallback callback, object state)
390protected abstract void OnConnectionSendMessage(Message message, TimeSpan timeout, MaskingMode maskingMode);
391protected abstract IAsyncResult OnConnectionBeginSendMessage(Message message, TimeSpan timeout,
428protected override void OnOpen(TimeSpan timeout)
448protected override void OnSend(Message message, TimeSpan timeout)
668void TerminateSequence(TimeSpan timeout)
695IAsyncResult BeginTerminateSequence(TimeSpan timeout, AsyncCallback callback, object state)
787protected override void OnConnectionSend(Message message, TimeSpan timeout,
825TimeSpan timeout, bool maskUnhandledException, AsyncCallback callback, object state)
860protected override void OnConnectionSendMessage(Message message, TimeSpan timeout, MaskingMode maskingMode)
870protected override IAsyncResult OnConnectionBeginSendMessage(Message message, TimeSpan timeout,
924protected override void OnConnectionSend(Message message, TimeSpan timeout, bool saveHandledException, bool maskUnhandledException)
957TimeSpan timeout, bool maskUnhandledException, AsyncCallback callback, object state)
989protected override void OnConnectionSendMessage(Message message, TimeSpan timeout, MaskingMode maskingMode)
994protected override IAsyncResult OnConnectionBeginSendMessage(Message message, TimeSpan timeout,
1067this.Binder.BeginTryReceive(TimeSpan.MaxValue, onReceiveCompleted, this);
1080this.Binder.BeginTryReceive(TimeSpan.MaxValue, onReceiveCompleted, this);
1101this.Binder.BeginTryReceive(TimeSpan.MaxValue, onReceiveCompleted, this);
System\ServiceModel\Channels\ReliableReplySessionChannel.cs (20)
67this.session.Open(TimeSpan.Zero);
198IAsyncResult BeginCloseBinder(TimeSpan timeout, AsyncCallback callback, object state)
203IAsyncResult BeginCloseOutput(TimeSpan timeout, AsyncCallback callback, object state)
226IAsyncResult BeginUnregisterChannel(TimeSpan timeout, AsyncCallback callback, object state)
285void CloseOutput(TimeSpan timeout)
432protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
487protected override void OnClose(TimeSpan timeout)
1235IAsyncResult result = this.binder.BeginTryReceive(TimeSpan.MaxValue, onReceiveCompleted, this);
1256void TerminateSequence(TimeSpan timeout)
1268IAsyncResult BeginTerminateSequence(TimeSpan timeout, AsyncCallback callback, object state)
1402internal IAsyncResult BeginReplyInternal(Message reply, TimeSpan timeout, AsyncCallback callback, object state)
1508protected override IAsyncResult OnBeginReply(Message reply, TimeSpan timeout, AsyncCallback callback, object state)
1513protected override void OnClose(TimeSpan timeout)
1525protected override void OnReply(Message reply, TimeSpan timeout)
1530internal void ReplyInternal(Message reply, TimeSpan timeout)
1651public ReplyAsyncResult(ReliableRequestContext thisContext, TimeSpan timeout, AsyncCallback callback, object state)
1794internal void Reply(RequestContext context, WsrmMessageInfo info, TimeSpan timeout, MaskingMode maskingMode)
1803IAsyncResult BeginReply(TimeSpan timeout, AsyncCallback callback, object state)
1894internal void WaitAndReply(TimeSpan timeout)
1913internal IAsyncResult BeginWaitAndReply(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\ReliableRequestSessionChannel.cs (20)
77IAsyncResult BeginCloseBinder(TimeSpan timeout, AsyncCallback callback, object state)
82IAsyncResult BeginTerminateSequence(TimeSpan timeout, AsyncCallback callback, object state)
88void CloseSequence(TimeSpan timeout)
95IAsyncResult BeginCloseSequence(TimeSpan timeout, AsyncCallback callback, object state)
251protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
276protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
312protected override void OnClose(TimeSpan timeout)
334IAsyncResult OnConnectionBeginSend(MessageAttemptInfo attemptInfo, TimeSpan timeout,
396void OnConnectionSend(MessageAttemptInfo attemptInfo, TimeSpan timeout, bool maskUnhandledException)
449void OnConnectionSendAckRequested(TimeSpan timeout)
454IAsyncResult OnConnectionBeginSendAckRequested(TimeSpan timeout, AsyncCallback callback, object state)
492protected override void OnOpen(TimeSpan timeout)
771IAsyncResult BeginSendAckRequestedMessage(TimeSpan timeout, MaskingMode maskingMode, AsyncCallback callback,
794void TerminateSequence(TimeSpan timeout)
832void WaitForShutdown(TimeSpan timeout)
850IAsyncResult BeginWaitForShutdown(TimeSpan timeout, AsyncCallback callback, object state)
890TimeSpan originalTimeout;
942public void SendRequest(Message message, TimeSpan timeout)
970public Message WaitForReply(TimeSpan timeout)
1107public void BeginSendRequest(Message message, TimeSpan timeout)
System\ServiceModel\Channels\ReplyAdapterChannelListener.cs (13)
32protected override TOuterChannel OnAcceptChannel(TimeSpan timeout)
39protected override IAsyncResult OnBeginAcceptChannel(TimeSpan timeout, AsyncCallback callback, object state)
50protected override bool OnWaitForChannel(TimeSpan timeout)
55protected override IAsyncResult OnBeginWaitForChannel(TimeSpan timeout, AsyncCallback callback, object state)
128public RequestContext ReceiveRequest(TimeSpan timeout)
138public IAsyncResult BeginReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state)
148public bool TryReceiveRequest(TimeSpan timeout, out RequestContext context)
160public IAsyncResult BeginTryReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state)
177public bool WaitForRequest(TimeSpan timeout)
182public IAsyncResult BeginWaitForRequest(TimeSpan timeout, AsyncCallback callback, object state)
243public override void Close(TimeSpan timeout)
253public override void Reply(Message message, TimeSpan timeout)
264public override IAsyncResult BeginReply(Message message, TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\ReplyChannel.cs (19)
42protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
52protected override void OnOpen(TimeSpan timeout)
57internal static RequestContext HelpReceiveRequest(IReplyChannel channel, TimeSpan timeout)
71internal static IAsyncResult HelpBeginReceiveRequest(IReplyChannel channel, TimeSpan timeout, AsyncCallback callback, object state)
84TimeSpan timeout;
88public HelpReceiveRequestAsyncResult(IReplyChannel channel, TimeSpan timeout, AsyncCallback callback, object state)
147static Exception CreateReceiveRequestTimedOutException(IReplyChannel channel, TimeSpan timeout)
166public RequestContext ReceiveRequest(TimeSpan timeout)
168if (timeout < TimeSpan.Zero)
181public IAsyncResult BeginReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state)
183if (timeout < TimeSpan.Zero)
198public bool TryReceiveRequest(TimeSpan timeout, out RequestContext context)
200if (timeout < TimeSpan.Zero)
208public IAsyncResult BeginTryReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state)
210if (timeout < TimeSpan.Zero)
223public bool WaitForRequest(TimeSpan timeout)
225if (timeout < TimeSpan.Zero)
233public IAsyncResult BeginWaitForRequest(TimeSpan timeout, AsyncCallback callback, object state)
235if (timeout < TimeSpan.Zero)
System\ServiceModel\Channels\RequestChannel.cs (13)
76protected IAsyncResult BeginWaitForPendingRequests(TimeSpan timeout, AsyncCallback callback, object state)
107protected void WaitForPendingRequests(TimeSpan timeout)
217public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state)
222if (timeout < TimeSpan.Zero)
289public Message Request(Message message, TimeSpan timeout)
296if (timeout < TimeSpan.Zero)
310TimeSpan savedTimeout = timeoutHelper.RemainingTime();
361TimeSpan timeout;
364public WaitForPendingRequestsAsyncResult(TimeSpan timeout, RequestChannel requestChannel, IRequestBase[] pendingRequests, AsyncCallback callback, object state)
371if (this.timeout == TimeSpan.Zero || this.pendingRequests == null)
447void SendRequest(Message message, TimeSpan timeout);
448Message WaitForReply(TimeSpan timeout);
453void BeginSendRequest(Message message, TimeSpan timeout);
System\ServiceModel\Channels\RequestContextBase.cs (13)
15TimeSpan defaultSendTimeout;
16TimeSpan defaultCloseTimeout;
25protected RequestContextBase(Message requestMessage, TimeSpan defaultCloseTimeout, TimeSpan defaultSendTimeout)
89public TimeSpan DefaultCloseTimeout
94public TimeSpan DefaultSendTimeout
132public override void Close(TimeSpan timeout)
134if (timeout < TimeSpan.Zero)
193protected abstract void OnClose(TimeSpan timeout);
194protected abstract void OnReply(Message message, TimeSpan timeout);
195protected abstract IAsyncResult OnBeginReply(Message message, TimeSpan timeout, AsyncCallback callback, object state);
237public override IAsyncResult BeginReply(Message message, TimeSpan timeout, AsyncCallback callback, object state)
260public override void Reply(Message message, TimeSpan timeout)
System\ServiceModel\Channels\SecurityChannelFactory.cs (27)
124void CloseProtocolFactory(bool aborted, TimeSpan timeout)
150CloseProtocolFactory(true, TimeSpan.Zero);
157protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
184protected override void OnClose(TimeSpan timeout)
228protected override void OnOpen(TimeSpan timeout)
259protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
269void OnOpenCore(TimeSpan timeout)
356protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
368protected override void OnOpen(TimeSpan timeout)
428public OpenAsyncResult(ClientSecurityChannel<UChannel> clientChannel, TimeSpan timeout,
552public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
569public void Send(Message message, TimeSpan timeout)
607public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state)
624internal Message ProcessReply(Message reply, SecurityProtocolCorrelationState correlationState, TimeSpan timeout)
677public Message Request(Message message, TimeSpan timeout)
734public Message Receive(TimeSpan timeout)
744public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
754public virtual IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
778internal Message ProcessMessage(Message message, TimeSpan timeout)
810public bool TryReceive(TimeSpan timeout, out Message message)
827public bool WaitForMessage(TimeSpan timeout)
832public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
869public RequestChannelSendAsyncResult(Message message, SecurityProtocol protocol, IRequestChannel channel, SecurityRequestChannel securityChannel, TimeSpan timeout,
877protected override IAsyncResult BeginSendCore(IRequestChannel channel, Message message, TimeSpan timeout, AsyncCallback callback, object state)
894protected override void OnSendCompleteCore(TimeSpan timeout)
904public ClientDuplexReceiveMessageAndVerifySecurityAsyncResult(SecurityDuplexChannel channel, IDuplexChannel innerChannel, TimeSpan timeout, AsyncCallback callback, object state)
910protected override bool OnInnerReceiveDone(ref Message message, TimeSpan timeout)
System\ServiceModel\Channels\SecurityChannelListener.cs (68)
229protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
247IAsyncResult OnBeginCloseSharedState(TimeSpan timeout, AsyncCallback callback, object state)
257internal IAsyncResult OnBeginOpenListenerState(TimeSpan timeout, AsyncCallback callback, object state)
267protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
286protected override void OnClose(TimeSpan timeout)
342protected override void OnOpen(TimeSpan timeout)
499typeof(TChannel) == typeof(IReplyChannel) || typeof(TChannel) == typeof(IReplySessionChannel), TimeSpan.Zero);
539public CloseSharedStateAsyncResult(SecurityChannelListener<TChannel> securityListener, TimeSpan timeout, AsyncCallback callback, object state)
591public OpenListenerStateAsyncResult(SecurityChannelListener<TChannel> securityListener, TimeSpan timeout, AsyncCallback callback, object state)
677protected override void OnOpen(TimeSpan timeout)
694protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
742protected override void OnClose(TimeSpan timeout)
756protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
766IAsyncResult OnBeginCloseSharedState(TimeSpan timeout, AsyncCallback callback, object state)
812internal SecurityProtocolCorrelationState VerifyIncomingMessage(ref Message message, TimeSpan timeout, params SecurityProtocolCorrelationState[] correlationState)
828internal void VerifyIncomingMessage(ref Message message, TimeSpan timeout)
846public CloseSharedStateAsyncResult(ServerSecurityChannel<UChannel> securityChannel, TimeSpan timeout, AsyncCallback callback, object state)
911public Message Receive(TimeSpan timeout)
921public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
931public virtual IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
952public virtual bool TryReceive(TimeSpan timeout, out Message message)
982if (timeoutHelper.RemainingTime() == TimeSpan.Zero)
992public bool WaitForMessage(TimeSpan timeout)
997public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
1051public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
1068public void Send(Message message, TimeSpan timeout)
1098void SendFaultIfRequired(Exception e, Message unverifiedMessage, TimeSpan timeout)
1129public override bool TryReceive(TimeSpan timeout, out Message message)
1166if (timeoutHelper.RemainingTime() == TimeSpan.Zero)
1176public override IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
1223public RequestContext ReceiveRequest(TimeSpan timeout)
1233public IAsyncResult BeginReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state)
1243public IAsyncResult BeginTryReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state)
1264internal RequestContext ProcessReceivedRequest(RequestContext requestContext, TimeSpan timeout)
1279void SendFaultIfRequired(Exception e, RequestContext innerContext, TimeSpan timeout)
1318public bool TryReceiveRequest(TimeSpan timeout, out RequestContext requestContext)
1355if (timeoutHelper.RemainingTime() == TimeSpan.Zero)
1365public bool WaitForRequest(TimeSpan timeout)
1370public IAsyncResult BeginWaitForRequest(TimeSpan timeout, AsyncCallback callback, object state)
1402TimeSpan defaultSendTimeout, TimeSpan defaultCloseTimeout)
1415protected override void OnClose(TimeSpan timeout)
1420protected override IAsyncResult OnBeginReply(Message message, TimeSpan timeout, AsyncCallback callback, object state)
1445protected override void OnReply(Message message, TimeSpan timeout)
1457public RequestContextSendAsyncResult(Message message, SecurityProtocol protocol, RequestContext context, TimeSpan timeout,
1464protected override IAsyncResult BeginSendCore(RequestContext context, Message message, TimeSpan timeout, AsyncCallback callback, object state)
1480protected override void OnSendCompleteCore(TimeSpan timeout)
1498public ReceiveItemAndVerifySecurityAsyncResult(ServerSecurityChannel<UChannel> channel, TimeSpan timeout, AsyncCallback callback, object state)
1542protected abstract IAsyncResult BeginTryReceiveItem(TimeSpan timeout, AsyncCallback callback, object state);
1544protected abstract TItem ProcessInnerItem(TItem innerItem, TimeSpan timeout);
1546protected abstract IAsyncResult BeginSendFault(TItem innerItem, Message faultMessage, TimeSpan timeout, AsyncCallback callback, object state);
1548protected abstract void CloseInnerItem(TItem innerItem, TimeSpan timeout);
1665if (this.timeoutHelper.RemainingTime() == TimeSpan.Zero)
1789public ReceiveRequestAndVerifySecurityAsyncResult(SecurityReplyChannel channel, IReplyChannel innerChannel, TimeSpan timeout, AsyncCallback callback, object state)
1823protected override void CloseInnerItem(RequestContext innerItem, TimeSpan timeout)
1828protected override IAsyncResult BeginTryReceiveItem(TimeSpan timeout, AsyncCallback callback, object state)
1838protected override RequestContext ProcessInnerItem(RequestContext innerItem, TimeSpan timeout)
1852protected override IAsyncResult BeginSendFault(RequestContext innerItem, Message faultMessage, TimeSpan timeout, AsyncCallback callback, object state)
1875public DuplexSessionReceiveMessageAndVerifySecurityAsyncResult(SecurityDuplexSessionChannel channel, IDuplexChannel innerChannel, TimeSpan timeout, AsyncCallback callback, object state)
1906protected override void CloseInnerItem(Message innerItem, TimeSpan timeout)
1911protected override IAsyncResult BeginTryReceiveItem(TimeSpan timeout, AsyncCallback callback, object state)
1921protected override Message ProcessInnerItem(Message innerItem, TimeSpan timeout)
1940protected override IAsyncResult BeginSendFault(Message innerItem, Message faultMessage, TimeSpan timeout, AsyncCallback callback, object state)
1964public InputChannelReceiveMessageAndVerifySecurityAsyncResult(SecurityInputChannel channel, IInputChannel innerChannel, TimeSpan timeout, AsyncCallback callback, object state)
2000protected override void CloseInnerItem(Message innerItem, TimeSpan timeout)
2005protected override IAsyncResult BeginTryReceiveItem(TimeSpan timeout, AsyncCallback callback, object state)
2015protected override Message ProcessInnerItem(Message innerItem, TimeSpan timeout)
2031protected override IAsyncResult BeginSendFault(Message innerItem, Message faultMessage, TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\ServerReliableChannelBinder.cs (59)
28TolerateFaultsMode faultMode, TimeSpan defaultCloseTimeout,
29TimeSpan defaultSendTimeout)
38TolerateFaultsMode faultMode, TimeSpan defaultCloseTimeout,
39TimeSpan defaultSendTimeout)
143protected override IAsyncResult BeginTryGetChannel(TimeSpan timeout,
149public IAsyncResult BeginWaitForRequest(TimeSpan timeout, AsyncCallback callback,
186TolerateFaultsMode faultMode, TimeSpan defaultCloseTimeout,
187TimeSpan defaultSendTimeout)
221TolerateFaultsMode faultMode, TimeSpan defaultCloseTimeout,
222TimeSpan defaultSendTimeout)
392protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback,
405protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback,
418protected abstract IAsyncResult OnBeginWaitForRequest(TChannel channel, TimeSpan timeout,
421protected override void OnClose(TimeSpan timeout)
444protected abstract bool OnWaitForRequest(TChannel channel, TimeSpan timeout);
473protected override void OnOpen(TimeSpan timeout)
494IAsyncResult result = this.listener.BeginAcceptChannel(TimeSpan.MaxValue,
536protected override bool TryGetChannel(TimeSpan timeout)
604public bool WaitForRequest(TimeSpan timeout)
668TimeSpan defaultCloseTimeout, TimeSpan defaultSendTimeout)
677TimeSpan defaultCloseTimeout, TimeSpan defaultSendTimeout)
699TimeSpan timeout, AsyncCallback callback, object state)
705TimeSpan timeout, AsyncCallback callback, object state)
711TimeSpan timeout, AsyncCallback callback, object state)
743TimeSpan timeout)
748protected override bool OnTryReceive(TDuplexChannel channel, TimeSpan timeout,
761protected override bool OnWaitForRequest(TDuplexChannel channel, TimeSpan timeout)
773MaskingMode maskingMode, TimeSpan defaultCloseTimeout, TimeSpan defaultSendTimeout)
781MaskingMode maskingMode, TimeSpan defaultCloseTimeout, TimeSpan defaultSendTimeout)
816TimeSpan defaultCloseTimeout, TimeSpan defaultSendTimeout)
825TimeSpan defaultCloseTimeout, TimeSpan defaultSendTimeout)
840TimeSpan timeout, AsyncCallback callback, object state)
846protected override void CloseChannel(IDuplexSessionChannel channel, TimeSpan timeout)
881TimeSpan defaultCloseTimeout, TimeSpan defaultSendTimeout)
890TimeSpan defaultCloseTimeout, TimeSpan defaultSendTimeout)
912TimeSpan timeout, AsyncCallback callback, object state)
918TimeSpan timeout, AsyncCallback callback, object state)
944protected override bool OnTryReceive(TReplyChannel channel, TimeSpan timeout,
956protected override bool OnWaitForRequest(TReplyChannel channel, TimeSpan timeout)
967MaskingMode maskingMode, TimeSpan defaultCloseTimeout, TimeSpan defaultSendTimeout)
975MaskingMode maskingMode, TimeSpan defaultCloseTimeout, TimeSpan defaultSendTimeout)
1006TimeSpan defaultCloseTimeout, TimeSpan defaultSendTimeout)
1015TimeSpan defaultCloseTimeout, TimeSpan defaultSendTimeout)
1030TimeSpan timeout, AsyncCallback callback, object state)
1036protected override void CloseChannel(IReplySessionChannel channel, TimeSpan timeout)
1067TimeSpan timeout, AsyncCallback callback, object state)
1075ServerReliableChannelBinder<TChannel> binder, TChannel channel, TimeSpan timeout,
System\ServiceModel\Channels\ServiceChannel.cs (44)
51TimeSpan operationTimeout;
183protected override TimeSpan DefaultCloseTimeout
188protected override TimeSpan DefaultOpenTimeout
219internal TimeSpan CloseTimeout
310internal TimeSpan OpenTimeout
325public TimeSpan OperationTimeout
330if (value < TimeSpan.Zero)
495manager.CallOnce(TimeSpan.MaxValue, null);
505return manager.BeginCallOnce(TimeSpan.MaxValue, null, callback, state);
527void EnsureOpened(TimeSpan timeout)
539IAsyncResult BeginEnsureOpened(TimeSpan timeout, AsyncCallback callback, object state)
741internal IAsyncResult BeginCall(string action, bool oneway, ProxyOperationRuntime operation, object[] ins, TimeSpan timeout, AsyncCallback callback, object asyncState)
783internal object Call(string action, bool oneway, ProxyOperationRuntime operation, object[] ins, object[] outs, TimeSpan timeout)
939TimeoutException GetOpenTimeoutException(TimeSpan timeout)
1278public void Send(Message message, TimeSpan timeout)
1289public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
1305public Message Request(Message message, TimeSpan timeout)
1316public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state)
1363protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
1402protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
1429protected override void OnClose(TimeSpan timeout)
1505protected override void OnOpen(TimeSpan timeout)
1626IAsyncResult IDuplexContextChannel.BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state)
1636void IDuplexContextChannel.CloseOutputSession(TimeSpan timeout)
1898string action, object[] inputParameters, bool isOneWay, TimeSpan timeout,
1971TimeSpan timeout = this.Rpc.TimeoutHelper.RemainingTime();
2037TimeSpan timeout = this.Rpc.TimeoutHelper.RemainingTime();
2149void Call(ServiceChannel channel, TimeSpan timeout);
2150IAsyncResult BeginCall(ServiceChannel channel, TimeSpan timeout, AsyncCallback callback, object state);
2171void ValidateTimeoutIsMaxValue(TimeSpan timeout)
2173if (timeout != TimeSpan.MaxValue)
2179void ICallOnce.Call(ServiceChannel channel, TimeSpan timeout)
2185IAsyncResult ICallOnce.BeginCall(ServiceChannel channel, TimeSpan timeout, AsyncCallback callback, object state)
2213void ICallOnce.Call(ServiceChannel channel, TimeSpan timeout)
2218IAsyncResult ICallOnce.BeginCall(ServiceChannel channel, TimeSpan timeout, AsyncCallback callback, object state)
2250internal void CallOnce(TimeSpan timeout, CallOnceManager cascade)
2299internal IAsyncResult BeginCallOnce(TimeSpan timeout, CallOnceManager cascade,
2465internal bool Wait(TimeSpan timeout)
2505TimeSpan timeout;
2508internal AsyncWaiter(CallOnceManager manager, TimeSpan timeout,
2515if (timeout != TimeSpan.MaxValue)
2582SessionIdleManager(IChannelBinder binder, TimeSpan idle)
2591internal static SessionIdleManager CreateIfNeeded(IChannelBinder binder, TimeSpan idle)
2593if (binder.HasSession && (idle != TimeSpan.MaxValue))
System\ServiceModel\Channels\SessionConnectionReader.cs (15)
86TimeSpan GetRemainingTimeout()
325public void StartReading(Action<Uri> viaDelegate, TimeSpan receiveTimeout)
371protected override void ReturnConnectionIfNecessary(bool abort, TimeSpan timeout)
413protected override void OnOpen(TimeSpan timeout)
592protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
671public OpenAsyncResult(ServerFramingDuplexSessionChannel channel, TimeSpan timeout,
1009protected override Message DecodeMessage(byte[] buffer, ref int offset, ref int size, ref bool isAtEof, TimeSpan timeout)
1138Message DecodeMessage(TimeSpan timeout)
1158protected abstract Message DecodeMessage(byte[] buffer, ref int offset, ref int size, ref bool isAtEof, TimeSpan timeout);
1202public AsyncReceiveResult BeginReceive(TimeSpan timeout, WaitCallback callback, object state)
1278public Message Receive(TimeSpan timeout)
1360public AsyncReceiveResult BeginWaitForMessage(TimeSpan timeout, WaitCallback callback, object state)
1392public bool WaitForMessage(TimeSpan timeout)
1494protected void SendFault(string faultString, TimeSpan timeout)
1560protected override Message DecodeMessage(byte[] buffer, ref int offset, ref int size, ref bool isAtEOF, TimeSpan timeout)
System\ServiceModel\Channels\SharedConnectionListener.cs (17)
76return connectionQueue.BeginDequeue(TimeSpan.MaxValue, callback, state);
80public void Stop(TimeSpan timeout)
87public void Stop(bool aborting, TimeSpan timeout)
175Stop(true, TimeSpan.Zero);
269new BackoffTimeoutHelper(TimeSpan.MaxValue, TimeSpan.FromMinutes(5), TimeSpan.FromSeconds(30));
419Cleanup(true, TimeSpan.Zero);
428public void Close(TimeSpan timeout)
433void Close(bool isAborting, TimeSpan timeout)
466void Cleanup(bool isAborting, TimeSpan timeout)
534Close(true, TimeSpan.Zero);
537void Unregister(TimeSpan timeout)
870if (this.proxy.validateUriCallThrottle.EnterAsync(TimeSpan.MaxValue, onEnterThrottle, this))
1252new BackoffTimeoutHelper(TimeSpan.MaxValue, TimeSpan.FromMilliseconds(pollMax), TimeSpan.FromMilliseconds(pollMin));
System\ServiceModel\Channels\SingletonConnectionReader.cs (19)
28TimeSpan ReceiveTimeout { get; }
109TimeSpan GetRemainingTimeout()
299public IAsyncResult BeginCompletePreamble(TimeSpan timeout, AsyncCallback callback, object state)
322public CompletePreambleAsyncResult(TimeSpan timeout, ServerSingletonPreambleConnectionReader parent, AsyncCallback callback, object state)
942public void StartReading(Action<Uri> viaDelegate, TimeSpan timeout)
1007protected override void OnClose(TimeSpan timeout)
1097void DoneReceiving(bool atEof, TimeSpan timeout)
1111public void Close(TimeSpan timeout)
1153protected abstract void OnClose(TimeSpan timeout);
1155public void DoneSending(TimeSpan timeout)
1172public RequestContext ReceiveRequest(TimeSpan timeout)
1178public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
1188public Message Receive(TimeSpan timeout)
1270TimeSpan timeout;
1272public ReceiveAsyncResult(SingletonConnectionReader parent, TimeSpan timeout, AsyncCallback callback,
1331protected override void OnClose(TimeSpan timeout)
1336protected override void OnReply(Message message, TimeSpan timeout)
1349protected override IAsyncResult OnBeginReply(Message message, TimeSpan timeout, AsyncCallback callback, object state)
1688base.Connection.Write(encodedSize, 0, bytesEncoded, false, TimeSpan.FromMilliseconds(this.WriteTimeout));
System\ServiceModel\Channels\SocketConnection.cs (58)
30TimeSpan asyncSendTimeout;
31TimeSpan readFinTimeout;
32TimeSpan asyncReceiveTimeout;
37TimeSpan socketSyncSendTimeout;
38TimeSpan socketSyncReceiveTimeout;
93this.asyncSendTimeout = this.asyncReceiveTimeout = TimeSpan.MaxValue;
94this.socketSyncSendTimeout = this.socketSyncReceiveTimeout = TimeSpan.MaxValue;
158ConvertReceiveException(socketException, TimeSpan.Zero, TimeSpan.Zero), ExceptionEventType);
464public void Close(TimeSpan timeout, bool asyncAndLinger)
519public void ContinueClose(TimeSpan timeout)
522if (timeout <= TimeSpan.Zero && DiagnosticUtility.ShouldTraceWarning)
551public void Shutdown(TimeSpan timeout)
570ConvertSendException(socketException, TimeSpan.MaxValue, this.socketSyncSendTimeout), ExceptionEventType);
681Exception ConvertSendException(SocketException socketException, TimeSpan remainingTime, TimeSpan timeout)
687Exception ConvertReceiveException(SocketException socketException, TimeSpan remainingTime, TimeSpan timeout)
693internal static Exception ConvertTransferException(SocketException socketException, TimeSpan timeout, Exception originalException)
696TransferOperation.Undefined, false, null, TransferOperation.Undefined, null, TimeSpan.MaxValue);
715static Exception ConvertTransferException(SocketException socketException, TimeSpan timeout, Exception originalException,
717SocketConnection socketConnection, TimeSpan remainingTime)
733remainingTime <= TimeSpan.Zero)
797TraceUtility.TraceEvent(exceptionEventType, TraceCode.TcpTransferError, GetEndpointString(SR.TcpTransferError, TimeSpan.MinValue, socketException, socketConnection), communicationException, null);
822static string GetEndpointString(string sr, TimeSpan timeout, SocketException socketException, SocketConnection socketConnection)
849public AsyncCompletionResult BeginWrite(byte[] buffer, int offset, int size, bool immediate, TimeSpan timeout,
890ConvertSendException(socketException, TimeSpan.MaxValue, this.asyncSendTimeout), ExceptionEventType);
950this.asyncWriteException = ConvertSendException(socketException, TimeSpan.MaxValue, this.asyncSendTimeout);
1017public void Write(byte[] buffer, int offset, int size, bool immediate, TimeSpan timeout)
1077public void Write(byte[] buffer, int offset, int size, bool immediate, TimeSpan timeout, BufferManager bufferManager)
1089public int Read(byte[] buffer, int offset, int size, TimeSpan timeout)
1096int ReadCore(byte[] buffer, int offset, int size, TimeSpan timeout, bool closing)
1143public virtual AsyncCompletionResult BeginRead(int offset, int size, TimeSpan timeout,
1151AsyncCompletionResult BeginReadCore(int offset, int size, TimeSpan timeout,
1210throw DiagnosticUtility.ExceptionUtility.ThrowHelper(ConvertReceiveException(socketException, TimeSpan.MaxValue, this.asyncReceiveTimeout), ExceptionEventType);
1279this.asyncReadException = ConvertReceiveException(socketException, TimeSpan.MaxValue, this.asyncReceiveTimeout);
1315asyncReadException = ConvertReceiveException(socketException, TimeSpan.MaxValue, this.asyncReceiveTimeout);
1427void SetReadTimeout(TimeSpan timeout, bool synchronous, bool closing)
1434if (timeout <= TimeSpan.Zero)
1456if (timeout == TimeSpan.MaxValue)
1467void SetWriteTimeout(TimeSpan timeout, bool synchronous)
1474if (timeout <= TimeSpan.Zero)
1493if (timeout == TimeSpan.MaxValue)
1504bool ShouldUpdateTimeout(TimeSpan oldTimeout, TimeSpan newTimeout)
1581public static Exception ConvertConnectException(SocketException socketException, Uri remoteUri, TimeSpan timeSpent, Exception innerException)
1596if (timeSpent == TimeSpan.MaxValue)
1617if (timeSpent == TimeSpan.MaxValue)
1658static TimeoutException CreateTimeoutException(Uri uri, TimeSpan timeout, IPAddress[] addresses, int invalidAddressCount,
1681public IConnection Connect(Uri uri, TimeSpan timeout)
1704if (timeoutHelper.RemainingTime() == TimeSpan.Zero)
1751public IAsyncResult BeginConnect(Uri uri, TimeSpan timeout, AsyncCallback callback, object state)
1769TimeSpan timeSpentInConnect)
1785TimeSpan timeout;
1794public ConnectAsyncResult(Uri uri, TimeSpan timeout, AsyncCallback callback, object state)
1859if (timeoutHelper.RemainingTime() == TimeSpan.Zero)
2090TimeSpan listenTimeout = TimeSpan.FromSeconds(1);
System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (13)
263protected override void OnClose(TimeSpan timeout)
272protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
307protected override void OnOpen(TimeSpan timeout)
322protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
341public OpenAsyncResult(SslStreamSecurityUpgradeProvider parent, TimeSpan timeout,
826IAsyncResult BaseBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
836internal override IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
846internal override void Open(TimeSpan timeout)
857IAsyncResult BaseBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
867internal override IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
877internal override void Close(TimeSpan timeout)
1064public OpenAsyncResult(SslStreamSecurityUpgradeInitiator parent, TimeSpan timeout,
1236public CloseAsyncResult(SslStreamSecurityUpgradeInitiator parent, TimeSpan timeout,
System\ServiceModel\Channels\SynchronizedMessageSource.cs (10)
22public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
32public bool WaitForMessage(TimeSpan timeout)
52public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
62public Message Receive(TimeSpan timeout)
90public SynchronizedAsyncResult(SynchronizedMessageSource syncSource, TimeSpan timeout,
133protected abstract bool PerformOperation(TimeSpan timeout);
203public ReceiveAsyncResult(SynchronizedMessageSource syncSource, TimeSpan timeout,
209protected override bool PerformOperation(TimeSpan timeout)
247public WaitForMessageAsyncResult(SynchronizedMessageSource syncSource, TimeSpan timeout,
253protected override bool PerformOperation(TimeSpan timeout)
System\ServiceModel\Channels\TracingConnection.cs (7)
71public override void Close(TimeSpan timeout, bool asyncAndLinger)
89public override void Shutdown(TimeSpan timeout)
113public override AsyncCompletionResult BeginWrite(byte[] buffer, int offset, int size, bool immediate, TimeSpan timeout, WaitCallback callback, object state)
129public override void Write(byte[] buffer, int offset, int size, bool immediate, TimeSpan timeout)
137public override void Write(byte[] buffer, int offset, int size, bool immediate, TimeSpan timeout, BufferManager bufferManager)
145public override int Read(byte[] buffer, int offset, int size, TimeSpan timeout)
159public override AsyncCompletionResult BeginRead(int offset, int size, TimeSpan timeout, System.Threading.WaitCallback callback, object state)
System\ServiceModel\Channels\TransactionChannelListener.cs (21)
186TimeSpan defaultCloseTimeout, TimeSpan defaultSendTimeout)
203protected override IAsyncResult OnBeginReply(Message message, TimeSpan timeout, AsyncCallback callback, object state)
218protected override void OnClose(TimeSpan timeout)
238protected override void OnReply(Message message, TimeSpan timeout)
283public Message Receive(TimeSpan timeout)
293public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
303public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
323public virtual bool TryReceive(TimeSpan timeout, out Message message)
338public bool WaitForMessage(TimeSpan timeout)
343public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
378public RequestContext ReceiveRequest(TimeSpan timeout)
388public IAsyncResult BeginReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state)
398public IAsyncResult BeginTryReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state)
405RequestContext FinishReceiveRequest(RequestContext innerContext, TimeSpan timeout)
455public bool TryReceiveRequest(TimeSpan timeout, out RequestContext requestContext)
472public bool WaitForRequest(TimeSpan timeout)
477public IAsyncResult BeginWaitForRequest(TimeSpan timeout, AsyncCallback callback, object state)
566public virtual IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback asyncCallback, object state)
583public virtual void Send(Message message, TimeSpan timeout)
602internal ReceiveTimeoutAsyncResult(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\TransmissionStrategy.cs (12)
82public TransmissionStrategy(ReliableMessagingVersion reliableMessagingVersion, TimeSpan initRtt,
85if (initRtt < TimeSpan.Zero)
143return (Ticks.Now / TimeSpan.TicksPerMillisecond) << Constants.TimeMultiplier;
208public bool Add(Message message, TimeSpan timeout, object state, out MessageAttemptInfo attemptInfo)
213public MessageAttemptInfo AddLast(Message message, TimeSpan timeout, object state)
256public IAsyncResult BeginAdd(Message message, TimeSpan timeout, object state, AsyncCallback callback, object asyncState)
261public IAsyncResult BeginAddLast(Message message, TimeSpan timeout, object state, AsyncCallback callback, object asyncState)
468bool InternalAdd(Message message, bool isLast, TimeSpan timeout, object state, out MessageAttemptInfo attemptInfo)
500IAsyncResult InternalBeginAdd(Message message, bool isLast, TimeSpan timeout, object state, AsyncCallback callback, object asyncState)
851public AsyncQueueAdder(Message message, bool isLast, TimeSpan timeout, object state, TransmissionStrategy strategy, AsyncCallback callback, object asyncState)
890protected override string GetTimeoutString(TimeSpan timeout)
1137public MessageAttemptInfo Wait(TimeSpan timeout)
System\ServiceModel\Channels\TransportDefaults.cs (13)
172internal static TimeSpan RetryCycleDelay { get { return TimeSpanHelper.FromMinutes(30, MsmqDefaults.RetryCycleDelayString); } }
174internal static TimeSpan TimeToLive { get { return TimeSpanHelper.FromDays(1, MsmqDefaults.TimeToLiveString); } }
179internal static TimeSpan ValidityDuration { get { return TimeSpanHelper.FromMinutes(5, MsmqDefaults.ValidityDurationString); } }
246internal static TimeSpan IdleTimeout { get { return TimeSpanHelper.FromMinutes(2, IdleTimeoutString); } }
248internal static TimeSpan ChannelInitializationTimeout { get { return TimeSpanHelper.FromSeconds(30, ChannelInitializationTimeoutString); } }
253internal static TimeSpan MaxOutputDelay { get { return TimeSpanHelper.FromMilliseconds(200, MaxOutputDelayString); } }
294internal static TimeSpan ConnectionLeaseTimeout { get { return TimeSpanHelper.FromMinutes(5, TcpTransportDefaults.ConnectionLeaseTimeoutString); } }
348internal static TimeSpan RequestInitializationTimeout { get { return TimeSpanHelper.FromMilliseconds(0, RequestInitializationTimeoutString); } }
443internal static TimeSpan IdleTimeout { get { return TimeSpanHelper.FromMinutes(2, IdleTimeoutString); } }
446internal static TimeSpan LeaseTimeout { get { return TimeSpanHelper.FromMinutes(10, LeaseTimeoutString); } }
455internal static TimeSpan AcknowledgementInterval { get { return TimeSpanHelper.FromMilliseconds(200, AcknowledgementIntervalString); } }
459internal static TimeSpan InactivityTimeout { get { return TimeSpanHelper.FromMinutes(10, InactivityTimeoutString); } }
494internal static readonly TimeSpan DefaultKeepAliveInterval = TimeSpanHelper.FromSeconds(0, DefaultKeepAliveIntervalString);
System\ServiceModel\Channels\TransportDuplexSessionChannel.cs (28)
109public Message Receive(TimeSpan timeout)
145public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
209public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
219public bool TryReceive(TimeSpan timeout, out Message message)
240public bool WaitForMessage(TimeSpan timeout)
263public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
329protected IAsyncResult BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state)
339protected abstract void CloseOutputSessionCore(TimeSpan timeout);
341protected void CloseOutputSession(TimeSpan timeout)
392protected abstract void ReturnConnectionIfNecessary(bool abort, TimeSpan timeout);
396this.ReturnConnectionIfNecessary(true, TimeSpan.Zero);
402this.ReturnConnectionIfNecessary(true, TimeSpan.Zero);
405protected override void OnClose(TimeSpan timeout)
420protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
493protected abstract AsyncCompletionResult StartWritingBufferedMessage(Message message, ArraySegment<byte> messageData, bool allowOutputBatching, TimeSpan timeout, WaitCallback callback, object state);
495protected abstract AsyncCompletionResult BeginCloseOutput(TimeSpan timeout, WaitCallback callback, object state);
503protected abstract void OnSendCore(Message message, TimeSpan timeout);
505protected abstract AsyncCompletionResult StartWritingStreamedMessage(Message message, TimeSpan timeout, WaitCallback callback, object state);
507protected override void OnSend(Message message, TimeSpan timeout)
552protected override IAsyncResult OnBeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
564protected abstract void CompleteClose(TimeSpan timeout);
575void EnsureInputClosed(TimeSpan timeout)
673public IAsyncResult BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state)
688public void CloseOutputSession(TimeSpan timeout)
702public CloseAsyncResult(TransportDuplexSessionChannel channel, TimeSpan timeout, AsyncCallback callback, object state)
883public CloseOutputSessionAsyncResult(TransportDuplexSessionChannel channel, TimeSpan timeout, AsyncCallback callback, object state)
1043public SendAsyncResult(TransportDuplexSessionChannel channel, Message message, TimeSpan timeout, bool streamedOutput, AsyncCallback callback, object state)
1231public TryReceiveAsyncResult(TransportDuplexSessionChannel channel, TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\TransportManager.cs (9)
32internal void Close(TransportChannelListener channelListener, TimeSpan timeout)
37void Cleanup(TransportChannelListener channelListener, TimeSpan timeout, bool aborting)
99internal abstract void OnClose(TimeSpan timeout);
151this.Cleanup(channelListener, TimeSpan.Zero, true);
215Close(true, TimeSpan.Zero);
253public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
263public void Close(TimeSpan timeout)
268public void Close(bool aborting, TimeSpan timeout)
369public CloseAsyncResult(TransportManagerContainer parent, AsyncCallback callback, TimeSpan timeout,
System\ServiceModel\Channels\TransportSecurityHelpers.cs (11)
221public static IAsyncResult BeginGetSspiCredential(SecurityTokenProviderContainer tokenProvider, TimeSpan timeout,
227public static IAsyncResult BeginGetSspiCredential(SecurityTokenProvider tokenProvider, TimeSpan timeout,
246public static NetworkCredential GetSspiCredential(SecurityTokenProviderContainer tokenProvider, TimeSpan timeout,
259public static NetworkCredential GetSspiCredential(SspiSecurityTokenProvider tokenProvider, TimeSpan timeout,
269SecurityTokenRequirement sspiTokenRequirement, TimeSpan timeout,
307static NetworkCredential GetSspiCredential(SspiSecurityTokenProvider tokenProvider, TimeSpan timeout,
460static T GetToken<T>(SecurityTokenProvider tokenProvider, TimeSpan timeout)
472public static IAsyncResult BeginGetUserNameCredential(SecurityTokenProviderContainer tokenProvider, TimeSpan timeout,
483public static NetworkCredential GetUserNameCredential(SecurityTokenProviderContainer tokenProvider, TimeSpan timeout)
563public GetUserNameCredentialAsyncResult(SecurityTokenProviderContainer tokenProvider, TimeSpan timeout,
636public GetSspiCredentialAsyncResult(SspiSecurityTokenProvider credentialProvider, TimeSpan timeout,
System\ServiceModel\Channels\WebSocketHelper.cs (5)
231internal static void ThrowCorrectException(Exception ex, TimeSpan timeout, string operation)
240TimeSpan.MinValue, // this is a dummy since operation type is null, so the timespan value won't be used
246internal static Exception ConvertAndTraceException(Exception ex, TimeSpan timeout, string operation)
325internal static void ThrowExceptionOnTaskFailure(Task task, TimeSpan timeout, string operation)
337internal static TimeoutException GetTimeoutException(Exception innerException, TimeSpan timeout, string operation)
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (22)
149protected override void CompleteClose(TimeSpan timeout)
174protected override void CloseOutputSessionCore(TimeSpan timeout)
188protected override void OnClose(TimeSpan timeout)
200protected override void ReturnConnectionIfNecessary(bool abort, TimeSpan timeout)
204protected override AsyncCompletionResult StartWritingBufferedMessage(Message message, ArraySegment<byte> messageData, bool allowOutputBatching, TimeSpan timeout, Threading.WaitCallback callback, object state)
259protected override AsyncCompletionResult StartWritingStreamedMessage(Message message, TimeSpan timeout, WaitCallback callback, object state)
281protected override AsyncCompletionResult BeginCloseOutput(TimeSpan timeout, Threading.WaitCallback callback, object state)
314protected override void OnSendCore(Message message, TimeSpan timeout)
472thisPtr.webSocketStream.WriteEndOfMessage(TimeSpan.MaxValue);
507TimeSpan asyncReceiveTimeout;
569public AsyncReceiveResult BeginReceive(TimeSpan timeout, WaitCallback callback, object state)
614public Message Receive(TimeSpan timeout)
700WebSocketHelper.ThrowCorrectException(ex, TimeSpan.MaxValue, WebSocketHelper.ReceiveOperation);
731this.pendingException = WebSocketHelper.ConvertAndTraceException(ex, TimeSpan.MaxValue, WebSocketHelper.ReceiveOperation);
746public AsyncReceiveResult BeginWaitForMessage(TimeSpan timeout, Threading.WaitCallback callback, object state)
780public bool WaitForMessage(TimeSpan timeout)
1033TimeSpan closeTimeout;
1051TimeSpan closeTimeout)
1067TimeSpan closeTimeout)
1369public void WriteEndOfMessage(TimeSpan timeout)
1391public async void WriteEndOfMessageAsync(TimeSpan timeout, WaitCallback callback, object state)
1453void Cleanup(TimeSpan timeout)
System\ServiceModel\Channels\WindowsStreamSecurityUpgradeProvider.cs (12)
136protected override void OnClose(TimeSpan timeout)
140protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
150protected override void OnOpen(TimeSpan timeout)
161protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
321IAsyncResult BaseBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
331internal override IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
341internal override void Open(TimeSpan timeout)
350IAsyncResult BaseBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
360internal override IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
370internal override void Close(TimeSpan timeout)
540public OpenAsyncResult(WindowsStreamSecurityUpgradeInitiator parent, TimeSpan timeout,
705public CloseAsyncResult(WindowsStreamSecurityUpgradeInitiator parent, TimeSpan timeout,
System\ServiceModel\ClientBase.cs (17)
586void ICommunicationObject.Open(TimeSpan timeout)
597void ICommunicationObject.Close(TimeSpan timeout)
708IAsyncResult ICommunicationObject.BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
723IAsyncResult ICommunicationObject.BeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
735internal IAsyncResult BeginFactoryOpen(TimeSpan timeout, AsyncCallback callback, object state)
759internal IAsyncResult BeginChannelOpen(TimeSpan timeout, AsyncCallback callback, object state)
769internal IAsyncResult BeginFactoryClose(TimeSpan timeout, AsyncCallback callback, object state)
793internal IAsyncResult BeginChannelClose(TimeSpan timeout, AsyncCallback callback, object state)
1227TimeSpan IContextChannel.OperationTimeout
1298void ICommunicationObject.Close(TimeSpan timeout)
1308IAsyncResult ICommunicationObject.BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
1323void ICommunicationObject.Open(TimeSpan timeout)
1333IAsyncResult ICommunicationObject.BeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
1368void IOutputChannel.Send(Message message, TimeSpan timeout)
1378IAsyncResult IOutputChannel.BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
1403Message IRequestChannel.Request(Message message, TimeSpan timeout)
1413IAsyncResult IRequestChannel.BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Configuration\Properties.cs (192)
65properties.Add(new ConfigurationProperty("receiveTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:00:30", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
93properties.Add(new ConfigurationProperty("receiveTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:00:30", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
680properties.Add(new ConfigurationProperty("idleTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:02:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
681properties.Add(new ConfigurationProperty("leaseTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:10:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
804properties.Add(new ConfigurationProperty("transactionTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
911properties.Add(new ConfigurationProperty("channelInitializationTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:00:30", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00.0000001", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
914properties.Add(new ConfigurationProperty("maxOutputDelay", typeof(System.TimeSpan), System.TimeSpan.Parse("00:00:00.2", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
940properties.Add(new ConfigurationProperty("closeTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:01:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
941properties.Add(new ConfigurationProperty("openTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:01:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
942properties.Add(new ConfigurationProperty("receiveTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:10:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
943properties.Add(new ConfigurationProperty("sendTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:01:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
1227properties.Add(new ConfigurationProperty("closeTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:00:10", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
1228properties.Add(new ConfigurationProperty("openTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:01:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
1360properties.Add(new ConfigurationProperty("requestInitializationTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
1460properties.Add(new ConfigurationProperty("maxIssuedTokenCachingTime", typeof(System.TimeSpan), System.TimeSpan.Parse("10675199.02:48:05.4775807", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
1603properties.Add(new ConfigurationProperty("maxClockSkew", typeof(System.TimeSpan), System.TimeSpan.Parse("00:05:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
1604properties.Add(new ConfigurationProperty("maxCookieCachingTime", typeof(System.TimeSpan), System.TimeSpan.Parse("10675199.02:48:05.4775807", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
1605properties.Add(new ConfigurationProperty("replayWindow", typeof(System.TimeSpan), System.TimeSpan.Parse("00:05:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
1606properties.Add(new ConfigurationProperty("sessionKeyRenewalInterval", typeof(System.TimeSpan), System.TimeSpan.Parse("10:00:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
1607properties.Add(new ConfigurationProperty("sessionKeyRolloverInterval", typeof(System.TimeSpan), System.TimeSpan.Parse("00:05:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
1609properties.Add(new ConfigurationProperty("timestampValidityDuration", typeof(System.TimeSpan), System.TimeSpan.Parse("00:05:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
1635properties.Add(new ConfigurationProperty("issuedCookieLifetime", typeof(System.TimeSpan), System.TimeSpan.Parse("10:00:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
1638properties.Add(new ConfigurationProperty("maxClockSkew", typeof(System.TimeSpan), System.TimeSpan.Parse("00:05:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
1639properties.Add(new ConfigurationProperty("negotiationTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:01:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
1640properties.Add(new ConfigurationProperty("replayWindow", typeof(System.TimeSpan), System.TimeSpan.Parse("00:05:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
1641properties.Add(new ConfigurationProperty("inactivityTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:02:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
1642properties.Add(new ConfigurationProperty("sessionKeyRenewalInterval", typeof(System.TimeSpan), System.TimeSpan.Parse("15:00:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
1643properties.Add(new ConfigurationProperty("sessionKeyRolloverInterval", typeof(System.TimeSpan), System.TimeSpan.Parse("00:05:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
1647properties.Add(new ConfigurationProperty("timestampValidityDuration", typeof(System.TimeSpan), System.TimeSpan.Parse("00:05:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
1812properties.Add(new ConfigurationProperty("retryCycleDelay", typeof(System.TimeSpan), System.TimeSpan.Parse("00:30:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
1813properties.Add(new ConfigurationProperty("timeToLive", typeof(System.TimeSpan), System.TimeSpan.Parse("1.00:00:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
1816properties.Add(new ConfigurationProperty("validityDuration", typeof(System.TimeSpan), System.TimeSpan.Parse("00:05:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
1922properties.Add(new ConfigurationProperty("retryCycleDelay", typeof(System.TimeSpan), System.TimeSpan.Parse("00:30:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
1924properties.Add(new ConfigurationProperty("timeToLive", typeof(System.TimeSpan), System.TimeSpan.Parse("1.00:00:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
1927properties.Add(new ConfigurationProperty("validityDuration", typeof(System.TimeSpan), System.TimeSpan.Parse("00:05:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
2034properties.Add(new ConfigurationProperty("idleTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:02:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
2239properties.Add(new ConfigurationProperty("keepAliveInterval", typeof(System.TimeSpan), System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("-00:00:00.0010000", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
2702properties.Add(new ConfigurationProperty("closeTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:01:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
2703properties.Add(new ConfigurationProperty("openTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:01:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
2704properties.Add(new ConfigurationProperty("receiveTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:10:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
2705properties.Add(new ConfigurationProperty("sendTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:01:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
2887properties.Add(new ConfigurationProperty("inactivityTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:10:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00.0000001", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
2935properties.Add(new ConfigurationProperty("acknowledgementInterval", typeof(System.TimeSpan), System.TimeSpan.Parse("00:00:00.2", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00.0000001", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
2937properties.Add(new ConfigurationProperty("inactivityTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:10:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00.0000001", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
3661properties.Add(new ConfigurationProperty("cachedLogonTokenLifetime", typeof(System.TimeSpan), System.TimeSpan.Parse("00:15:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00.0000001", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
4568properties.Add(new ConfigurationProperty("transactionTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
4593properties.Add(new ConfigurationProperty("leaseTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:05:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
4594properties.Add(new ConfigurationProperty("idleTimeout", typeof(System.TimeSpan), System.TimeSpan.Parse("00:02:00", CultureInfo.InvariantCulture), new System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter(), new System.ServiceModel.Configuration.TimeSpanOrInfiniteValidator(System.TimeSpan.Parse("00:00:00", CultureInfo.InvariantCulture), System.TimeSpan.Parse("24.20:31:23.6470000", CultureInfo.InvariantCulture)), System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\Dispatcher\BufferedReceiveBinder.cs (10)
61public void CloseAfterFault(TimeSpan timeout)
72public bool TryReceive(TimeSpan timeout, out RequestContext requestContext)
94public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
129public void Send(Message message, TimeSpan timeout)
134public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
144public Message Request(Message message, TimeSpan timeout)
149public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state)
159public bool WaitForMessage(TimeSpan timeout)
164public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
192if (binder.channelBinder.TryReceive(TimeSpan.MaxValue, out requestContext))
System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (40)
23TimeSpan defaultCloseTimeout;
24TimeSpan defaultSendTimeout;
66public TimeSpan DefaultCloseTimeout
92public TimeSpan DefaultSendTimeout
201public void CloseAfterFault(TimeSpan timeout)
255TimeoutException GetReceiveTimeoutException(TimeSpan timeout)
314public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
358public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
368public void Send(Message message, TimeSpan timeout)
373public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state)
424public bool TryReceive(TimeSpan timeout, out RequestContext requestContext)
454public Message Request(Message message, TimeSpan timeout)
492TimeSpan remaining = timeoutHelper.RemainingTime();
657public bool WaitForMessage(TimeSpan timeout)
662public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
688protected override void OnClose(TimeSpan timeout)
692protected override void OnReply(Message message, TimeSpan timeout)
700protected override IAsyncResult OnBeginReply(Message message, TimeSpan timeout, AsyncCallback callback, object state)
715public ReplyAsyncResult(DuplexRequestContext context, Message message, TimeSpan timeout, AsyncCallback callback, object state)
808internal Message WaitForReply(TimeSpan timeout)
874TimeSpan timeout;
879internal AsyncDuplexRequest(Message message, DuplexChannelBinder parent, TimeSpan timeout, AsyncCallback callback, object state)
885if (timeout != TimeSpan.MaxValue)
1179TimeSpan DefaultCloseTimeout
1196TimeSpan DefaultReceiveTimeout
1225result = this.innerChannel.BeginReceive(TimeSpan.MaxValue, receiveAsyncCallback, this);
1392public Message Receive(TimeSpan timeout)
1402public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
1412public bool TryReceive(TimeSpan timeout, out Message message)
1417public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
1427public bool WaitForMessage(TimeSpan timeout)
1432public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
1458public void Close(TimeSpan timeout)
1481public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
1524public void Open(TimeSpan timeout)
1535public IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
1551public void Send(Message message, TimeSpan timeout)
1561public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
1613public void WaitForBackgroundClose(TimeSpan timeout)
1620public IAsyncResult BeginWaitForBackgroundClose(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Dispatcher\IChannelBinder.cs (9)
20void CloseAfterFault(TimeSpan timeout);
22bool TryReceive(TimeSpan timeout, out RequestContext requestContext);
23IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state);
26void Send(Message message, TimeSpan timeout);
27IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state);
30Message Request(Message message, TimeSpan timeout);
31IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state);
34bool WaitForMessage(TimeSpan timeout);
35IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state);
System\ServiceModel\Dispatcher\InputChannelBinder.cs (14)
63public void CloseAfterFault(TimeSpan timeout)
68public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
93public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
103public void Send(Message message, TimeSpan timeout)
108public bool TryReceive(TimeSpan timeout, out RequestContext requestContext)
123public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state)
133public Message Request(Message message, TimeSpan timeout)
138public bool WaitForMessage(TimeSpan timeout)
143public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
170: base(request, TimeSpan.Zero, TimeSpan.Zero)
179protected override void OnClose(TimeSpan timeout)
183protected override void OnReply(Message message, TimeSpan timeout)
187protected override IAsyncResult OnBeginReply(Message message, TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Dispatcher\InstanceContextManager.cs (10)
18IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state);
19IAsyncResult BeginCloseInput(TimeSpan timeout, AsyncCallback callback, object state);
20void Close(TimeSpan timeout);
21void CloseInput(TimeSpan timeout);
71public IAsyncResult BeginCloseInput(TimeSpan timeout, AsyncCallback callback, object state)
76void CloseInitiate(TimeSpan timeout)
120public void CloseInput(TimeSpan timeout)
200protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
207protected override void OnClose(TimeSpan timeout)
286public CloseInputAsyncResult(TimeSpan timeout, AsyncCallback otherCallback, object state, InstanceContext[] instances)
System\ServiceModel\Dispatcher\ListenerBinder.cs (12)
67public IChannelBinder Accept(TimeSpan timeout)
76public IAsyncResult BeginAccept(TimeSpan timeout, AsyncCallback callback, object state)
114public IChannelBinder Accept(TimeSpan timeout)
123public IAsyncResult BeginAccept(TimeSpan timeout, AsyncCallback callback, object state)
159public IChannelBinder Accept(TimeSpan timeout)
168public IAsyncResult BeginAccept(TimeSpan timeout, AsyncCallback callback, object state)
204public IChannelBinder Accept(TimeSpan timeout)
213public IAsyncResult BeginAccept(TimeSpan timeout, AsyncCallback callback, object state)
249public IChannelBinder Accept(TimeSpan timeout)
258public IAsyncResult BeginAccept(TimeSpan timeout, AsyncCallback callback, object state)
294public IChannelBinder Accept(TimeSpan timeout)
303public IAsyncResult BeginAccept(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Dispatcher\MultipleReceiveBinder.cs (10)
66public void CloseAfterFault(TimeSpan timeout)
71public bool TryReceive(TimeSpan timeout, out RequestContext requestContext)
76public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
95void EnsurePump(TimeSpan timeout)
192public void Send(Message message, TimeSpan timeout)
197public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
207public Message Request(Message message, TimeSpan timeout)
212public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state)
222public bool WaitForMessage(TimeSpan timeout)
227public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Dispatcher\OutputChannelBinder.cs (9)
61public void CloseAfterFault(TimeSpan timeout)
66public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
81public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
91public void Send(Message message, TimeSpan timeout)
96public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state)
106public bool TryReceive(TimeSpan timeout, out RequestContext requestContext)
111public Message Request(Message message, TimeSpan timeout)
116public bool WaitForMessage(TimeSpan timeout)
121public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Dispatcher\ReceiveContextRPCFacet.cs (7)
52TimeSpan.MaxValue,
76public void Complete(ImmutableDispatchRuntime dispatchRuntime, ref MessageRpc rpc, TimeSpan timeout, Transaction transaction)
100public IAsyncResult BeginComplete(TimeSpan timeout, Transaction transaction, ChannelHandler channelHandler, AsyncCallback callback, object state)
131public IAsyncResult BeginAbandon(TimeSpan timeout, AsyncCallback callback, object state)
193TimeSpan timeout,
231bool Complete(TimeSpan timeout)
326TimeSpan.MaxValue,
System\ServiceModel\Dispatcher\ReplyChannelBinder.cs (9)
63public void CloseAfterFault(TimeSpan timeout)
68public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
83public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
93public void Send(Message message, TimeSpan timeout)
98public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state)
108public bool TryReceive(TimeSpan timeout, out RequestContext requestContext)
113public Message Request(Message message, TimeSpan timeout)
118public bool WaitForMessage(TimeSpan timeout)
123public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Dispatcher\RequestChannelBinder.cs (9)
56public void CloseAfterFault(TimeSpan timeout)
61public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
76public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
86public void Send(Message message, TimeSpan timeout)
91public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state)
101public bool TryReceive(TimeSpan timeout, out RequestContext requestContext)
106public Message Request(Message message, TimeSpan timeout)
120public bool WaitForMessage(TimeSpan timeout)
125public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\MsmqIntegration\MsmqIntegrationOutputChannel.cs (9)
38void OnCloseCore(bool isAborting, TimeSpan timeout)
52this.OnCloseCore(true, TimeSpan.Zero);
55protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
66protected override void OnClose(TimeSpan timeout)
91void OnOpenCore(TimeSpan timeout)
100protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
111protected override void OnOpen(TimeSpan timeout)
116protected override IAsyncResult OnBeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
127protected override void OnSend(Message message, TimeSpan timeout)
System\ServiceModel\Security\AsymmetricSecurityProtocol.cs (8)
67public override void OnOpen(TimeSpan timeout)
124public override void OnClose(TimeSpan timeout)
145protected override IAsyncResult BeginSecureOutgoingMessageCore(Message message, TimeSpan timeout, SecurityProtocolCorrelationState correlationState, AsyncCallback callback, object state)
184protected override SecurityProtocolCorrelationState SecureOutgoingMessageCore(ref Message message, TimeSpan timeout, SecurityProtocolCorrelationState correlationState)
241protected override SecurityProtocolCorrelationState VerifyIncomingMessageCore(ref Message message, string actor, TimeSpan timeout, SecurityProtocolCorrelationState[] correlationStates)
320bool TryGetTokenSynchronouslyForOutgoingSecurity(Message message, SecurityProtocolCorrelationState correlationState, bool isBlockingCall, TimeSpan timeout,
363SecurityProtocolCorrelationState correlationState, TimeSpan timeout, AsyncCallback callback, object state)
369protected override void OnBothGetTokenCallsDone(ref Message message, SecurityToken primaryToken, SecurityToken secondaryToken, TimeSpan timeout)
System\ServiceModel\Security\DuplexSecurityProtocolFactory.cs (16)
133this.forwardProtocolFactory.Close(true, TimeSpan.Zero);
137this.reverseProtocolFactory.Close(true, TimeSpan.Zero);
141public override void OnClose(TimeSpan timeout)
155protected override SecurityProtocol OnCreateSecurityProtocol(EndpointAddress target, Uri via, object listenerSecurityState, TimeSpan timeout)
165public override void OnOpen(TimeSpan timeout)
186void Open(SecurityProtocolFactory factory, bool actAsInitiator, string propertyName, TimeSpan timeout)
210public override void OnOpen(TimeSpan timeout)
217public override void OnClose(TimeSpan timeout)
226this.outgoingProtocol.Close(true, TimeSpan.Zero);
227this.incomingProtocol.Close(true, TimeSpan.Zero);
230public override IAsyncResult BeginSecureOutgoingMessage(Message message, TimeSpan timeout, AsyncCallback callback, object state)
242public override IAsyncResult BeginSecureOutgoingMessage(Message message, TimeSpan timeout, SecurityProtocolCorrelationState correlationState,
280public override void SecureOutgoingMessage(ref Message message, TimeSpan timeout)
288public override SecurityProtocolCorrelationState SecureOutgoingMessage(ref Message message, TimeSpan timeout, SecurityProtocolCorrelationState correlationState)
300public override void VerifyIncomingMessage(ref Message message, TimeSpan timeout)
308public override SecurityProtocolCorrelationState VerifyIncomingMessage(ref Message message, TimeSpan timeout,
System\ServiceModel\Security\InitiatorSessionSymmetricMessageSecurityProtocol.cs (5)
157protected override IAsyncResult BeginSecureOutgoingMessageCore(Message message, TimeSpan timeout, SecurityProtocolCorrelationState correlationState, AsyncCallback callback, object state)
190protected override SecurityProtocolCorrelationState SecureOutgoingMessageCore(ref Message message, TimeSpan timeout, SecurityProtocolCorrelationState correlationState)
237protected override SecurityProtocolCorrelationState VerifyIncomingMessageCore(ref Message message, string actor, TimeSpan timeout, SecurityProtocolCorrelationState[] correlationStates)
281public SecureOutgoingMessageAsyncResult(Message message, InitiatorSessionSymmetricMessageSecurityProtocol binding, SecurityToken signingToken, SecurityToken encryptionToken, SecurityToken sourceToken, SecurityTokenParameters tokenParameters, TimeSpan timeout, AsyncCallback callback, object state)
293protected override bool OnGetSupportingTokensDone(TimeSpan timeout)
System\ServiceModel\Security\InitiatorSessionSymmetricTransportSecurityProtocol.cs (4)
141protected override void SecureOutgoingMessageAtInitiator(ref Message message, string actor, TimeSpan timeout)
152protected override IAsyncResult BeginSecureOutgoingMessageAtInitiatorCore(Message message, string actor, TimeSpan timeout, AsyncCallback callback, object state)
192public SecureOutgoingMessageAsyncResult(string actor, Message message, InitiatorSessionSymmetricTransportSecurityProtocol binding, SecurityToken signingToken, SecurityToken sourceToken, SecurityTokenParameters tokenParameters, TimeSpan timeout, AsyncCallback callback, object state)
204protected override bool OnGetSupportingTokensDone(TimeSpan timeout)
System\ServiceModel\Security\IssuanceTokenProviderBase.cs (21)
39TimeSpan maxServiceTokenCachingTime;
98internal static TimeSpan DefaultClientMaxTokenCachingTime
102Fx.Assert(TimeSpan.Parse(defaultClientMaxTokenCachingTimeString, CultureInfo.InvariantCulture) == TimeSpan.MaxValue, "TimeSpan value not correct");
103return TimeSpan.MaxValue;
137public TimeSpan MaxServiceTokenCachingTime
146if (value <= TimeSpan.Zero)
267public override void OnOpen(TimeSpan timeout)
312TimeSpan interval = serviceToken.ValidTo.ToUniversalTime() - serviceToken.ValidFrom.ToUniversalTime();
350protected override IAsyncResult BeginGetTokenCore(TimeSpan timeout, AsyncCallback callback, object state)
382protected override SecurityToken GetTokenCore(TimeSpan timeout)
401protected override void CancelTokenCore(TimeSpan timeout, SecurityToken token)
417protected abstract IAsyncResult BeginCreateNegotiationState(EndpointAddress target, Uri via, TimeSpan timeout, AsyncCallback callback, object state);
418protected abstract T CreateNegotiationState(EndpointAddress target, Uri via, TimeSpan timeout);
425protected abstract void InitializeChannelFactories(EndpointAddress target, TimeSpan timeout);
426protected abstract IAsyncResult BeginInitializeChannelFactories(EndpointAddress target, TimeSpan timeout, AsyncCallback callback, object state);
463protected SecurityToken DoNegotiation(TimeSpan timeout)
470TimeSpan timeLeft = timeout;
639protected IAsyncResult BeginNegotiation(TimeSpan timeout, AsyncCallback callback, object state)
750TimeSpan timeout;
761public SecurityNegotiationAsyncResult(IssuanceTokenProviderBase<T> tokenProvider, TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Security\MessageSecurityProtocol.cs (17)
79public override IAsyncResult BeginSecureOutgoingMessage(Message message, TimeSpan timeout, AsyncCallback callback, object state)
101public override IAsyncResult BeginSecureOutgoingMessage(Message message, TimeSpan timeout, SecurityProtocolCorrelationState correlationState, AsyncCallback callback, object state)
123protected abstract IAsyncResult BeginSecureOutgoingMessageCore(Message message, TimeSpan timeout, SecurityProtocolCorrelationState correlationState, AsyncCallback callback, object state);
298protected SecurityToken GetTokenAndEnsureOutgoingIdentity(SecurityTokenProvider provider, bool isEncryptionOn, TimeSpan timeout, SecurityTokenAuthenticator authenticator)
426SecurityToken requiredSigningToken, TimeSpan timeout, SecurityProtocolCorrelationState[] correlationStates)
524public override void SecureOutgoingMessage(ref Message message, TimeSpan timeout)
548public override SecurityProtocolCorrelationState SecureOutgoingMessage(ref Message message, TimeSpan timeout, SecurityProtocolCorrelationState correlationState)
572protected abstract SecurityProtocolCorrelationState SecureOutgoingMessageCore(ref Message message, TimeSpan timeout, SecurityProtocolCorrelationState correlationState);
586public override void VerifyIncomingMessage(ref Message message, TimeSpan timeout)
622public override SecurityProtocolCorrelationState VerifyIncomingMessage(ref Message message, TimeSpan timeout, params SecurityProtocolCorrelationState[] correlationStates)
659protected abstract SecurityProtocolCorrelationState VerifyIncomingMessageCore(ref Message message, string actor, TimeSpan timeout, SecurityProtocolCorrelationState[] correlationStates);
686bool doIdentityChecks, SecurityTokenAuthenticator identityCheckAuthenticator, SecurityProtocolCorrelationState oldCorrelationState, TimeSpan timeout, AsyncCallback callback, object state)
733protected abstract void OnGetTokenDone(ref Message message, SecurityToken token, TimeSpan timeout);
777protected override bool OnGetSupportingTokensDone(TimeSpan timeout)
812TimeSpan timeout,
898protected abstract void OnBothGetTokenCallsDone(ref Message message, SecurityToken primaryToken, SecurityToken secondaryToken, TimeSpan timeout);
979protected override bool OnGetSupportingTokensDone(TimeSpan timeout)
System\ServiceModel\Security\ReceiveSecurityHeader.cs (7)
96TimeSpan replayWindow;
97TimeSpan clockSkew;
715public void SetTimeParameters(NonceCache nonceCache, TimeSpan replayWindow, TimeSpan clockSkew)
722public void Process(TimeSpan timeout, ChannelBinding channelBinding, ExtendedProtectionPolicy extendedProtectionPolicy)
1254void ProcessEncryptedData(EncryptedData encryptedData, TimeSpan timeout, int position, bool eagerMode, ref bool primarySignatureFound)
1625SecurityToken encryptionToken, string idInEncryptedForm, TimeSpan timeout)
System\ServiceModel\Security\SecurityChannel.cs (7)
57this.securityProtocol.Close(true, TimeSpan.Zero);
63protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
74IAsyncResult BeginCloseSecurityProtocol(TimeSpan timeout, AsyncCallback callback, object state)
99protected override void OnClose(TimeSpan timeout)
133public OutputChannelSendAsyncResult(Message message, SecurityProtocol binding, IOutputChannel channel, TimeSpan timeout,
140protected override IAsyncResult BeginSendCore(IOutputChannel channel, Message message, TimeSpan timeout, AsyncCallback callback, object state)
156protected override void OnSendCompleteCore(TimeSpan timeout)
System\ServiceModel\Security\SecurityProtocol.cs (23)
113public TimeSpan DefaultOpenTimeout
118public TimeSpan DefaultCloseTimeout
123public IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
128public IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
317void MergeSupportingTokenProviders(TimeSpan timeout)
357public void Open(TimeSpan timeout)
362public IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
372public virtual void OnOpen(TimeSpan timeout)
433public void Close(bool aborted, TimeSpan timeout)
464public virtual void OnClose(TimeSpan timeout)
484public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
573internal bool TryGetSupportingTokens(SecurityProtocolFactory factory, EndpointAddress target, Uri via, Message message, TimeSpan timeout, bool isBlockingCall, out IList<SupportingTokenSpecification> supportingTokens)
705public virtual IAsyncResult BeginSecureOutgoingMessage(Message message, TimeSpan timeout, AsyncCallback callback, object state)
711public virtual IAsyncResult BeginSecureOutgoingMessage(Message message, TimeSpan timeout, SecurityProtocolCorrelationState correlationState, AsyncCallback callback, object state)
717public virtual IAsyncResult BeginVerifyIncomingMessage(Message message, TimeSpan timeout, AsyncCallback callback, object state)
723public virtual IAsyncResult BeginVerifyIncomingMessage(Message message, TimeSpan timeout, SecurityProtocolCorrelationState[] correlationStates, AsyncCallback callback, object state)
749internal static SecurityToken GetToken(SecurityTokenProvider provider, EndpointAddress target, TimeSpan timeout)
776public abstract void SecureOutgoingMessage(ref Message message, TimeSpan timeout);
779public virtual SecurityProtocolCorrelationState SecureOutgoingMessage(ref Message message, TimeSpan timeout, SecurityProtocolCorrelationState correlationState)
795public abstract void VerifyIncomingMessage(ref Message message, TimeSpan timeout);
798public virtual SecurityProtocolCorrelationState VerifyIncomingMessage(ref Message message, TimeSpan timeout, params SecurityProtocolCorrelationState[] correlationStates)
864public GetSupportingTokensAsyncResult(Message m, SecurityProtocol binding, TimeSpan timeout, AsyncCallback callback, object state)
877protected abstract bool OnGetSupportingTokensDone(TimeSpan timeout);
System\ServiceModel\Security\SecurityProtocolFactory.cs (32)
71internal static readonly TimeSpan defaultMaxClockSkew = TimeSpan.Parse(defaultMaxClockSkewString, CultureInfo.InvariantCulture);
72internal static readonly TimeSpan defaultReplayWindow = TimeSpan.Parse(defaultReplayWindowString, CultureInfo.InvariantCulture);
75internal static readonly TimeSpan defaultTimestampValidityDuration = TimeSpan.Parse(defaultTimestampValidityDurationString, CultureInfo.InvariantCulture);
95TimeSpan maxClockSkew = defaultMaxClockSkew;
98TimeSpan replayWindow = defaultReplayWindow;
104TimeSpan timestampValidityDuration = defaultTimestampValidityDuration;
431public TimeSpan MaxClockSkew
440if (value < TimeSpan.Zero)
478public TimeSpan ReplayWindow
487if (value <= TimeSpan.Zero)
589public TimeSpan TimestampValidityDuration
598if (value <= TimeSpan.Zero)
622public TimeSpan DefaultOpenTimeout
627public TimeSpan DefaultCloseTimeout
632public IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
637public IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
691public virtual void OnClose(TimeSpan timeout)
716public SecurityProtocol CreateSecurityProtocol(EndpointAddress target, Uri via, object listenerSecurityState, bool isReturnLegSecurityRequired, TimeSpan timeout)
756protected abstract SecurityProtocol OnCreateSecurityProtocol(EndpointAddress target, Uri via, object listenerSecurityState, TimeSpan timeout);
813void MergeSupportingTokenAuthenticators(TimeSpan timeout)
983public virtual void OnOpen(TimeSpan timeout)
1073if (this.MaxClockSkew == TimeSpan.MaxValue || this.ReplayWindow == TimeSpan.MaxValue)
1089public void Open(bool actAsInitiator, TimeSpan timeout)
1095public IAsyncResult BeginOpen(bool actAsInitiator, TimeSpan timeout, AsyncCallback callback, object state)
1106public void Close(bool aborted, TimeSpan timeout)
1118public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
1128internal void Open(string propertyName, bool requiredForForwardDirection, SecurityTokenAuthenticator authenticator, TimeSpan timeout)
1140internal void Open(string propertyName, bool requiredForForwardDirection, SecurityTokenProvider provider, TimeSpan timeout)
System\ServiceModel\Security\SecuritySessionClientSettings.cs (79)
34internal static readonly TimeSpan defaultKeyRenewalInterval = TimeSpan.Parse(defaultKeyRenewalIntervalString, CultureInfo.InvariantCulture);
35internal static readonly TimeSpan defaultKeyRolloverInterval = TimeSpan.Parse(defaultKeyRolloverIntervalString, CultureInfo.InvariantCulture);
42TimeSpan keyRenewalInterval;
43TimeSpan keyRolloverInterval;
104public TimeSpan KeyRenewalInterval
112if (value <= TimeSpan.Zero)
121public TimeSpan KeyRolloverInterval
129if (value <= TimeSpan.Zero)
190public TimeSpan DefaultOpenTimeout
195public TimeSpan DefaultCloseTimeout
220public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
230IAsyncResult ISecurityCommunicationObject.OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
235IAsyncResult ISecurityCommunicationObject.OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
270public void OnClose(TimeSpan timeout)
282this.sessionProtocolFactory.Close(true, TimeSpan.Zero);
286public void OnOpen(TimeSpan timeout)
310internal void Close(TimeSpan timeout)
321IChannelFactory innerChannelFactory, ChannelBuilder channelBuilder, TimeSpan timeout)
608void OpenCore(SecurityToken sessionToken, TimeSpan timeout)
631protected override void OnOpen(TimeSpan timeout)
650protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
813protected SecurityProtocolCorrelationState SendCloseMessage(TimeSpan timeout)
832protected void SendCloseResponseMessage(TimeSpan timeout)
850IAsyncResult BeginSendCloseMessage(TimeSpan timeout, AsyncCallback callback, object state)
871IAsyncResult BeginSendCloseResponseMessage(TimeSpan timeout, AsyncCallback callback, object state)
1050protected Message ProcessIncomingMessage(Message message, TimeSpan timeout, SecurityProtocolCorrelationState correlationState, out MessageFault protocolFault)
1113protected Message ProcessRequestContext(RequestContext requestContext, TimeSpan timeout, SecurityProtocolCorrelationState correlationState)
1181TimeSpan tokenValidityInterval = TimeSpan.FromTicks((long)(((token.ValidTo.Ticks - token.ValidFrom.Ticks) * this.settings.issuedTokenRenewalThreshold) / 100));
1224void RenewKey(TimeSpan timeout)
1294protected IAsyncResult BeginSecureOutgoingMessage(Message message, TimeSpan timeout, AsyncCallback callback, object state)
1316TimeSpan remainingTime;
1323protected SecurityProtocolCorrelationState SecureOutgoingMessage(ref Message message, TimeSpan timeout)
1334protected void VerifyIncomingMessage(ref Message message, TimeSpan timeout, SecurityProtocolCorrelationState correlationState)
1351protected virtual void CloseCore(TimeSpan timeout)
1377protected virtual IAsyncResult BeginCloseCore(TimeSpan timeout, AsyncCallback callback, object state)
1387protected IAsyncResult BeginReceiveInternal(TimeSpan timeout, SecurityProtocolCorrelationState correlationState, AsyncCallback callback, object state)
1397protected Message ReceiveInternal(TimeSpan timeout, SecurityProtocolCorrelationState correlationState)
1419if (timeoutHelper.RemainingTime() == TimeSpan.Zero)
1429protected bool CloseSession(TimeSpan timeout, out bool wasAborted)
1458protected IAsyncResult BeginCloseSession(TimeSpan timeout, AsyncCallback callback, object state)
1499protected virtual SecurityProtocolCorrelationState CloseOutputSession(TimeSpan timeout)
1534protected virtual IAsyncResult BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state)
1625protected override void OnClose(TimeSpan timeout)
1664protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
1682public CloseCoreAsyncResult(ClientSecuritySessionChannel channel, TimeSpan timeout, AsyncCallback callback, object state)
1852public ReceiveAsyncResult(ClientSecuritySessionChannel channel, TimeSpan timeout, SecurityProtocolCorrelationState correlationState, AsyncCallback callback, object state)
1887TimeSpan timeout = timeoutHelper.RemainingTime();
1888if (timeout == TimeSpan.Zero)
1945public OpenAsyncResult(ClientSecuritySessionChannel sessionChannel, TimeSpan timeout, AsyncCallback callback, object state)
2077public CloseSessionAsyncResult(TimeSpan timeout, ClientSecuritySessionChannel sessionChannel, AsyncCallback callback, object state)
2241public CloseAsyncResult(ClientSecuritySessionChannel sessionChannel, TimeSpan timeout, AsyncCallback callback, object state)
2482public KeyRenewalAsyncResult(Message message, ClientSecuritySessionChannel sessionChannel, TimeSpan timeout, AsyncCallback callback, object state)
2516public static Message End(IAsyncResult result, out TimeSpan remainingTime)
2533protected SecureSendAsyncResultBase(Message message, ClientSecuritySessionChannel sessionChannel, TimeSpan timeout, AsyncCallback callback, object state)
2628public SecureSendAsyncResult(Message message, ClientSecuritySessionChannel sessionChannel, TimeSpan timeout, AsyncCallback callback, object state, bool autoCloseMessage)
2846protected override SecurityProtocolCorrelationState CloseOutputSession(TimeSpan timeout)
2865protected override IAsyncResult BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state)
2877IAsyncResult BeginBaseCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state)
2892Message ProcessReply(Message reply, TimeSpan timeout, SecurityProtocolCorrelationState correlationState)
2934public Message Request(Message message, TimeSpan timeout)
2949public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state)
2959TimeSpan remainingTime;
2969public SecureRequestAsyncResult(Message request, ClientSecuritySessionChannel sessionChannel, TimeSpan timeout, AsyncCallback callback, object state)
3019public static Message EndAsReply(IAsyncResult result, out SecurityProtocolCorrelationState correlationState, out TimeSpan remainingTime)
3036public CloseOutputSessionAsyncResult(SecurityRequestSessionChannel requestChannel, TimeSpan timeout, AsyncCallback callback, object state)
3195public Message Receive(TimeSpan timeout)
3205public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
3215public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
3238public bool TryReceive(TimeSpan timeout, out Message message)
3255public void Send(Message message, TimeSpan timeout)
3269public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
3306return this.BeginReceiveInternal(TimeSpan.MaxValue, null, onReceive, this);
3416public bool WaitForMessage(TimeSpan timeout)
3421public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
3493public void CloseOutputSession(TimeSpan timeout)
3528public IAsyncResult BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (12)
294public override void OnOpen(TimeSpan timeout)
340public override void OnClose(TimeSpan timeout)
455protected override IAsyncResult BeginGetTokenCore(TimeSpan timeout, AsyncCallback callback, object state)
466protected override SecurityToken GetTokenCore(TimeSpan timeout)
472protected override IAsyncResult BeginRenewTokenCore(TimeSpan timeout, SecurityToken tokenToBeRenewed, AsyncCallback callback, object state)
483protected override SecurityToken RenewTokenCore(TimeSpan timeout, SecurityToken tokenToBeRenewed)
570GenericXmlSecurityToken DoOperation(SecuritySessionOperation operation, EndpointAddress target, Uri via, SecurityToken currentToken, TimeSpan timeout)
835public SessionOperationAsyncResult(SecuritySessionSecurityTokenProvider requestor, SecuritySessionOperation operation, EndpointAddress target, Uri via, SecurityToken currentToken, TimeSpan timeout, AsyncCallback callback, object state)
1096protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
1106protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
1116protected override void OnClose(TimeSpan timeout)
1122protected override void OnOpen(TimeSpan timeout)
System\ServiceModel\Security\SecuritySessionServerSettings.cs (107)
35internal static readonly TimeSpan defaultKeyRenewalInterval = TimeSpan.Parse(defaultKeyRenewalIntervalString, CultureInfo.InvariantCulture);
36internal static readonly TimeSpan defaultKeyRolloverInterval = TimeSpan.Parse(defaultKeyRolloverIntervalString, CultureInfo.InvariantCulture);
39internal static readonly TimeSpan defaultInactivityTimeout = TimeSpan.Parse(defaultInactivityTimeoutString, CultureInfo.InvariantCulture);
45TimeSpan inactivityTimeout;
47TimeSpan maximumKeyRenewalInterval;
48TimeSpan keyRolloverInterval;
63TimeSpan closeTimeout;
64TimeSpan openTimeout;
65TimeSpan sendTimeout;
233public TimeSpan InactivityTimeout
241if (value <= TimeSpan.Zero)
251public TimeSpan MaximumKeyRenewalInterval
259if (value <= TimeSpan.Zero)
268public TimeSpan KeyRolloverInterval
276if (value <= TimeSpan.Zero)
323public TimeSpan OpenTimeout
331public TimeSpan CloseTimeout
339public TimeSpan SendTimeout
349public TimeSpan DefaultOpenTimeout
354public TimeSpan DefaultCloseTimeout
359public IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
364public IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
405public void OnClose(TimeSpan timeout)
412internal void Close(TimeSpan timeout)
417internal IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
432internal void Open(TimeSpan timeout)
437internal IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
447void OnCloseCore(TimeSpan timeout)
472this.sessionProtocolFactory.Close(true, TimeSpan.Zero);
511public void OnOpen(TimeSpan timeout)
546if (this.inactivityTimeout < TimeSpan.MaxValue)
591void ClosePendingChannels(TimeSpan timeout)
768handler.BeginReceive(TimeSpan.MaxValue);
850void TryCloseBinder(IServerReliableChannelBinder binder, TimeSpan timeout)
1001public IAsyncResult BeginReceive(TimeSpan timeout)
1016this.BeginReceive(TimeSpan.MaxValue);
1167this.securityProtocol = this.Settings.SessionProtocolFactory.CreateSecurityProtocol(null, null, listenerSecurityProtocolState, true, TimeSpan.Zero);
1206internal TimeSpan InternalSendTimeout
1222protected override void OnOpen(TimeSpan timeout)
1241protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
1260this.securityProtocol.Close(true, TimeSpan.Zero);
1278protected virtual void CloseCore(TimeSpan timeout)
1318protected virtual IAsyncResult BeginCloseCore(TimeSpan timeout, AsyncCallback callback, object state)
1328protected abstract void OnCloseMessageReceived(RequestContext requestContext, Message message, SecurityProtocolCorrelationState correlationState, TimeSpan timeout);
1330protected abstract void OnCloseResponseMessageReceived(RequestContext requestContext, Message message, SecurityProtocolCorrelationState correlationState, TimeSpan timeout);
1388bool CheckIncomingToken(RequestContext requestContext, Message message, SecurityProtocolCorrelationState correlationState, TimeSpan timeout)
1465public RequestContext ReceiveRequest(TimeSpan timeout)
1483public IAsyncResult BeginReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state)
1501public IAsyncResult BeginTryReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state)
1511public bool TryReceiveRequest(TimeSpan timeout, out RequestContext requestContext)
1531if (timeoutHelper.RemainingTime() == TimeSpan.Zero)
1594public Message Receive(TimeSpan timeout)
1612public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
1630public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
1640public bool TryReceive(TimeSpan timeout, out Message message)
1688void SendFaultIfRequired(Exception e, Message unverifiedMessage, RequestContext requestContext, TimeSpan timeout)
1739Message ProcessRequestContext(RequestContext requestContext, TimeSpan timeout, out SecurityProtocolCorrelationState correlationState, out bool isSecurityProcessingFailure)
1832internal void SecureApplicationMessage(ref Message message, TimeSpan timeout, SecurityProtocolCorrelationState correlationState)
1840internal SecurityProtocolCorrelationState VerifyIncomingMessage(ref Message message, TimeSpan timeout)
1886void SendRenewFault(RequestContext requestContext, SecurityProtocolCorrelationState correlationState, TimeSpan timeout)
1966internal Message CreateCloseResponse(Message message, SecurityProtocolCorrelationState correlationState, TimeSpan timeout)
1998protected void SendCloseResponse(RequestContext requestContext, Message closeResponse, TimeSpan timeout)
2020internal IAsyncResult BeginSendCloseResponse(RequestContext requestContext, Message closeResponse, TimeSpan timeout, AsyncCallback callback, object state)
2060internal Message CreateCloseMessage(TimeSpan timeout)
2093protected void SendClose(TimeSpan timeout)
2114internal IAsyncResult BeginSendClose(TimeSpan timeout, AsyncCallback callback, object state)
2154protected void SendMessage(RequestContext requestContext, Message message, TimeSpan timeout)
2168internal IAsyncResult BeginSendMessage(RequestContext requestContext, Message response, TimeSpan timeout, AsyncCallback callback, object state)
2186public SendMessageAsyncResult(ServerSecuritySessionChannel sessionChannel, RequestContext requestContext, Message message, TimeSpan timeout, AsyncCallback callback,
2311public CloseCoreAsyncResult(ServerSecuritySessionChannel channel, TimeSpan timeout, AsyncCallback callback, object state)
2557public ReceiveRequestAsyncResult(ServerSecuritySessionChannel channel, TimeSpan timeout, AsyncCallback callback, object state)
2649if (this.timeoutHelper.RemainingTime() == TimeSpan.Zero)
2694if (this.timeoutHelper.RemainingTime() == TimeSpan.Zero)
2885protected override void CloseCore(TimeSpan timeout)
2937bool SendCloseResponseOnCloseIfRequired(TimeSpan timeout)
2980protected override void OnClose(TimeSpan timeout)
3006protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
3019bool WaitForInputSessionClose(TimeSpan timeout, out bool wasAborted)
3050protected override void OnCloseResponseMessageReceived(RequestContext requestContext, Message message, SecurityProtocolCorrelationState correlationState, TimeSpan timeout)
3058protected override void OnCloseMessageReceived(RequestContext requestContext, Message message, SecurityProtocolCorrelationState correlationState, TimeSpan timeout)
3072bool SendCloseResponseOnCloseReceivedIfRequired(RequestContext requestContext, Message message, SecurityProtocolCorrelationState correlationState, TimeSpan timeout)
3139public CloseAsyncResult(ServerSecuritySimplexSessionChannel sessionChannel, bool sendCloseResponse, RequestContext closeRequestContext, Message closeResponse, TimeSpan timeout, AsyncCallback callback, object state)
3513public bool WaitForRequest(TimeSpan timeout)
3518public IAsyncResult BeginWaitForRequest(TimeSpan timeout, AsyncCallback callback, object state)
3548protected override void OnClose(TimeSpan timeout)
3553protected override void OnReply(Message message, TimeSpan timeout)
3563protected override IAsyncResult OnBeginReply(Message message, TimeSpan timeout, AsyncCallback callback, object state)
3630public void Send(Message message, TimeSpan timeout)
3643public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
3695protected override void CloseCore(TimeSpan timeout)
3723protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
3733internal bool WaitForOutputSessionClose(TimeSpan timeout, out bool wasAborted)
3748protected override void OnClose(TimeSpan timeout)
3788bool WaitForInputSessionClose(TimeSpan timeout, out bool wasAborted)
3838protected override void OnCloseMessageReceived(RequestContext requestContext, Message message, SecurityProtocolCorrelationState correlationState, TimeSpan timeout)
3889protected override void OnCloseResponseMessageReceived(RequestContext requestContext, Message message, SecurityProtocolCorrelationState correlationState, TimeSpan timeout)
3960void CloseOutputSession(TimeSpan timeout)
4005IAsyncResult BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state)
4015public bool WaitForMessage(TimeSpan timeout)
4020public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
4040public CloseOutputSessionAsyncResult(ServerSecurityDuplexSessionChannel sessionChannel, TimeSpan timeout, AsyncCallback callback, object state)
4150public CloseAsyncResult(ServerSecurityDuplexSessionChannel sessionChannel, TimeSpan timeout, AsyncCallback callback, object state)
4580public void CloseOutputSession(TimeSpan timeout)
4617public IAsyncResult BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Security\SecurityUtils.cs (20)
326internal static bool IsCurrentlyTimeEffective(DateTime effectiveTime, DateTime expirationTime, TimeSpan maxClockSkew)
374return new DateTime(DateTime.MaxValue.Ticks - TimeSpan.TicksPerDay, DateTimeKind.Utc);
383return new DateTime(DateTime.MinValue.Ticks + TimeSpan.TicksPerDay, DateTimeKind.Utc);
1519internal static void OpenTokenProviderIfRequired(SecurityTokenProvider tokenProvider, TimeSpan timeout)
1524internal static IAsyncResult BeginOpenTokenProviderIfRequired(SecurityTokenProvider tokenProvider, TimeSpan timeout,
1535internal static IAsyncResult BeginCloseTokenProviderIfRequired(SecurityTokenProvider tokenProvider, TimeSpan timeout,
1546internal static void CloseTokenProviderIfRequired(SecurityTokenProvider tokenProvider, TimeSpan timeout)
1551internal static void CloseTokenProviderIfRequired(SecurityTokenProvider tokenProvider, bool aborted, TimeSpan timeout)
1558CloseCommunicationObject(tokenProvider, true, TimeSpan.Zero);
1561internal static void OpenTokenAuthenticatorIfRequired(SecurityTokenAuthenticator tokenAuthenticator, TimeSpan timeout)
1566internal static void CloseTokenAuthenticatorIfRequired(SecurityTokenAuthenticator tokenAuthenticator, TimeSpan timeout)
1571internal static void CloseTokenAuthenticatorIfRequired(SecurityTokenAuthenticator tokenAuthenticator, bool aborted, TimeSpan timeout)
1576internal static IAsyncResult BeginOpenTokenAuthenticatorIfRequired(SecurityTokenAuthenticator tokenAuthenticator, TimeSpan timeout,
1587internal static IAsyncResult BeginCloseTokenAuthenticatorIfRequired(SecurityTokenAuthenticator tokenAuthenticator, TimeSpan timeout,
1600CloseCommunicationObject(tokenAuthenticator, true, TimeSpan.Zero);
1603static void OpenCommunicationObject(ICommunicationObject obj, TimeSpan timeout)
1609static void CloseCommunicationObject(Object obj, bool aborted, TimeSpan timeout)
1644public OpenCommunicationObjectAsyncResult(object obj, TimeSpan timeout, AsyncCallback callback, object state)
1714public CloseCommunicationObjectAsyncResult(object obj, TimeSpan timeout, AsyncCallback callback, object state)
2439public OperationWithTimeoutAsyncResult(OperationWithTimeoutCallback operationWithTimeout, TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Security\SymmetricSecurityProtocol.cs (9)
77public override void OnOpen(TimeSpan timeout)
125public override void OnClose(TimeSpan timeout)
156protected override IAsyncResult BeginSecureOutgoingMessageCore(Message message, TimeSpan timeout, SecurityProtocolCorrelationState correlationState, AsyncCallback callback, object state)
181protected override SecurityProtocolCorrelationState SecureOutgoingMessageCore(ref Message message, TimeSpan timeout, SecurityProtocolCorrelationState correlationState)
254TimeSpan timeout,
285bool TryGetTokenSynchronouslyForOutgoingSecurity(Message message, SecurityProtocolCorrelationState correlationState, bool isBlockingCall, TimeSpan timeout, out SecurityToken token, out SecurityTokenParameters tokenParameters, out SecurityToken prerequisiteWrappingToken, out IList<SupportingTokenSpecification> supportingTokens, out SecurityProtocolCorrelationState newCorrelationState)
331protected override SecurityProtocolCorrelationState VerifyIncomingMessageCore(ref Message message, string actor, TimeSpan timeout, SecurityProtocolCorrelationState[] correlationStates)
402bool doIdentityChecks, SecurityTokenAuthenticator identityCheckAuthenticator, SecurityProtocolCorrelationState correlationState, TimeSpan timeout, AsyncCallback callback, object state)
409protected override void OnGetTokenDone(ref Message message, SecurityToken providerToken, TimeSpan timeout)
System\ServiceModel\Security\TlsnegoTokenProvider.cs (5)
120protected override IAsyncResult BeginCreateNegotiationState(EndpointAddress target, Uri via, TimeSpan timeout, AsyncCallback callback, object state)
145protected override SspiNegotiationTokenProviderState CreateNegotiationState(EndpointAddress target, Uri via, TimeSpan timeout)
186public override void OnOpen(TimeSpan timeout)
200public override void OnClose(TimeSpan timeout)
237public CreateSspiStateAsyncResult(EndpointAddress target, Uri via, TlsnegoTokenProvider tlsTokenProvider, TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Security\Tokens\IssuedSecurityTokenProvider.cs (15)
172public TimeSpan MaxIssuedTokenCachingTime
241public virtual TimeSpan DefaultOpenTimeout
246public virtual TimeSpan DefaultCloseTimeout
294public void Close(TimeSpan timeout)
304public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
330public void Open(TimeSpan timeout)
342public IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
360protected override IAsyncResult BeginGetTokenCore(TimeSpan timeout, AsyncCallback callback, object state)
365protected override SecurityToken GetTokenCore(TimeSpan timeout)
657public override void OnOpen(TimeSpan timeout)
724public override void OnClose(TimeSpan timeout)
754protected override void InitializeChannelFactories(EndpointAddress target, TimeSpan timeout)
762protected override IAsyncResult BeginInitializeChannelFactories(EndpointAddress target, TimeSpan timeout, AsyncCallback callback, object state)
827protected override IAsyncResult BeginCreateNegotiationState(EndpointAddress target, Uri via, TimeSpan timeout, AsyncCallback callback, object state)
837protected override FederatedTokenProviderState CreateNegotiationState(EndpointAddress target, Uri via, TimeSpan timeout)
System\ServiceModel\Security\TransportSecurityProtocol.cs (9)
24public override void SecureOutgoingMessage(ref Message message, TimeSpan timeout)
51protected virtual void SecureOutgoingMessageAtInitiator(ref Message message, string actor, TimeSpan timeout)
75public override IAsyncResult BeginSecureOutgoingMessage(Message message, TimeSpan timeout, SecurityProtocolCorrelationState correlationState, AsyncCallback callback, object state)
105public override IAsyncResult BeginSecureOutgoingMessage(Message message, TimeSpan timeout, AsyncCallback callback, object state)
110protected virtual IAsyncResult BeginSecureOutgoingMessageAtInitiatorCore(Message message, string actor, TimeSpan timeout, AsyncCallback callback, object state)
172public sealed override void VerifyIncomingMessage(ref Message message, TimeSpan timeout)
206protected virtual void VerifyIncomingMessageCore(ref Message message, TimeSpan timeout)
279public SecureOutgoingMessageAsyncResult(string actor, Message message, TransportSecurityProtocol binding, TimeSpan timeout, AsyncCallback callback, object state)
288protected override bool OnGetSupportingTokensDone(TimeSpan timeout)
System\ServiceModel\Security\WrapperSecurityCommunicationObject.cs (26)
31protected override TimeSpan DefaultCloseTimeout
36protected override TimeSpan DefaultOpenTimeout
46protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
51protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
56protected override void OnClose(TimeSpan timeout)
89protected override void OnOpen(TimeSpan timeout)
174public virtual TimeSpan DefaultOpenTimeout
179public virtual TimeSpan DefaultCloseTimeout
195public void Close(TimeSpan timeout)
205public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
220public void Open(TimeSpan timeout)
230public IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
250public IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
255public IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
260public virtual void OnClose(TimeSpan timeout)
288public virtual void OnOpen(TimeSpan timeout)
351public virtual TimeSpan DefaultOpenTimeout
356public virtual TimeSpan DefaultCloseTimeout
372public void Close(TimeSpan timeout)
382public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
397public void Open(TimeSpan timeout)
407public IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
427public IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
432public IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
437public virtual void OnClose(TimeSpan timeout)
465public virtual void OnOpen(TimeSpan timeout)
System\ServiceModel\ServiceHost.cs (20)
37TimeSpan closeTimeout = ServiceDefaults.ServiceHostCloseTimeout;
43TimeSpan openTimeout = ServiceDefaults.OpenTimeout;
136public TimeSpan CloseTimeout
141if (value < TimeSpan.Zero)
203protected override TimeSpan DefaultCloseTimeout
208protected override TimeSpan DefaultOpenTimeout
239public TimeSpan OpenTimeout
244if (value < TimeSpan.Zero)
558internal virtual void AfterInitializeRuntime(TimeSpan timeout)
562internal virtual IAsyncResult BeginAfterInitializeRuntime(TimeSpan timeout, AsyncCallback callback, object state)
828protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
841protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
847IAsyncResult BeginOpenChannelDispatchers(TimeSpan timeout, AsyncCallback callback, object state)
852protected override void OnClose(TimeSpan timeout)
1033protected override void OnOpen(TimeSpan timeout)
1250public OpenAsyncResult(ServiceHostBase host, TimeSpan timeout, AsyncCallback callback, object state)
1305public CloseAsyncResult(TimeSpan timeout, AsyncCallback callback, object state, ServiceHostBase serviceHost)
1331TimeSpan timeout = this.timeoutHelper.RemainingTime();
1470TimeSpan timeout = this.timeoutHelper.RemainingTime();
1535TimeSpan timeout = this.timeoutHelper.RemainingTime();
System\ServiceModel\TimeSpanHelper.cs (20)
12static public TimeSpan FromMinutes(int minutes, string text)
14TimeSpan value = TimeSpan.FromTicks(TimeSpan.TicksPerMinute * minutes);
15Fx.Assert(value == TimeSpan.Parse(text, CultureInfo.InvariantCulture), "");
18static public TimeSpan FromSeconds(int seconds, string text)
20TimeSpan value = TimeSpan.FromTicks(TimeSpan.TicksPerSecond * seconds);
21Fx.Assert(value == TimeSpan.Parse(text, CultureInfo.InvariantCulture), "");
24static public TimeSpan FromMilliseconds(int ms, string text)
26TimeSpan value = TimeSpan.FromTicks(TimeSpan.TicksPerMillisecond * ms);
27Fx.Assert(value == TimeSpan.Parse(text, CultureInfo.InvariantCulture), "");
30static public TimeSpan FromDays(int days, string text)
32TimeSpan value = TimeSpan.FromTicks(TimeSpan.TicksPerDay * days);
33Fx.Assert(value == TimeSpan.Parse(text, CultureInfo.InvariantCulture), "");
Cache\cache.cs (8)
49out object expensiveObject, out CacheDependency dependency, out DateTime absoluteExpiration, out TimeSpan slidingExpiration);
182public static readonly TimeSpan NoSlidingExpiration = TimeSpan.Zero;
366TimeSpan slidingExpiration;
421public void Insert(string key, object value, CacheDependency dependencies, DateTime absoluteExpiration, TimeSpan slidingExpiration) {
435TimeSpan slidingExpiration,
456TimeSpan slidingExpiration,
499TimeSpan slidingExpiration,
Configuration\ProcessModelSection.cs (32)
79internal static TimeSpan DefaultClientConnectedCheck = new TimeSpan(0, 0, 5);
86typeof(TimeSpan),
87TimeSpan.MaxValue,
93typeof(TimeSpan),
94TimeSpan.MaxValue,
100typeof(TimeSpan),
101TimeSpan.FromSeconds(5),
140typeof(TimeSpan),
151typeof(TimeSpan),
152TimeSpan.FromMinutes(3),
158typeof(TimeSpan),
159TimeSpan.FromMinutes(3),
200typeof(TimeSpan),
201TimeSpan.MaxValue,
207typeof(TimeSpan),
208TimeSpan.MaxValue,
277public TimeSpan Timeout {
279return (TimeSpan)base[_propTimeout];
288public TimeSpan IdleTimeout {
290return (TimeSpan)base[_propIdleTimeout];
300public TimeSpan ShutdownTimeout {
302return (TimeSpan)base[_propShutdownTimeout];
407public TimeSpan ClientConnectedCheck {
409return (TimeSpan)base[_propClientConnectedCheck];
439public TimeSpan ResponseDeadlockInterval {
441return (TimeSpan)base[_propResponseDeadlockInterval];
451public TimeSpan ResponseRestartDeadlockInterval {
453return (TimeSpan)base[_propResponseRestartDeadlockInterval];
529public TimeSpan PingFrequency {
531return (TimeSpan)base[_propPingFrequency];
540public TimeSpan PingTimeout {
542return (TimeSpan)base[_propPingTimeout];
Configuration\RuleSettings.cs (7)
27internal static TimeSpan DEFAULT_MIN_INTERVAL = TimeSpan.Zero;
76typeof(TimeSpan),
111public RuleSettings(String name, String eventName, String provider, String profile, int minInstances, int maxLimit, TimeSpan minInterval)
119public RuleSettings(String name, String eventName, String provider, String profile, int minInstances, int maxLimit, TimeSpan minInterval, string custom)
210public TimeSpan MinInterval {
212return (TimeSpan)base[_propMinInterval];
ProcessInfo.cs (4)
106public TimeSpan Age { get { return _Age;}}
131private TimeSpan _Age;
142public void SetAll (DateTime startTime, TimeSpan age, int processID, int requestCount, ProcessStatus status,
158public ProcessInfo (DateTime startTime, TimeSpan age, int processID, int requestCount, ProcessStatus status,