System\ServiceModel\Channels\ChannelDemuxer.cs (133)
180IAsyncResult OnBeginOuterListenerOpen(ChannelDemuxerFilter filter, IChannelListener listener, TimeSpan timeout, AsyncCallback callback, object state);
181void OnEndOuterListenerOpen(IAsyncResult result);
184IAsyncResult OnBeginOuterListenerClose(ChannelDemuxerFilter filter, TimeSpan timeout, AsyncCallback callback, object state);
185void OnEndOuterListenerClose(IAsyncResult result);
239protected abstract IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state);
243protected abstract TInnerItem EndReceive(IAsyncResult result);
256bool HandleReceiveResult(IAsyncResult result)
435public IAsyncResult OnBeginOuterListenerClose(ChannelDemuxerFilter filter, TimeSpan timeout, AsyncCallback callback, object state)
459public void OnEndOuterListenerClose(IAsyncResult result)
574public IAsyncResult OnBeginOuterListenerOpen(ChannelDemuxerFilter filter, IChannelListener listener, TimeSpan timeout, AsyncCallback callback, object state)
579public void OnEndOuterListenerOpen(IAsyncResult result)
584void OnReceiveComplete(IAsyncResult result)
592static void OnReceiveCompleteStatic(IAsyncResult result)
670IAsyncResult result;
819bool OnInnerListenerEndOpen(IAsyncResult result)
836IAsyncResult result = this.channelDemuxer.innerListener.BeginOpen(timeoutHelper.RemainingTime(), openListenerCallback, this);
852static void OpenListenerCallback(IAsyncResult result)
878static void AcceptChannelCallback(IAsyncResult result)
909bool OnEndAcceptChannel(IAsyncResult result)
912IAsyncResult openResult = this.channelDemuxer.innerChannel.BeginOpen(this.timeoutHelper.RemainingTime(), acceptChannelCallback, this);
923static void OpenChannelCallback(IAsyncResult result)
949void OnEndOpenChannel(IAsyncResult result)
970public static void End(IAsyncResult result)
993IAsyncResult result = channelDemuxer.innerChannel.BeginClose(timeoutHelper.RemainingTime(), sharedCallback, this);
1024IAsyncResult result = channelDemuxer.innerListener.BeginClose(timeoutHelper.RemainingTime(), sharedCallback, this);
1045static void SharedCallback(IAsyncResult result)
1092public static void End(IAsyncResult result)
1111protected override IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
1138protected override Message EndReceive(IAsyncResult result)
1173protected override IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
1200protected override Message EndReceive(IAsyncResult result)
1272protected override IAsyncResult OnBeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
1277protected override void OnEndSend(IAsyncResult result)
1282protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
1287protected override void OnEndOpen(IAsyncResult result)
1311protected override IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
1354void EndpointNotFoundCallback(IAsyncResult result)
1449protected override RequestContext EndReceive(IAsyncResult result)
1551protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
1556protected override void OnEndOpen(IAsyncResult result)
1561IAsyncResult OnBeginOuterListenerOpen(TimeSpan timeout, AsyncCallback callback, object state)
1566void OnEndOuterListenerOpen(IAsyncResult result)
1584protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
1589protected override void OnEndClose(IAsyncResult result)
1594IAsyncResult OnBeginOuterListenerClose(TimeSpan timeout, AsyncCallback callback, object state)
1599void OnEndOuterListenerClose(IAsyncResult result)
1681protected abstract IAsyncResult BeginReceive(TInnerChannel channel, AsyncCallback callback, object state);
1682protected abstract IAsyncResult BeginReceive(TInnerChannel channel, TimeSpan timeout, AsyncCallback callback, object state);
1685protected abstract TInnerItem EndReceive(TInnerChannel channel, IAsyncResult result);
1698bool BeginAcceptChannel(bool requiresThrottle, out IAsyncResult result)
1761bool EndAcceptChannel(IAsyncResult result, out TInnerChannel channel)
1822IAsyncResult peekResult = new PeekAsyncResult(this, channel, onPeekComplete, this);
1865void HandlePeekResult(IAsyncResult result)
1968static void OnAcceptCompleteStatic(IAsyncResult result)
2010IAsyncResult acceptResult;
2083public IAsyncResult OnBeginOuterListenerOpen(ChannelDemuxerFilter filter, IChannelListener listener, TimeSpan timeout, AsyncCallback callback, object state)
2088public void OnEndOuterListenerOpen(IAsyncResult result)
2143public IAsyncResult OnBeginOuterListenerClose(ChannelDemuxerFilter filter, TimeSpan timeout, AsyncCallback callback, object state)
2150IAsyncResult result = this.innerListener.BeginClose(timeout, callback, state);
2170public void OnEndOuterListenerClose(IAsyncResult result)
2198IAsyncResult result = (IAsyncResult)state;
2207static void OnPeekCompleteStatic(IAsyncResult result)
2371IAsyncResult result;
2424IAsyncResult result = this.channel.BeginOpen(onOpenComplete, this);
2435public static void End(IAsyncResult result, out TInnerChannel channel, out TInnerItem item)
2442bool HandleOpenComplete(IAsyncResult result)
2446IAsyncResult receiveResult;
2467static void OnOpenCompleteStatic(IAsyncResult result)
2497void HandleReceiveComplete(IAsyncResult result)
2502static void OnReceiveCompleteStatic(IAsyncResult result)
2615void OnEndInnerListenerOpen(IAsyncResult result)
2632IAsyncResult result = this.channelDemuxer.innerListener.BeginOpen(timeoutHelper.RemainingTime(), openListenerCallback, this);
2648static void OpenListenerCallback(IAsyncResult result)
2679public static void End(IAsyncResult result)
2698protected override IAsyncResult BeginReceive(IInputSessionChannel channel, AsyncCallback callback, object state)
2703protected override IAsyncResult BeginReceive(IInputSessionChannel channel, TimeSpan timeout, AsyncCallback callback, object state)
2723protected override Message EndReceive(IInputSessionChannel channel, IAsyncResult result)
2764protected override IAsyncResult BeginReceive(IDuplexSessionChannel channel, AsyncCallback callback, object state)
2769protected override IAsyncResult BeginReceive(IDuplexSessionChannel channel, TimeSpan timeout, AsyncCallback callback, object state)
2779void EndpointNotFoundCallback(IAsyncResult result)
2875protected override Message EndReceive(IDuplexSessionChannel channel, IAsyncResult result)
2935public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state)
2940public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
2945public void EndSend(IAsyncResult result)
2964protected override IAsyncResult BeginReceive(IReplySessionChannel channel, AsyncCallback callback, object state)
2969protected override IAsyncResult BeginReceive(IReplySessionChannel channel, TimeSpan timeout, AsyncCallback callback, object state)
2979void EndpointNotFoundCallback(IAsyncResult result)
3075protected override RequestContext EndReceive(IReplySessionChannel channel, IAsyncResult result)
3153protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
3160protected override void OnEndClose(IAsyncResult result)
3176public static TItem End(IAsyncResult result)
3191public static bool End(IAsyncResult result)
3211protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
3216protected override void OnEndOpen(IAsyncResult result)
3250public IAsyncResult BeginReceive(AsyncCallback callback, object state)
3258public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
3266public Message EndReceive(IAsyncResult result)
3281public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
3289public bool EndTryReceive(IAsyncResult result, out Message message)
3306public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
3313public bool EndWaitForMessage(IAsyncResult result)
3333protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
3338protected override void OnEndOpen(IAsyncResult result)
3388public IAsyncResult BeginReceiveRequest(AsyncCallback callback, object state)
3396public IAsyncResult BeginReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state)
3404public RequestContext EndReceiveRequest(IAsyncResult result)
3419public IAsyncResult BeginTryReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state)
3427public bool EndTryReceiveRequest(IAsyncResult result, out RequestContext request)
3444public IAsyncResult BeginWaitForRequest(TimeSpan timeout, AsyncCallback callback, object state)
3451public bool EndWaitForRequest(IAsyncResult result)
3490protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
3495protected override void OnEndOpen(IAsyncResult result)
3500IAsyncResult OnBeginOuterListenerOpen(TimeSpan timeout, AsyncCallback callback, object state)
3505void OnEndOuterListenerOpen(IAsyncResult result)
3523protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
3528protected override void OnEndClose(IAsyncResult result)
3533IAsyncResult OnBeginOuterListenerClose(TimeSpan timeout, AsyncCallback callback, object state)
3538void OnEndOuterListenerClose(IAsyncResult result)
3749IAsyncResult result = this.demuxFailureHandler.BeginHandleDemuxFailure(requestContext.RequestMessage, requestContext, demuxFailureHandlerCallback, this);
3767static void DemuxFailureHandlerCallback(IAsyncResult result)
3794public static void End(IAsyncResult result)
3814IAsyncResult result = this.channel.BeginClose(closeChannelCallback, this);
3823static void ChannelCloseCallback(IAsyncResult result)
3844public static new void End(IAsyncResult result)
3876IAsyncResult result = this.demuxFailureHandler.BeginHandleDemuxFailure(this.message, this.channel, demuxFailureHandlerCallback, this);
3890IAsyncResult result = this.channel.BeginClose(channelCloseCallback, this);
3900static void DemuxFailureHandlerCallback(IAsyncResult result)
3927static void ChannelCloseCallback(IAsyncResult result)
3949public static void End(IAsyncResult result)
3959IAsyncResult BeginHandleDemuxFailure(Message message, RequestContext faultContext, AsyncCallback callback, object state);
3960IAsyncResult BeginHandleDemuxFailure(Message message, IOutputChannel faultContext, AsyncCallback callback, object state);
3961void EndHandleDemuxFailure(IAsyncResult result);
System\ServiceModel\Channels\ChannelReliableSession.cs (13)
208public virtual IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
213public abstract IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state);
227public virtual void EndClose(IAsyncResult result)
233public abstract void EndOpen(IAsyncResult result);
707public override IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
733public override void EndClose(IAsyncResult result)
739public override void EndOpen(IAsyncResult result)
1056IAsyncResult result = this.session.requestor.BeginRequest(timeout, onRequestComplete, this);
1064void CompleteRequest(IAsyncResult result)
1070public static void End(IAsyncResult result)
1075static void OnRequestCompleteStatic(IAsyncResult result)
1131public override IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
1136public override void EndOpen(IAsyncResult result)
System\ServiceModel\Channels\ClientReliableChannelBinder.cs (26)
91public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback,
97public IAsyncResult BeginRequest(Message message, TimeSpan timeout, MaskingMode maskingMode,
105protected override IAsyncResult BeginTryGetChannel(TimeSpan timeout,
158public Message EndRequest(IAsyncResult result)
163protected override bool EndTryGetChannel(IAsyncResult result)
184protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback,
190protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback,
196protected virtual IAsyncResult OnBeginRequest(TChannel channel, Message message,
206protected override void OnEndClose(IAsyncResult result)
211protected override void OnEndOpen(IAsyncResult result)
217IAsyncResult result)
355protected override IAsyncResult OnBeginSend(TDuplexChannel channel, Message message,
361protected override IAsyncResult OnBeginTryReceive(TDuplexChannel channel,
367protected override void OnEndSend(TDuplexChannel channel, IAsyncResult result)
372protected override bool OnEndTryReceive(TDuplexChannel channel, IAsyncResult result,
465protected override IAsyncResult BeginCloseChannel(IDuplexSessionChannel channel,
478IAsyncResult result)
509public override IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback,
515public override bool EndTryReceive(IAsyncResult result,
575protected override IAsyncResult OnBeginRequest(TRequestChannel channel,
582protected override IAsyncResult OnBeginSend(TRequestChannel channel, Message message,
589MaskingMode maskingMode, IAsyncResult result)
594protected override void OnEndSend(TRequestChannel channel, IAsyncResult result)
641protected override IAsyncResult BeginOutput(
649public static Message End(IAsyncResult result)
656TChannel channel, MaskingMode maskingMode, IAsyncResult result)
System\ServiceModel\Channels\CommunicationObject.cs (18)
145public IAsyncResult BeginClose(AsyncCallback callback, object state)
150public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
193IAsyncResult result = new CloseAsyncResult(this, timeout, callback, state);
221public IAsyncResult BeginOpen(AsyncCallback callback, object state)
226public IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
245IAsyncResult result = new OpenAsyncResult(this, timeout, callback, state);
456public void EndClose(IAsyncResult result)
464public void EndOpen(IAsyncResult result)
1024protected abstract void OnEndClose(IAsyncResult result);
1025protected abstract IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state);
1028protected abstract IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state);
1029protected abstract void OnEndOpen(IAsyncResult result);
1104IAsyncResult result = this.communicationObject.OnBeginOpen(this.timeout.RemainingTime(),
1142static bool OnOpenCompletion(IAsyncResult result)
1150public static void End(IAsyncResult result)
1178IAsyncResult result = this.communicationObject.OnBeginClose(this.timeout.RemainingTime(),
1216static bool OnCloseCompletion(IAsyncResult result)
1224public static void End(IAsyncResult result)
System\ServiceModel\Channels\Connection.cs (26)
40IAsyncResult BeginValidate(Uri uri, AsyncCallback callback, object state);
41bool EndValidate(IAsyncResult result);
48IAsyncResult BeginConnect(Uri uri, TimeSpan timeout, AsyncCallback callback, object state);
49IConnection EndConnect(IAsyncResult result);
56IAsyncResult BeginAccept(AsyncCallback callback, object state);
57IConnection EndAccept(IAsyncResult result);
120public virtual IAsyncResult BeginValidate(Uri uri, AsyncCallback callback, object state)
125public virtual bool EndValidate(IAsyncResult result)
380public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
385public override void EndWrite(IAsyncResult asyncResult)
395public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
400public override int EndRead(IAsyncResult asyncResult)
431public IAsyncResult BeginValidate(Uri uri, AsyncCallback callback, object state)
436public bool EndValidate(IAsyncResult result)
515public static int End(IAsyncResult result)
540public static void End(IAsyncResult result)
554IAsyncResult readResult;
555IAsyncResult writeResult;
674public IAsyncResult BeginValidate(Uri uri, AsyncCallback callback, object state)
679public bool EndValidate(IAsyncResult result)
704IAsyncResult localResult = stream.BeginWrite(buffer, offset, size, this.onWrite, state);
732IAsyncResult localResult = this.writeResult;
749void OnWrite(IAsyncResult result)
826IAsyncResult localResult = stream.BeginRead(AsyncReadBuffer, offset, size, onRead, state);
845IAsyncResult localResult = this.readResult;
863void OnRead(IAsyncResult result)
System\ServiceModel\Channels\ConnectionOrientedTransportChannelListener.cs (12)
241protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
254protected override void OnEndOpen(IAsyncResult result)
297protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
310protected override void OnEndClose(IAsyncResult result)
388IAsyncResult DummyBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
393void DummyEndClose(IAsyncResult result)
398protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
411protected override void OnEndClose(IAsyncResult result)
483IAsyncResult DummyBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
488void DummyEndClose(IAsyncResult result)
493protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
507protected override void OnEndClose(IAsyncResult result)
System\ServiceModel\Channels\ContextChannelRequestContext.cs (11)
43public override IAsyncResult BeginReply(Message message, TimeSpan timeout, AsyncCallback callback, object state)
48public override IAsyncResult BeginReply(Message message, AsyncCallback callback, object state)
63public override void EndReply(IAsyncResult result)
139IAsyncResult result = correlationCallback.BeginFinalizeCorrelation(this.message, this.timeoutHelper.RemainingTime(), onFinalizeCorrelation, this);
155IAsyncResult result = this.context.innerContext.BeginReply(this.message, this.timeoutHelper.RemainingTime(), onReply, this);
164public static void End(IAsyncResult result)
169static void OnFinalizeCorrelationCompletedCallback(IAsyncResult result)
201static void OnReplyCompletedCallback(IAsyncResult result)
228bool OnFinalizeCorrelationCompleted(IAsyncResult result)
233IAsyncResult replyResult;
259void OnReplyCompleted(IAsyncResult result)
System\ServiceModel\Channels\ContextRequestChannelBase.cs (11)
32public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state)
38public IAsyncResult BeginRequest(Message message, AsyncCallback callback, object state)
43public Message EndRequest(IAsyncResult result)
136IAsyncResult result = this.correlationCallback.BeginFinalizeCorrelation(this.message, this.timeoutHelper.RemainingTime(), onFinalizeCorrelation, this);
152IAsyncResult result = this.channel.BeginRequest(this.message, this.timeoutHelper.RemainingTime(), onRequest, this);
161public static Message End(IAsyncResult result)
167static void OnFinalizeCorrelationCompletedCallback(IAsyncResult result)
199static void OnRequestCompletedCallback(IAsyncResult result)
226bool OnFinalizeCorrelationCompleted(IAsyncResult result)
232IAsyncResult requestResult;
258void OnRequestCompleted(IAsyncResult result)
System\ServiceModel\Channels\DatagramAdapter.cs (37)
87protected abstract IAsyncResult CallBeginReceive(TSessionChannel channel, AsyncCallback callback, object state);
88protected abstract ItemType CallEndReceive(TSessionChannel channel, IAsyncResult result);
92static void AcceptCallbackStatic(IAsyncResult result)
97void AcceptCallback(IAsyncResult result)
132IAsyncResult result = null;
168bool FinishAccept(IAsyncResult result)
274protected override void OnEndOpen(IAsyncResult result)
292protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
299protected override void OnEndClose(IAsyncResult result)
323IAsyncResult BeginWaitForAcceptLoop(TimeSpan timeout, AsyncCallback callback, object state)
346void EndWaitForAcceptLoop(IAsyncResult result)
446IAsyncResult result = null;
488static void ReceiveCallbackStatic(IAsyncResult result)
496void FinishReceive(IAsyncResult result)
671internal static bool End(IAsyncResult result)
767protected override IAsyncResult CallBeginReceive(IInputSessionChannel channel,
773protected override Message CallEndReceive(IInputSessionChannel channel, IAsyncResult result)
856protected override IAsyncResult CallBeginReceive(IReplySessionChannel channel,
862protected override RequestContext CallEndReceive(IReplySessionChannel channel, IAsyncResult result)
983protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
988protected override void OnEndOpen(IAsyncResult result)
1092protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
1110protected override void OnEndClose(IAsyncResult result)
1199public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state)
1204public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
1209public void EndSend(IAsyncResult result)
1250void OnOpenComplete(IAsyncResult result)
1273void OnSendComplete(IAsyncResult result)
1317void OnCloseComplete(IAsyncResult result)
1342public static void End(IAsyncResult result)
1432public IAsyncResult BeginRequest(Message message, AsyncCallback callback, object state)
1437public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state)
1442public Message EndRequest(IAsyncResult result)
1484void OnOpenComplete(IAsyncResult result)
1507void OnRequestComplete(IAsyncResult result)
1551void OnCloseComplete(IAsyncResult result)
1576public static Message End(IAsyncResult result)
System\ServiceModel\Channels\DuplexChannel.cs (12)
29public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state)
34public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
48public void EndSend(IAsyncResult result)
71protected virtual IAsyncResult OnBeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
77protected virtual void OnEndSend(IAsyncResult result)
121public IAsyncResult BeginReceive(AsyncCallback callback, object state)
126public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
138public Message EndReceive(IAsyncResult result)
153public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
163public bool EndTryReceive(IAsyncResult result, out Message message)
178public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
188public bool EndWaitForMessage(IAsyncResult result)
System\ServiceModel\Channels\FramingChannels.cs (33)
227protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
232protected override void OnEndOpen(IAsyncResult result)
300IAsyncResult BeginSendPreamble(IConnection connection, ArraySegment<byte> preamble, ref TimeoutHelper timeoutHelper,
306IConnection EndSendPreamble(IAsyncResult result)
404protected override IAsyncResult BeginAcceptPooledConnection(IConnection connection, ref TimeoutHelper timeoutHelper, AsyncCallback callback, object state)
409protected override IConnection EndAcceptPooledConnection(IAsyncResult result)
484public static IConnection End(IAsyncResult result)
509IAsyncResult initiatorOpenResult =
525bool HandleInitiatorOpen(IAsyncResult result)
533IAsyncResult upgradeResult = ConnectionUpgradeHelper.BeginInitiateUpgrade(
546bool HandleUpgrade(IAsyncResult result)
562IAsyncResult initiatorCloseResult =
573bool HandleInitiatorClose(IAsyncResult result)
618IAsyncResult decodeFaultResult = ConnectionUpgradeHelper.BeginDecodeFramingFault(channel.decoder,
690static void OnUpgradeInitiatorOpen(IAsyncResult result)
723static void OnUpgrade(IAsyncResult result)
756static void OnUpgradeInitiatorClose(IAsyncResult result)
817void OnFailedPreamble(IAsyncResult result)
856IAsyncResult result;
879public static void End(IAsyncResult result)
884bool HandleEstablishConnection(IAsyncResult result)
901static void OnEstablishConnection(IAsyncResult result)
939public static IAsyncResult BeginDecodeFramingFault(ClientFramingDecoder decoder, IConnection connection,
946public static void EndDecodeFramingFault(IAsyncResult result)
989public static IAsyncResult BeginInitiateUpgrade(IDefaultCommunicationTimeouts timeouts, EndpointAddress remoteAddress,
998public static IConnection EndInitiateUpgrade(IAsyncResult result)
1160public static void End(IAsyncResult result)
1279IAsyncResult result = ConnectionUpgradeHelper.BeginDecodeFramingFault(decoder, connection,
1291IAsyncResult initiateUpgradeResult = null;
1313void CompleteUpgrade(IAsyncResult result)
1319public static IConnection End(IAsyncResult result)
1355static void OnFailedUpgrade(IAsyncResult result)
1412static void OnInitiateUpgrade(IAsyncResult result)
System\ServiceModel\Channels\HttpChannelHelpers.cs (44)
414public IAsyncResult BeginParseIncomingMessage(AsyncCallback callback, object state)
419public IAsyncResult BeginParseIncomingMessage(HttpRequestMessage httpRequestMessage, AsyncCallback callback, object state)
424IAsyncResult result = new ParseMessageAsyncResult(httpRequestMessage, this, callback, state);
437public Message EndParseIncomingMessage(IAsyncResult result, out Exception requestException)
713IAsyncResult result = inputStream.BeginRead(buffer.Array, offset, count, onRead, this);
743IAsyncResult result = inputStream.BeginRead(buffer.Array, offset, count, onRead, this);
770static void OnRead(IAsyncResult result)
801public static Message End(IAsyncResult result, out Exception requestException)
974public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
994public override int EndRead(IAsyncResult result)
1226protected virtual IAsyncResult BeginGetOutputStream(AsyncCallback callback, object state)
1231protected virtual Stream EndGetOutputStream(IAsyncResult result)
1543IAsyncResult BeginWriteStreamedMessage(HttpResponseMessage httpResponseMessage, TimeSpan timeout, AsyncCallback callback, object state)
1548void EndWriteStreamedMessage(IAsyncResult result)
1668bool HandleWriteStreamedMessage(IAsyncResult result)
1735static void OnWriteStreamedMessage(IAsyncResult result)
1775public static void End(IAsyncResult result)
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)
1808IAsyncResult result = new SendAsyncResult(this, httpResponseMessage, suppressEntityBody, timeout, callback, state);
1836public virtual void EndSend(IAsyncResult result)
2092IAsyncResult result = httpOutput.BeginGetOutputStream(onGetOutputStream, this);
2121IAsyncResult result = httpOutput.BeginGetOutputStream(onGetOutputStream, this);
2180IAsyncResult writeResult =
2206bool HandleWriteStreamedMessage(IAsyncResult result)
2221static void OnWriteStreamedMessage(IAsyncResult result)
2256void CompleteWriteBody(IAsyncResult result)
2261public static void End(IAsyncResult result)
2266static void OnGetOutputStream(IAsyncResult result)
2339static void OnWriteBody(IAsyncResult result)
2497protected override IAsyncResult BeginGetOutputStream(AsyncCallback callback, object state)
2502protected override Stream EndGetOutputStream(IAsyncResult result)
2734IAsyncResult result = null;
2751void CompleteGetRequestStream(IAsyncResult result)
2765public static Stream End(IAsyncResult result, out ChannelBinding channelBindingToken)
2772static void OnGetRequestStream(IAsyncResult result)
2842public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
2863public override void EndWrite(IAsyncResult result)
3101public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
3120public override void EndWrite(IAsyncResult result)
4014public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
4107public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
4118public override int EndRead(IAsyncResult result)
System\ServiceModel\Channels\HttpChannelListener.cs (22)
404internal abstract IAsyncResult BeginHttpContextReceived(
410internal abstract bool EndHttpContextReceived(IAsyncResult result);
897public IAsyncResult BeginAcceptChannel(AsyncCallback callback, object state)
908public IAsyncResult BeginAcceptChannel(TimeSpan timeout, AsyncCallback callback, object state)
914public TChannel EndAcceptChannel(IAsyncResult result)
965protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
977protected override void OnEndOpen(IAsyncResult result)
997protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
1032protected override void OnEndClose(IAsyncResult result)
1080protected override IAsyncResult OnBeginWaitForChannel(TimeSpan timeout, AsyncCallback callback, object state)
1085protected override bool OnEndWaitForChannel(IAsyncResult result)
1090internal override IAsyncResult BeginHttpContextReceived(HttpRequestContext context,
1103internal override bool EndHttpContextReceived(IAsyncResult result)
1247public static bool End(IAsyncResult result)
1252static void OnProcessInboundRequest(IAsyncResult result)
1304IAsyncResult result = context.BeginProcessInboundRequest(listener.Acceptor as ReplyChannelAcceptor,
1360void HandleProcessInboundRequest(IAsyncResult result)
1393void EndInboundProcessAndEnqueue(IAsyncResult result)
1424IAsyncResult result = communicationObjectManager.BeginClose(
1437public static void End(IAsyncResult result)
1442static bool HandleLifetimeManagerClose(IAsyncResult result)
1459static bool HandleChannelClose(IAsyncResult result)
System\ServiceModel\Channels\HttpPipeline.cs (19)
139internal abstract IAsyncResult BeginProcessInboundRequest(ReplyChannelAcceptor replyChannelAcceptor, Action dequeuedCallback, AsyncCallback callback, object state);
141internal abstract void EndProcessInboundRequest(IAsyncResult result);
143protected abstract IAsyncResult BeginParseIncomingMessage(AsyncCallback asynCallback, object state);
145protected abstract Message EndParseIncomingMesssage(IAsyncResult result, out Exception requestException);
241internal override IAsyncResult BeginProcessInboundRequest(
251internal override void EndProcessInboundRequest(IAsyncResult result)
257protected override IAsyncResult BeginParseIncomingMessage(AsyncCallback asynCallback, object state)
262protected override Message EndParseIncomingMesssage(IAsyncResult result, out Exception requestException)
355protected override IAsyncResult BeginParseIncomingMessage(AsyncCallback asynCallback, object state)
501internal override IAsyncResult BeginProcessInboundRequest(ReplyChannelAcceptor replyChannelAcceptor, Action dequeuedCallback, AsyncCallback callback, object state)
551internal override void EndProcessInboundRequest(IAsyncResult result)
556protected override IAsyncResult BeginParseIncomingMessage(AsyncCallback asynCallback, object state)
561protected override Message EndParseIncomingMesssage(IAsyncResult result, out Exception requestException)
654static void OnEnqueued(IAsyncResult result)
682IAsyncResult result = new EnqueueMessageAsyncResult(this.replyChannelAcceptor, this.dequeuedCallback, this, onEnqueued, this);
887IAsyncResult result = this.pipeline.BeginParseIncomingMessage(asynCallback, this);
891public static void End(IAsyncResult result)
896static bool HandleParseIncomingMessage(IAsyncResult result)
903void CompleteParseAndEnqueue(IAsyncResult result)
System\ServiceModel\Channels\HttpsChannelFactory.cs (13)
173protected override void OnEndOpen(IAsyncResult result)
322protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
342protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
356public IAsyncResult BeginBaseGetWebRequest(EndpointAddress to, Uri via, SecurityTokenContainer clientCertificateToken, ref TimeoutHelper timeoutHelper, AsyncCallback callback, object state)
361public HttpWebRequest EndBaseGetWebRequest(IAsyncResult result)
374public override IAsyncResult BeginGetWebRequest(EndpointAddress to, Uri via, ref TimeoutHelper timeoutHelper, AsyncCallback callback, object state)
379public override HttpWebRequest EndGetWebRequest(IAsyncResult result)
444IAsyncResult result = this.httpsChannel.BeginBaseGetWebRequest(to, via, tokenContainer, ref timeoutHelper, onGetBaseWebRequestCallback, this);
465IAsyncResult result = this.certificateProvider.BeginGetToken(
478static void OnGetBaseWebRequestCallback(IAsyncResult result)
503static void OnGetTokenCallback(IAsyncResult result)
533void OnGetToken(IAsyncResult result)
551public static HttpWebRequest End(IAsyncResult result)
System\ServiceModel\Channels\InputChannel.cs (15)
42protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
47protected override void OnEndOpen(IAsyncResult result)
72public virtual IAsyncResult BeginReceive(AsyncCallback callback, object state)
77public virtual IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
90public Message EndReceive(IAsyncResult result)
107public virtual IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
119public virtual bool EndTryReceive(IAsyncResult result, out Message message)
136public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
146public bool EndWaitForMessage(IAsyncResult result)
165internal static IAsyncResult HelpBeginReceive(IInputChannel channel, TimeSpan timeout, AsyncCallback callback, object state)
170internal static Message HelpEndReceive(IAsyncResult result)
187IAsyncResult result = channel.BeginTryReceive(timeout, onReceive, this);
198public static Message End(IAsyncResult result)
204void HandleReceiveComplete(IAsyncResult result)
213static void OnReceive(IAsyncResult result)
System\ServiceModel\Channels\InternalDuplexChannelListener.cs (22)
40protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
45protected override void OnEndClose(IAsyncResult result)
63protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
68protected override void OnEndOpen(IAsyncResult result)
156public IAsyncResult BeginReceive(AsyncCallback callback, object state)
161public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
166public Message EndReceive(IAsyncResult result)
171public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
176public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state)
181public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
186public bool EndTryReceive(IAsyncResult result, out Message message)
191public void EndSend(IAsyncResult result)
201protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
206protected override void OnEndClose(IAsyncResult result)
217protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
222protected override void OnEndOpen(IAsyncResult result)
301IAsyncResult result = outputChannel.BeginSend(message, timeoutHelper.RemainingTime(), sendCompleteCallback, this);
316void CompleteSend(IAsyncResult result)
329internal static void End(IAsyncResult result)
334static void SendCompleteCallback(IAsyncResult result)
366public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
371public bool EndWaitForMessage(IAsyncResult result)
System\ServiceModel\Channels\IReliableChannelBinder.cs (16)
27IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state);
28IAsyncResult BeginClose(TimeSpan timeout, MaskingMode maskingMode, AsyncCallback callback, object state);
29void EndClose(IAsyncResult result);
32IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state);
33void EndOpen(IAsyncResult result);
35IAsyncResult BeginSend(Message message, TimeSpan timeout, MaskingMode maskingMode, AsyncCallback callback, object state);
36IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state);
37void EndSend(IAsyncResult result);
43IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state);
44IAsyncResult BeginTryReceive(TimeSpan timeout, MaskingMode maskingMode, AsyncCallback callback, object state);
45bool EndTryReceive(IAsyncResult result, out RequestContext requestContext);
61IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state);
62IAsyncResult BeginRequest(Message message, TimeSpan timeout, MaskingMode maskingMode, AsyncCallback callback, object state);
63Message EndRequest(IAsyncResult result);
74IAsyncResult BeginWaitForRequest(TimeSpan timeout, AsyncCallback callback, object state);
75bool EndWaitForRequest(IAsyncResult result);
System\ServiceModel\Channels\LayeredChannelFactory.cs (18)
41protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
46protected override void OnEndOpen(IAsyncResult result)
51protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
56protected override void OnEndClose(IAsyncResult result)
118public IAsyncResult BeginReceive(AsyncCallback callback, object state)
123public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
128public Message EndReceive(IAsyncResult result)
135public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
140public bool EndTryReceive(IAsyncResult result, out Message message)
159public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
164public bool EndWaitForMessage(IAsyncResult result)
212protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
217protected override void OnEndClose(IAsyncResult result)
229protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
234protected override void OnEndOpen(IAsyncResult result)
256public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state)
261public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
266public void EndSend(IAsyncResult result)
System\ServiceModel\Channels\LayeredChannelListener.cs (14)
111protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
117protected override void OnEndClose(IAsyncResult result)
140protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
145protected override void OnEndOpen(IAsyncResult result)
204IAsyncResult result = this.communicationObject.BeginOpen(timeout, onOpenComplete, this);
212static void OnOpenComplete(IAsyncResult result)
236public static void End(IAsyncResult result)
258IAsyncResult result = this.communicationObject.BeginClose(timeout, onCloseComplete, this);
267static void OnCloseComplete(IAsyncResult result)
291public static void End(IAsyncResult result)
321public override IAsyncResult BeginAcceptChannel(TimeSpan timeout, AsyncCallback callback, object state)
326public override TChannel EndAcceptChannel(IAsyncResult result)
340public override IAsyncResult BeginWaitForChannel(TimeSpan timeout, AsyncCallback callback, object state)
345public override bool EndWaitForChannel(IAsyncResult result)
System\ServiceModel\Channels\Message.cs (14)
446public IAsyncResult BeginWriteBodyContents(XmlDictionaryWriter writer, AsyncCallback callback, object state)
452public void EndWriteBodyContents(IAsyncResult result)
459protected virtual IAsyncResult OnBeginWriteBodyContents(XmlDictionaryWriter writer, AsyncCallback callback, object state)
464protected virtual void OnEndWriteBodyContents(IAsyncResult result)
701public IAsyncResult BeginWriteMessage(XmlDictionaryWriter writer, AsyncCallback callback, object state)
707public void EndWriteMessage(IAsyncResult result)
750protected virtual IAsyncResult OnBeginWriteMessage(XmlDictionaryWriter writer, AsyncCallback callback, object state)
755protected virtual void OnEndWriteMessage(IAsyncResult result)
1134protected override IAsyncResult OnBeginWriteMessage(XmlDictionaryWriter writer, AsyncCallback callback, object state)
1140protected override void OnEndWriteMessage(IAsyncResult result)
1145protected override IAsyncResult OnBeginWriteBodyContents(XmlDictionaryWriter writer, AsyncCallback callback, object state)
1150protected override void OnEndWriteBodyContents(IAsyncResult result)
1192bool HandleWriteBodyContents(IAsyncResult result)
1208public static void End(IAsyncResult result)
System\ServiceModel\Channels\MsmqInputChannelBase.cs (11)
68protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
79protected override void OnEndOpen(IAsyncResult result)
89protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
100protected override void OnEndClose(IAsyncResult result)
129public IAsyncResult BeginReceive(AsyncCallback callback, object state)
134public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
142public Message EndReceive(IAsyncResult result)
203public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
217public bool EndTryReceive(IAsyncResult result, out Message message)
293public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
301public bool EndWaitForMessage(IAsyncResult result)
System\ServiceModel\Channels\MsmqInputSessionChannel.cs (12)
100public override IAsyncResult BeginReceive(AsyncCallback callback, object state)
105public override IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
136public override IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
151public override bool EndTryReceive(IAsyncResult result, out Message message)
244protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
343protected override IAsyncResult OnBeginAbandon(TimeSpan timeout, AsyncCallback callback, object state)
348protected override IAsyncResult OnBeginComplete(TimeSpan timeout, AsyncCallback callback, object state)
358protected override void OnEndAbandon(IAsyncResult result)
363protected override void OnEndComplete(IAsyncResult result)
386public static IAsyncResult CreateComplete(MsmqSessionReceiveContext receiveContext, TimeSpan timeout, AsyncCallback callback, object state)
395public static IAsyncResult CreateAbandon(MsmqSessionReceiveContext receiveContext, TimeSpan timeout, AsyncCallback callback, object state)
451public static void End(IAsyncResult result)
System\ServiceModel\Channels\MsmqReceiveContext.cs (7)
99protected override IAsyncResult OnBeginComplete(TimeSpan timeout, AsyncCallback callback, object state)
104protected override void OnEndComplete(IAsyncResult result)
109protected override IAsyncResult OnBeginAbandon(TimeSpan timeout, AsyncCallback callback, object state)
114protected override void OnEndAbandon(IAsyncResult result)
141public static IAsyncResult CreateComplete(MsmqReceiveContext receiver, TimeSpan timeout, AsyncCallback callback, object state)
150public static IAsyncResult CreateAbandon(MsmqReceiveContext receiver, TimeSpan timeout, AsyncCallback callback, object state)
205public static void End(IAsyncResult result)
System\ServiceModel\Channels\MsmqReceiveHelper.cs (11)
254internal IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
259public bool EndWaitForMessage(IAsyncResult result)
289internal IAsyncResult BeginTryReceive(MsmqInputMessage msmqMessage, TimeSpan timeout, MsmqTransactionMode transactionMode, AsyncCallback callback, object state)
297internal bool EndTryReceive(IAsyncResult result, out MsmqInputMessage msmqMessage, out MsmqMessageProperty msmqProperty)
371internal static bool End(IAsyncResult result, out MsmqInputMessage msmqMessage, out MsmqMessageProperty property)
397static void OnCompleteStatic(IAsyncResult result)
402void OnComplete(IAsyncResult result)
418internal static bool End(IAsyncResult result, out MsmqInputMessage msmqMessage, out MsmqMessageProperty property)
451static void OnCompleteStatic(IAsyncResult result)
456void OnComplete(IAsyncResult result)
476public static bool End(IAsyncResult result)
System\ServiceModel\Channels\OneWayChannelFactory.cs (26)
130protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
135protected override void OnEndOpen(IAsyncResult result)
145protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
150protected override void OnEndClose(IAsyncResult result)
188protected override IAsyncResult OnBeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
193protected override void OnEndSend(IAsyncResult result)
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)
319protected override void OnEndClose(IAsyncResult result)
324protected override void OnEndOpen(IAsyncResult result)
329protected override void OnEndSend(IAsyncResult result)
416protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
467protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
472protected override void OnEndOpen(IAsyncResult result)
493protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
502protected override void OnEndClose(IAsyncResult result)
508protected override IAsyncResult OnBeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
513protected override void OnEndSend(IAsyncResult result)
561void OnReceive(IAsyncResult result)
703public static void End(IAsyncResult result)
722IAsyncResult result = this.innerChannel.BeginOpen(timeoutHelper.RemainingTime(), onOpen, this);
732void CompleteOpen(IAsyncResult result)
740IAsyncResult result = innerChannel.BeginSend(this.message, onInnerSend, this);
750static void OnOpen(IAsyncResult result)
785static void OnInnerSend(IAsyncResult result)
System\ServiceModel\Channels\OneWayChannelListener.cs (53)
43protected override IAsyncResult OnBeginAcceptChannel(TimeSpan timeout, AsyncCallback callback, object state)
48protected override IInputChannel OnEndAcceptChannel(IAsyncResult result)
59protected override IAsyncResult OnBeginWaitForChannel(TimeSpan timeout, AsyncCallback callback, object state)
64protected override bool OnEndWaitForChannel(IAsyncResult result)
163public IAsyncResult BeginReceive(AsyncCallback callback, object state)
168public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
173public Message EndReceive(IAsyncResult result)
194public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
199public bool EndTryReceive(IAsyncResult result, out Message message)
209public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
214public bool EndWaitForMessage(IAsyncResult result)
229public static bool End(IAsyncResult result, out Message message)
236protected override IAsyncResult OnBeginReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state)
241protected override RequestContext OnEndReceiveRequest(IAsyncResult result)
257public static Message End(IAsyncResult result)
263protected override IAsyncResult OnBeginReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state)
268protected override RequestContext OnEndReceiveRequest(IAsyncResult result)
291IAsyncResult result = this.OnBeginReceiveRequest(timeoutHelper.RemainingTime(), onReceiveRequest, this);
319protected abstract IAsyncResult OnBeginReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state);
320protected abstract RequestContext OnEndReceiveRequest(IAsyncResult result);
322bool HandleReplyComplete(IAsyncResult result)
353bool HandleReceiveRequestComplete(IAsyncResult result)
362IAsyncResult replyResult = null;
417static void OnReceiveRequest(IAsyncResult result)
449static void OnReply(IAsyncResult result)
511protected override IAsyncResult OnBeginAcceptChannel(TimeSpan timeout, AsyncCallback callback, object state)
516protected override IAsyncResult OnBeginWaitForChannel(TimeSpan timeout, AsyncCallback callback, object state)
521protected override IInputChannel OnEndAcceptChannel(IAsyncResult result)
527protected override bool OnEndWaitForChannel(IAsyncResult result)
564public IAsyncResult BeginReceive(AsyncCallback callback, object state)
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)
584public Message EndReceive(IAsyncResult result)
590public bool EndTryReceive(IAsyncResult result, out Message message)
597public bool EndWaitForMessage(IAsyncResult result)
710void AcceptLoop(IAsyncResult pendingResult)
730IAsyncResult result = null;
798bool ProcessEndAccept(IAsyncResult result, out IDuplexSessionChannel channel)
890static void OnAcceptInnerChannel(IAsyncResult result)
925IAsyncResult openResult = null;
977void OnOpenInnerChannel(IAsyncResult result)
989void CompleteOpen(IDuplexSessionChannel channel, IAsyncResult result)
1094protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
1099protected override void OnEndOpen(IAsyncResult result)
1128protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
1140protected override void OnEndClose(IAsyncResult result)
1196protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
1208protected override void OnEndClose(IAsyncResult result)
1268IAsyncResult result = null;
1350bool OnCompleteReceive(IAsyncResult result, out bool dispatchLater)
1407IAsyncResult result = null;
1472static void OnReceive(IAsyncResult result)
System\ServiceModel\Channels\PeerChannelListener.cs (13)
195protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
201protected override void OnEndClose(IAsyncResult result)
220protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
226protected override void OnEndOpen(IAsyncResult result)
295public IAsyncResult BeginAcceptChannel(AsyncCallback callback, object state)
306public IAsyncResult BeginAcceptChannel(TimeSpan timeout, AsyncCallback callback, object state)
312public TChannel EndAcceptChannel(IAsyncResult result)
336protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
342protected override void OnEndClose(IAsyncResult result)
362protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
368protected override void OnEndOpen(IAsyncResult result)
379protected override IAsyncResult OnBeginWaitForChannel(TimeSpan timeout, AsyncCallback callback, object state)
384protected override bool OnEndWaitForChannel(IAsyncResult result)
System\ServiceModel\Channels\PeerDuplexChannel.cs (7)
116protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
121protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
123IAsyncResult result = this.peerNode.InnerNode.BeginOpen(timeout, callback, state, true);
161protected override void OnEndClose(IAsyncResult result)
166protected override void OnEndOpen(IAsyncResult result)
200protected override IAsyncResult OnBeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
219protected override void OnEndSend(IAsyncResult result)
System\ServiceModel\Channels\PeerFlooder.cs (19)
139public virtual IAsyncResult BeginFloodEncodedMessage(byte[] id, MessageBuffer encodedMessage, TimeSpan timeout, AsyncCallback callback, object state)
160protected virtual IAsyncResult BeginFloodReceivedMessage(IPeerNeighbor sender, MessageBuffer messageBuffer,
195protected IAsyncResult BeginSendHelper(IPeerNeighbor neighbor, TimeSpan timeout, Message message, FloodAsyncResult fresult)
197IAsyncResult result = null;
248protected virtual IAsyncResult FloodMessageToNeighbors(MessageBuffer messageBuffer,
347public virtual IAsyncResult OnFloodedMessage(IPeerNeighbor neighbor, TFloodContract floodInfo, AsyncCallback callback, object state)
359IAsyncResult result = null;
440public virtual void EndFloodMessage(IAsyncResult result)
507public static void EndFloodEncodedMessage(IAsyncResult result)
521public void EndFloodReceivedMessage(IAsyncResult result)
619public override IAsyncResult OnFloodedMessage(IPeerNeighbor neighbor, Message floodInfo, AsyncCallback callback, object state)
624public override void EndFloodMessage(IAsyncResult result)
828List<IAsyncResult> pending = new List<IAsyncResult>();
829Dictionary<IAsyncResult, IPeerNeighbor> results = new Dictionary<IAsyncResult, IPeerNeighbor>();
852public void AddResult(IAsyncResult result, IPeerNeighbor neighbor)
915foreach (IAsyncResult result in pending)
946internal void OnSendComplete(IAsyncResult result)
System\ServiceModel\Channels\PeerInputChannel.cs (9)
72protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
80IAsyncResult OnBeginCloseNode(TimeSpan timeout, AsyncCallback callback, object state)
85protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
93IAsyncResult OnBeginOpenNode(TimeSpan timeout, AsyncCallback callback, object state)
95IAsyncResult result = this.peerNode.InnerNode.BeginOpen(timeout, callback, state, true);
131protected override void OnEndClose(IAsyncResult result)
136void OnEndCloseNode(IAsyncResult result)
141protected override void OnEndOpen(IAsyncResult result)
146void OnEndOpenNode(IAsyncResult result)
System\ServiceModel\Channels\PeerNeighborManager.cs (22)
134public IAsyncResult BeginOpenNeighbor(PeerNodeAddress remoteAddress, TimeSpan timeout, AsyncCallback callback, object asyncState)
148internal IAsyncResult BeginOpenNeighborInternal(PeerNodeAddress remoteAddress, TimeSpan timeout, AsyncCallback callback, object asyncState)
244public IPeerNeighbor EndOpenNeighbor(IAsyncResult result)
400PeerCloseInitiator closeInitiator, Exception closeException, IAsyncResult endResult)
407IAsyncResult beginResult = neighbor.BeginClose(closeReason, closeInitiator,
448void OnNeighborClosedCallback(IAsyncResult result)
995public IAsyncResult BeginClose(PeerCloseReason reason,
1044public IAsyncResult BeginOpen(PeerNodeAddress remoteAddress, Binding binding,
1056public IAsyncResult BeginOpenProxy(EndpointAddress remoteAddress, Binding binding,
1073IAsyncResult result = this.proxyChannel.BeginOpen(timeoutHelper.RemainingTime(), callback, state);
1080public IAsyncResult BeginSend(Message message,
1086public IAsyncResult BeginSend(Message message,
1103public void EndClose(IAsyncResult result)
1111public void EndOpen(IAsyncResult result)
1117public void EndOpenProxy(IAsyncResult result)
1123public void EndSend(IAsyncResult result)
1452IAsyncResult result = this.neighbor.BeginOpenProxy(remoteAddress, binding, new InstanceContext(null, service, false), this.timeoutHelper.RemainingTime(), onOpen, null);
1501public static void End(IAsyncResult result)
1525void OnOpen(IAsyncResult result)
1621IAsyncResult result = null;
1643void OnOpen(IAsyncResult result)
1666public static IPeerNeighbor End(IAsyncResult result)
System\ServiceModel\Channels\PeerOutputChannel.cs (7)
74protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
79protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
81IAsyncResult result = this.peerNode.InnerNode.BeginOpen(timeout, callback, state, true);
127protected override void OnEndClose(IAsyncResult result)
132protected override void OnEndOpen(IAsyncResult result)
142protected override IAsyncResult OnBeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
159protected override void OnEndSend(IAsyncResult result)
System\ServiceModel\Channels\ReceiveContext.cs (18)
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)
202public virtual void EndAbandon(IAsyncResult result)
207public virtual void EndComplete(IAsyncResult result)
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);
257protected abstract void OnEndAbandon(IAsyncResult result);
258protected abstract void OnEndComplete(IAsyncResult result);
441IAsyncResult result;
477public static void End(IAsyncResult result)
482void EndAbandon(IAsyncResult result)
493static bool HandleOperationComplete(IAsyncResult result)
533IAsyncResult result;
579public static void End(IAsyncResult result)
584void EndComplete(IAsyncResult result)
595static bool HandleOperationComplete(IAsyncResult result)
System\ServiceModel\Channels\ReliableChannelBinder.cs (97)
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,
425IAsyncResult result = channel.BeginClose(onCloseChannelComplete, channel);
449public void EndClose(IAsyncResult result)
463protected virtual void EndCloseChannel(TChannel channel, IAsyncResult result)
468public void EndOpen(IAsyncResult result)
507public void EndSend(IAsyncResult result)
513protected abstract bool EndTryGetChannel(IAsyncResult result);
515public virtual bool EndTryReceive(IAsyncResult result, out RequestContext requestContext)
531public void EndWaitForPendingOperations(IAsyncResult result)
669protected abstract IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback,
671protected abstract IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback,
674protected virtual IAsyncResult OnBeginSend(TChannel channel, Message message,
680protected virtual IAsyncResult OnBeginTryReceive(TChannel channel, TimeSpan timeout,
688void OnCloseChannelComplete(IAsyncResult result)
713protected abstract void OnEndClose(IAsyncResult result);
714protected abstract void OnEndOpen(IAsyncResult result);
716protected virtual void OnEndSend(TChannel channel, IAsyncResult result)
721protected virtual bool OnEndTryReceive(TChannel channel, IAsyncResult result,
1274public IAsyncResult BeginTryGetChannelForInput(bool canGetChannel, TimeSpan timeout,
1281public IAsyncResult BeginTryGetChannelForOutput(TimeSpan timeout,
1288IAsyncResult BeginTryGetChannel(bool canGetChannel, bool canCauseFault,
1371public IAsyncResult BeginWaitForPendingOperations(TimeSpan timeout,
1432public bool EndTryGetChannel(IAsyncResult result, out TChannel channel)
1447public void EndWaitForPendingOperations(IAsyncResult result)
2264bool CompleteOpen(IAsyncResult result)
2270bool CompleteTryGetChannel(IAsyncResult result)
2315IAsyncResult result = this.synchronizer.binder.BeginTryGetChannel(
2413static void OnOpenComplete(IAsyncResult result)
2466static void OnTryGetChannelComplete(IAsyncResult result)
2508IAsyncResult result = this.channel.BeginOpen(
2766IAsyncResult result = this.binder.OnBeginClose(timeout, onBinderCloseComplete, this);
2798bool CompleteBinderClose(bool synchronous, IAsyncResult result)
2823bool CompleteChannelClose(bool synchronous, IAsyncResult result)
2849static void OnBinderCloseComplete(IAsyncResult result)
2886static void OnChannelCloseComplete(IAsyncResult result)
2948protected abstract IAsyncResult BeginInput(TBinder binder, TChannel channel,
2952bool CompleteInput(IAsyncResult result)
2970bool CompleteTryGetChannel(IAsyncResult result, out bool complete)
2984IAsyncResult inputResult = null;
3028IAsyncResult result, out bool complete);
3030void OnInputComplete(IAsyncResult result)
3069static void OnInputCompleteStatic(IAsyncResult result)
3079void OnTryGetChannelComplete(IAsyncResult result)
3125static void OnTryGetChannelCompleteStatic(IAsyncResult result)
3146IAsyncResult result = this.binder.synchronizer.BeginTryGetChannelForInput(
3223protected override IAsyncResult OnBeginReply(Message message, TimeSpan timeout, AsyncCallback callback, object state)
3228protected override void OnEndReply(IAsyncResult result)
3256IAsyncResult result = context.Binder.BeginSend(message, timeout, context.MaskingMode, onSend, this);
3267public static void End(IAsyncResult result)
3272static void OnSend(IAsyncResult result)
3328protected abstract IAsyncResult BeginOutput(TBinder binder, TChannel channel,
3341bool CompleteTryGetChannel(IAsyncResult result)
3377MaskingMode maskingMode, IAsyncResult result);
3381void OnOutputComplete(IAsyncResult result)
3417static void OnOutputCompleteStatic(IAsyncResult result)
3425void OnTryGetChannelComplete(IAsyncResult result)
3459static void OnTryGetChannelCompleteStatic(IAsyncResult result)
3484IAsyncResult result = this.binder.synchronizer.BeginTryGetChannelForOutput(
3543protected override IAsyncResult OnBeginReply(Message message, TimeSpan timeout,
3594protected override void OnEndReply(IAsyncResult result)
3658protected override IAsyncResult BeginOutput(ReliableChannelBinder<TChannel> binder,
3666public static void End(IAsyncResult result)
3672TChannel channel, MaskingMode maskingMode, IAsyncResult result)
3695protected override IAsyncResult BeginInput(ReliableChannelBinder<TChannel> binder,
3708TChannel channel, IAsyncResult result, out bool complete)
3728internal static IAsyncResult BeginCloseDuplexSessionChannel(
3736internal static IAsyncResult BeginCloseReplySessionChannel(
3875IAsyncResult result)
3881IAsyncResult result)
3942IAsyncResult result = this.binder.BeginWaitForPendingOperations(
3952protected abstract IAsyncResult BeginTryInput(TimeSpan timeout, AsyncCallback callback,
3957protected abstract bool EndTryInput(IAsyncResult result, out TItem item);
3959void HandleChannelCloseComplete(IAsyncResult result)
3964bool HandleInputComplete(IAsyncResult result, out bool gotEof)
4038bool HandleWaitForPendingOperationsComplete(IAsyncResult result)
4044static void OnChannelCloseCompleteStatic(IAsyncResult result)
4069static void OnInputCompleteStatic(IAsyncResult result)
4100static void OnWaitForPendingOperationsCompleteStatic(IAsyncResult result)
4134IAsyncResult result = null;
4191IAsyncResult result = this.Channel.Session.BeginCloseOutputSession(
4201protected override IAsyncResult BeginTryInput(TimeSpan timeout, AsyncCallback callback, object state)
4211public static void End(IAsyncResult result)
4216protected override bool EndTryInput(IAsyncResult result, out Message item)
4221bool HandleCloseOutputSessionComplete(IAsyncResult result)
4227static void OnCloseOutputSessionCompleteStatic(IAsyncResult result)
4267protected override IAsyncResult BeginTryInput(TimeSpan timeout, AsyncCallback callback, object state)
4278public static void End(IAsyncResult result)
4283protected override bool EndTryInput(IAsyncResult result, out RequestContext item)
System\ServiceModel\Channels\ReliableChannelListener.cs (48)
163protected virtual IAsyncResult BeginCloseInnerListener(TimeSpan timeout, AsyncCallback callback, object state)
176protected virtual void EndCloseInnerListener(IAsyncResult result)
193protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback,
200protected override void OnEndClose(IAsyncResult result)
212protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback,
231protected override void OnEndOpen(IAsyncResult result)
265public IAsyncResult OnReliableChannelBeginClose(UniqueId inputId,
272public void OnReliableChannelEndClose(IAsyncResult result)
340IAsyncResult result = this.parent.BeginCloseInnerListener(
361IAsyncResult result = this.baseBeginClose(timeout,
375bool CompleteInnerChannelListenerClose(IAsyncResult result)
383public static void End(IAsyncResult result)
388void OnBaseChannelListenerCloseComplete(IAsyncResult result)
410static void OnBaseChannelListenerCloseCompleteStatic(IAsyncResult result)
419void OnInnerChannelListenerCloseComplete(IAsyncResult result)
446static void OnInnerChannelListenerCloseCompleteStatic(IAsyncResult result)
480IAsyncResult result = this.channelListener.BeginCloseInnerListener(timeout,
490void CompleteInnerChannelListenerClose(IAsyncResult result)
501public static void End(IAsyncResult result)
506void OnInnerChannelListenerCloseComplete(IAsyncResult result)
528static void OnInnerChannelListenerCloseCompleteStatic(IAsyncResult result)
688void OnAcceptCompleted(IAsyncResult result)
736static void OnAcceptCompletedStatic(IAsyncResult result)
868IAsyncResult result = this.typedListener.BeginAcceptChannel(TimeSpan.MaxValue, onAcceptCompleted, this);
953IAsyncResult result = (IAsyncResult)state;
1052protected abstract IAsyncResult BeginTryReceiveItem(TInnerChannel channel, AsyncCallback callback, object state);
1054protected abstract void EndTryReceiveItem(TInnerChannel channel, IAsyncResult result, out TItem item);
1131void OnTryReceiveComplete(IAsyncResult result)
1173protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
1179protected override void OnEndOpen(IAsyncResult result)
1227protected override IAsyncResult BeginCloseInnerListener(TimeSpan timeout, AsyncCallback callback, object state)
1233protected override void EndCloseInnerListener(IAsyncResult result)
1249IAsyncResult result = this.BeginTryReceiveItem(channel, this.onTryReceiveComplete, channel);
1294protected override IAsyncResult BeginTryReceiveItem(IDuplexChannel channel, AsyncCallback callback, object state)
1304protected override void EndTryReceiveItem(IDuplexChannel channel, IAsyncResult result, out Message item)
1332protected override IAsyncResult BeginTryReceiveItem(IReplyChannel channel, AsyncCallback callback, object state)
1343protected override void EndTryReceiveItem(IReplyChannel channel, IAsyncResult result, out RequestContext item)
1382IAsyncResult result = (IAsyncResult)state;
1421protected abstract IAsyncResult BeginTryReceiveItem(TInnerChannel channel, AsyncCallback callback, object state);
1423protected abstract void EndTryReceiveItem(TInnerChannel channel, IAsyncResult result, out TItem item);
1503void OnReceiveComplete(IAsyncResult result)
1552IAsyncResult result = this.BeginTryReceiveItem(channel, this.onReceiveComplete, channel);
1586protected override IAsyncResult BeginTryReceiveItem(IDuplexSessionChannel channel, AsyncCallback callback, object state)
1596protected override void EndTryReceiveItem(IDuplexSessionChannel channel, IAsyncResult result, out Message item)
1624protected override IAsyncResult BeginTryReceiveItem(IReplySessionChannel channel, AsyncCallback callback, object state)
1635protected override void EndTryReceiveItem(IReplySessionChannel channel, IAsyncResult result, out RequestContext item)
System\ServiceModel\Channels\ReliableDuplexSessionChannel.cs (42)
114IAsyncResult BeginCloseBinder(TimeSpan timeout, AsyncCallback callback,
127IAsyncResult BeginCloseSequence(TimeSpan timeout, AsyncCallback callback, object state)
133void EndCloseSequence(IAsyncResult result)
205void EndCloseBinder(IAsyncResult result)
260IAsyncResult BeginInternalCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state)
278void EndInternalCloseOutputSession(IAsyncResult result)
748protected IAsyncResult OnBeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state)
778IAsyncResult result = this.BeginInternalCloseOutputSession(timeout, callback,
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)
1038protected override void OnEndClose(IAsyncResult result)
1043protected void OnEndCloseOutputSession(IAsyncResult result)
1072protected override void OnEndSend(IAsyncResult result)
1078void OnEndSendHandler(IAsyncResult result)
1097void OnEndSendAckRequestedHandler(IAsyncResult result)
1171static void OnReceiveCompletedStatic(IAsyncResult result)
1196IAsyncResult result = (IAsyncResult)state;
1215bool HandleReceiveComplete(IAsyncResult result)
1301IAsyncResult result = this.binder.BeginTryReceive(TimeSpan.MaxValue, onReceiveCompleted, this);
1349IAsyncResult BeginTerminateSequence(TimeSpan timeout, AsyncCallback callback, object state)
1375void EndTerminateSequence(IAsyncResult result)
1491void HandleReconnectComplete(IAsyncResult result)
1520protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
1527protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
1558protected override void OnEndOpen(IAsyncResult result)
1609static void OnReconnectComplete(IAsyncResult result)
1689IAsyncResult result = this.Binder.BeginSend(message, timeout, onReconnectComplete, this);
1732public IAsyncResult BeginCloseOutputSession(AsyncCallback callback, object state)
1737public IAsyncResult BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state)
1742public void EndCloseOutputSession(IAsyncResult result)
1797IAsyncResult BeginUnregisterChannel(TimeSpan timeout, AsyncCallback callback, object state)
1803void EndUnregisterChannel(IAsyncResult result)
1817protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback,
1842protected override void OnEndClose(IAsyncResult result)
1851protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
1856protected override void OnEndOpen(IAsyncResult result)
1939public IAsyncResult BeginCloseOutputSession(AsyncCallback callback, object state)
1944public IAsyncResult BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state)
1949public void EndCloseOutputSession(IAsyncResult result)
System\ServiceModel\Channels\ReliableInputSessionChannel.cs (17)
120IAsyncResult result = (IAsyncResult)state;
140static void OnReceiveCompletedStatic(IAsyncResult result)
163protected abstract bool HandleReceiveComplete(IAsyncResult result);
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)
231void EndCloseBinder(IAsyncResult result)
236protected virtual void EndCloseGuards(IAsyncResult result)
241void EndUnregisterChannel(IAsyncResult result)
279protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
337protected override void OnEndClose(IAsyncResult result)
364IAsyncResult result = this.Binder.BeginTryReceive(TimeSpan.MaxValue, onReceiveCompleted, this);
455protected override IAsyncResult BeginCloseGuards(TimeSpan timeout, AsyncCallback callback, object state)
465protected override void EndCloseGuards(IAsyncResult result)
470protected override bool HandleReceiveComplete(IAsyncResult result)
927protected override bool HandleReceiveComplete(IAsyncResult result)
System\ServiceModel\Channels\ReliableMessagingHelpers.cs (83)
16delegate void OperationEndCallback(IAsyncResult result);
17delegate IAsyncResult OperationWithTimeoutBeginCallback(TimeSpan timeout, AsyncCallback asyncCallback, object asyncState);
22public static IAsyncResult BeginComposeAsyncOperations(
29public static void EndComposeAsyncOperations(IAsyncResult result)
34public static TimeSpan RemainingTime(IAsyncResult result)
74internal static void End(IAsyncResult result)
79void OnOperationCompleted(IAsyncResult result)
131static void OnOperationCompletedStatic(IAsyncResult result)
176public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
238public void EndClose(IAsyncResult result)
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)
520public void EndWait(IAsyncResult result)
525public bool EndTryWait(IAsyncResult result)
680public abstract IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state);
682public abstract void EndClose(IAsyncResult result);
748IAsyncResult result = binder.BeginClose(this.defaultCloseTimeout, this.onBinderCloseComplete, binder);
773public override IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
781protected abstract IAsyncResult BeginSendFault(IReliableChannelBinder binder, TState state, TimeSpan timeout,
793void CompleteBinderClose(IReliableChannelBinder binder, IAsyncResult result)
805void CompleteSendFault(IReliableChannelBinder binder, TState state, IAsyncResult result)
826public override void EndClose(IAsyncResult result)
836protected abstract void EndSendFault(IReliableChannelBinder binder, TState state, IAsyncResult result);
839void OnBinderCloseComplete(IAsyncResult result)
863void OnSendFaultComplete(IAsyncResult result)
920IAsyncResult result;
1059protected override IAsyncResult BeginSendFault(IReliableChannelBinder binder, FaultState faultState,
1065protected override void EndSendFault(IReliableChannelBinder binder, FaultState faultState, IAsyncResult result)
1094protected override IAsyncResult BeginSendFault(IReliableChannelBinder binder, Message message,
1100protected override void EndSendFault(IReliableChannelBinder binder, Message message, IAsyncResult result)
1127IAsyncResult result = OperationWithTimeoutComposer.BeginComposeAsyncOperations(timeoutHelper.RemainingTime(),
1139bool CompleteComposeAsyncOperations(IAsyncResult result)
1155public static void End(IAsyncResult result)
1160static void OnBinderCloseComplete(IAsyncResult result)
1185static void OnComposeAsyncOperationsComplete(IAsyncResult result)
1238IAsyncResult result = this.binder.BeginOpen(timeoutHelper.RemainingTime(), onBinderOpenComplete, this);
1265IAsyncResult result = this.binder.BeginClose(this.timeoutHelper.RemainingTime(),
1300bool CompleteBinderOpen(bool synchronous, IAsyncResult result)
1315public static void End(IAsyncResult result)
1320void OnBinderCloseComplete(IAsyncResult result)
1342static void OnBinderOpenComplete(IAsyncResult result)
1372static void OnSessionOpenComplete(IAsyncResult result)
1580protected abstract IAsyncResult OnBeginRequest(Message request, TimeSpan timeout,
1582protected abstract Message OnEndRequest(bool last, IAsyncResult result);
1643public IAsyncResult BeginRequest(TimeSpan timeout, AsyncCallback callback, object state)
1648public Message EndRequest(IAsyncResult result)
1702public static Message End(IAsyncResult result)
1708bool Request(IAsyncResult requestResult)
1777IAsyncResult waitResult = this.requestor.abortHandle.BeginWait(
1794static void RequestCallback(IAsyncResult result)
1825bool EndWait(IAsyncResult result)
1831static void WaitCallback(IAsyncResult result)
1912protected override IAsyncResult OnBeginRequest(Message request, TimeSpan timeout, AsyncCallback callback, object state)
1917protected override Message OnEndRequest(bool last, IAsyncResult result)
1972protected override IAsyncResult OnBeginRequest(Message request, TimeSpan timeout, AsyncCallback callback, object state)
1977protected override Message OnEndRequest(bool last, IAsyncResult result)
2013IAsyncResult sendResult = this.requestor.Binder.BeginSend(this.request,
2026public static Message End(IAsyncResult result)
2032bool EndSend(IAsyncResult result)
2037IAsyncResult tryReceiveResult = this.requestor.Binder.BeginTryReceive(receiveTimeout,
2050bool EndTryReceive(IAsyncResult result)
2058static void SendCallback(IAsyncResult result)
2089static void TryReceiveCallback(IAsyncResult result)
2186protected override IAsyncResult OnBeginRequest(Message request, TimeSpan timeout, AsyncCallback callback, object state)
2200protected override Message OnEndRequest(bool last, IAsyncResult result)
2206IAsyncResult BeginSend(TimeSpan timeout, AsyncCallback callback, object state)
2218void EndSend(IAsyncResult result)
2238IAsyncResult BeginWait(TimeSpan timeout, AsyncCallback callback, object state)
2244void EndWait(IAsyncResult result)
2335IAsyncResult operationResult = this.BeginOperation(timeout, operationCallback, this);
2357protected abstract IAsyncResult BeginOperation(TimeSpan timeout, AsyncCallback callback, object state);
2358protected abstract void EndOperation(IAsyncResult result);
2360static void OperationCallback(IAsyncResult result)
2413public static void End(IAsyncResult result)
2419public static void End(IAsyncResult result, out Exception handledException)
2425protected override IAsyncResult BeginOperation(TimeSpan timeout, AsyncCallback callback,
2431protected override void EndOperation(IAsyncResult result)
2456public static Message End(IAsyncResult result)
2462public static Message End(IAsyncResult result, out Exception handledException)
2469protected override IAsyncResult BeginOperation(TimeSpan timeout, AsyncCallback callback,
2475protected override void EndOperation(IAsyncResult result)
2515public static bool End(IAsyncResult result)
System\ServiceModel\Channels\ReliableOutputConnection.cs (20)
10delegate IAsyncResult BeginSendHandler(MessageAttemptInfo attemptInfo, TimeSpan timeout, bool maskUnhandledException, AsyncCallback asyncCallback, object state);
11delegate void EndSendHandler(IAsyncResult result);
184public IAsyncResult BeginAddMessage(Message message, TimeSpan timeout, object state, AsyncCallback callback, object asyncState)
189public bool EndAddMessage(IAsyncResult result)
194IAsyncResult BeginCompleteTransfer(TimeSpan timeout, AsyncCallback callback, object state)
220void EndCompleteTransfer(IAsyncResult result)
244public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
299void CompleteSendRetries(IAsyncResult result)
335void CompleteSendRetry(IAsyncResult result)
347public void EndClose(IAsyncResult result)
426IAsyncResult result = this.beginSendHandler(attemptInfo, this.sendTimeout, true, onSendRetryComplete, this);
435static void OnSendRetryComplete(IAsyncResult result)
456static void OnSendRetriesComplete(IAsyncResult result)
562IAsyncResult result = null;
637IAsyncResult result;
678static void AddComplete(IAsyncResult result)
704bool CompleteAdd(IAsyncResult result)
773void CompleteSend(IAsyncResult result)
790static void SendComplete(IAsyncResult result)
814public static bool End(IAsyncResult result)
System\ServiceModel\Channels\ReliableOutputSessionChannel.cs (28)
118IAsyncResult BeginCloseSequence(TimeSpan timeout, AsyncCallback callback, object state)
124void EndCloseSequence(IAsyncResult result)
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)
313protected abstract IAsyncResult OnConnectionBeginSend(MessageAttemptInfo attemptInfo, TimeSpan timeout,
315protected abstract void OnConnectionEndSend(IAsyncResult result);
327IAsyncResult OnConnectionBeginSendAckRequestedHandler(TimeSpan timeout, AsyncCallback callback, object state)
336void OnConnectionEndSendAckRequestedHandler(IAsyncResult result)
363IAsyncResult OnConnectionBeginSendHandler(MessageAttemptInfo attemptInfo, TimeSpan timeout, bool maskUnhandledException, AsyncCallback callback, object state)
382void OnConnectionEndSendHandler(IAsyncResult result)
391protected abstract IAsyncResult OnConnectionBeginSendMessage(Message message, TimeSpan timeout,
393protected abstract void OnConnectionEndSendMessage(IAsyncResult result);
405protected override void OnEndClose(IAsyncResult result)
410protected override void OnEndOpen(IAsyncResult result)
415protected override void OnEndSend(IAsyncResult result)
695IAsyncResult BeginTerminateSequence(TimeSpan timeout, AsyncCallback callback, object state)
716void EndTerminateSequence(IAsyncResult result)
824protected override IAsyncResult OnConnectionBeginSend(MessageAttemptInfo attemptInfo,
846protected override void OnConnectionEndSend(IAsyncResult result)
870protected override IAsyncResult OnConnectionBeginSendMessage(Message message, TimeSpan timeout,
882protected override void OnConnectionEndSendMessage(IAsyncResult result)
956protected override IAsyncResult OnConnectionBeginSend(MessageAttemptInfo attemptInfo,
978protected override void OnConnectionEndSend(IAsyncResult result)
994protected override IAsyncResult OnConnectionBeginSendMessage(Message message, TimeSpan timeout,
1006protected override void OnConnectionEndSendMessage(IAsyncResult result)
1036static void OnReceiveCompletedStatic(IAsyncResult result)
1054void OnReceiveCompleted(IAsyncResult result)
System\ServiceModel\Channels\ReliableReplySessionChannel.cs (29)
177IAsyncResult result = (IAsyncResult)state;
198IAsyncResult BeginCloseBinder(TimeSpan timeout, AsyncCallback callback, object state)
203IAsyncResult BeginCloseOutput(TimeSpan timeout, AsyncCallback callback, object state)
226IAsyncResult BeginUnregisterChannel(TimeSpan timeout, AsyncCallback callback, object state)
324void EndCloseBinder(IAsyncResult result)
329void EndCloseOutput(IAsyncResult result)
344void EndUnregisterChannel(IAsyncResult result)
374bool HandleReceiveComplete(IAsyncResult result)
432protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
525protected override void OnEndClose(IAsyncResult result)
539static void OnReceiveCompletedStatic(IAsyncResult result)
1235IAsyncResult result = this.binder.BeginTryReceive(TimeSpan.MaxValue, onReceiveCompleted, this);
1268IAsyncResult BeginTerminateSequence(TimeSpan timeout, AsyncCallback callback, object state)
1279void EndTerminateSequence(IAsyncResult result)
1402internal IAsyncResult BeginReplyInternal(Message reply, TimeSpan timeout, AsyncCallback callback, object state)
1447IAsyncResult result = new ReplyAsyncResult(this, timeout, callback, state);
1461internal void EndReplyInternal(IAsyncResult result)
1508protected override IAsyncResult OnBeginReply(Message reply, TimeSpan timeout, AsyncCallback callback, object state)
1520protected override void OnEndReply(IAsyncResult result)
1662public static void End(IAsyncResult result)
1667void HandleReplyComplete(IAsyncResult result)
1684static void ReplyCompleteStatic(IAsyncResult result)
1730IAsyncResult result = thisInnerContext.BeginReply(this.reply, this.timeoutHelper.RemainingTime(), replyCompleteStatic, this);
1803IAsyncResult BeginReply(TimeSpan timeout, AsyncCallback callback, object state)
1821IAsyncResult result = this.requestContext.BeginReply(this.asyncMessage, timeout,
1836void EndReply(IAsyncResult result)
1913internal IAsyncResult BeginWaitAndReply(TimeSpan timeout, AsyncCallback callback, object state)
1929internal void EndWaitAndReply(IAsyncResult result)
System\ServiceModel\Channels\ReliableRequestSessionChannel.cs (21)
77IAsyncResult BeginCloseBinder(TimeSpan timeout, AsyncCallback callback, object state)
82IAsyncResult BeginTerminateSequence(TimeSpan timeout, AsyncCallback callback, object state)
95IAsyncResult BeginCloseSequence(TimeSpan timeout, AsyncCallback callback, object state)
101void EndCloseSequence(IAsyncResult result)
170void EndCloseBinder(IAsyncResult result)
175void EndTerminateSequence(IAsyncResult result)
251protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
276protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
334IAsyncResult OnConnectionBeginSend(MessageAttemptInfo attemptInfo, TimeSpan timeout,
372void OnConnectionEndSend(IAsyncResult result)
454IAsyncResult OnConnectionBeginSendAckRequested(TimeSpan timeout, AsyncCallback callback, object state)
460void OnConnectionEndSendAckRequested(IAsyncResult result)
475protected override void OnEndClose(IAsyncResult result)
480protected override void OnEndOpen(IAsyncResult result)
528static void OnPollingComplete(IAsyncResult result)
539IAsyncResult result = this.BeginSendAckRequestedMessage(this.DefaultSendTimeout, MaskingMode.All,
771IAsyncResult BeginSendAckRequestedMessage(TimeSpan timeout, MaskingMode maskingMode, AsyncCallback callback,
784void EndSendAckRequestedMessage(IAsyncResult result)
850IAsyncResult BeginWaitForShutdown(TimeSpan timeout, AsyncCallback callback, object state)
866void EndWaitForShutdown(IAsyncResult result)
1085void AddCompleted(IAsyncResult result)
System\ServiceModel\Channels\ReplyAdapterChannelListener.cs (14)
39protected override IAsyncResult OnBeginAcceptChannel(TimeSpan timeout, AsyncCallback callback, object state)
44protected override TOuterChannel OnEndAcceptChannel(IAsyncResult result)
55protected override IAsyncResult OnBeginWaitForChannel(TimeSpan timeout, AsyncCallback callback, object state)
60protected override bool OnEndWaitForChannel(IAsyncResult result)
133public IAsyncResult BeginReceiveRequest(AsyncCallback callback, object state)
138public IAsyncResult BeginReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state)
143public RequestContext EndReceiveRequest(IAsyncResult result)
160public IAsyncResult BeginTryReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state)
165public bool EndTryReceiveRequest(IAsyncResult result, out RequestContext context)
182public IAsyncResult BeginWaitForRequest(TimeSpan timeout, AsyncCallback callback, object state)
187public bool EndWaitForRequest(IAsyncResult result)
259public override IAsyncResult BeginReply(Message message, AsyncCallback callback, object state)
264public override IAsyncResult BeginReply(Message message, TimeSpan timeout, AsyncCallback callback, object state)
270public override void EndReply(IAsyncResult result)
System\ServiceModel\Channels\ReplyChannel.cs (15)
42protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
47protected override void OnEndOpen(IAsyncResult result)
71internal static IAsyncResult HelpBeginReceiveRequest(IReplyChannel channel, TimeSpan timeout, AsyncCallback callback, object state)
76internal static RequestContext HelpEndReceiveRequest(IAsyncResult result)
93IAsyncResult result = channel.BeginTryReceiveRequest(timeout, onReceiveRequest, this);
104public static RequestContext End(IAsyncResult result)
110void HandleReceiveRequestComplete(IAsyncResult result)
119static void OnReceiveRequest(IAsyncResult result)
176public IAsyncResult BeginReceiveRequest(AsyncCallback callback, object state)
181public IAsyncResult BeginReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state)
193public RequestContext EndReceiveRequest(IAsyncResult result)
208public IAsyncResult BeginTryReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state)
218public bool EndTryReceiveRequest(IAsyncResult result, out RequestContext context)
233public IAsyncResult BeginWaitForRequest(TimeSpan timeout, AsyncCallback callback, object state)
243public bool EndWaitForRequest(IAsyncResult result)
System\ServiceModel\Channels\SecurityChannelFactory.cs (27)
157protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
179protected override void OnEndClose(IAsyncResult result)
259protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
264protected override void OnEndOpen(IAsyncResult result)
356protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
363protected override void OnEndOpen(IAsyncResult result)
444internal static void End(IAsyncResult result)
452IAsyncResult result = securityProtocol.BeginOpen(timeoutHelper.RemainingTime(), openSecurityProtocolCallback, this);
461static void OpenSecurityProtocolCallback(IAsyncResult result)
497IAsyncResult result = this.clientChannel.InnerChannel.BeginOpen(this.timeoutHelper.RemainingTime(), openInnerChannelCallback, this);
506static void OpenInnerChannelCallback(IAsyncResult result)
547public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state)
552public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
559public void EndSend(IAsyncResult result)
602public IAsyncResult BeginRequest(Message message, AsyncCallback callback, object state)
607public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state)
614public Message EndRequest(IAsyncResult result)
739public IAsyncResult BeginReceive(AsyncCallback callback, object state)
744public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
749public Message EndReceive(IAsyncResult result)
754public virtual IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
767public virtual bool EndTryReceive(IAsyncResult result, out Message message)
832public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
837public bool EndWaitForMessage(IAsyncResult result)
877protected override IAsyncResult BeginSendCore(IRequestChannel channel, Message message, TimeSpan timeout, AsyncCallback callback, object state)
882internal static Message End(IAsyncResult result)
889protected override void EndSendCore(IRequestChannel channel, IAsyncResult result)
System\ServiceModel\Channels\SecurityChannelListener.cs (70)
229protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
242protected override void OnEndClose(IAsyncResult result)
247IAsyncResult OnBeginCloseSharedState(TimeSpan timeout, AsyncCallback callback, object state)
252void OnEndCloseSharedState(IAsyncResult result)
257internal IAsyncResult OnBeginOpenListenerState(TimeSpan timeout, AsyncCallback callback, object state)
262internal void OnEndOpenListenerState(IAsyncResult result)
267protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
275protected override void OnEndOpen(IAsyncResult result)
548IAsyncResult result = this.securityListener.settingsLifetimeManager.BeginClose(timeout, lifetimeManagerCloseCallback, this);
559static void LifetimeManagerCloseCallback(IAsyncResult result)
580public static void End(IAsyncResult result)
612IAsyncResult result = this.securityListener.settingsLifetimeManager.BeginOpen(timeout, lifetimeManagerOpenCallback, this);
622static void LifetimeManagerOpenCallback(IAsyncResult result)
643public static void End(IAsyncResult result)
694protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
701protected override void OnEndOpen(IAsyncResult result)
756protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
761protected override void OnEndClose(IAsyncResult result)
766IAsyncResult OnBeginCloseSharedState(TimeSpan timeout, AsyncCallback callback, object state)
771void OnEndCloseSharedState(IAsyncResult result)
855IAsyncResult result = this.securityChannel.settingsLifetimeManager.BeginClose(timeout, lifetimeManagerCloseCallback, this);
866static void LifetimeManagerCloseCallback(IAsyncResult result)
887public static void End(IAsyncResult result)
916public IAsyncResult BeginReceive(AsyncCallback callback, object state)
921public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
926public Message EndReceive(IAsyncResult result)
931public virtual IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
941public virtual bool EndTryReceive(IAsyncResult result, out Message message)
997public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
1002public bool EndWaitForMessage(IAsyncResult result)
1046public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state)
1051public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
1058public void EndSend(IAsyncResult result)
1176public override IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
1186public override bool EndTryReceive(IAsyncResult result, out Message message)
1228public IAsyncResult BeginReceiveRequest(AsyncCallback callback, object state)
1233public IAsyncResult BeginReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state)
1238public RequestContext EndReceiveRequest(IAsyncResult result)
1243public IAsyncResult BeginTryReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state)
1253public bool EndTryReceiveRequest(IAsyncResult result, out RequestContext requestContext)
1370public IAsyncResult BeginWaitForRequest(TimeSpan timeout, AsyncCallback callback, object state)
1375public bool EndWaitForRequest(IAsyncResult result)
1420protected override IAsyncResult OnBeginReply(Message message, TimeSpan timeout, AsyncCallback callback, object state)
1433protected override void OnEndReply(IAsyncResult result)
1464protected override IAsyncResult BeginSendCore(RequestContext context, Message message, TimeSpan timeout, AsyncCallback callback, object state)
1469internal static void End(IAsyncResult result)
1475protected override void EndSendCore(RequestContext context, IAsyncResult result)
1542protected abstract IAsyncResult BeginTryReceiveItem(TimeSpan timeout, AsyncCallback callback, object state);
1543protected abstract bool EndTryReceiveItem(IAsyncResult result, out TItem innerItem);
1546protected abstract IAsyncResult BeginSendFault(TItem innerItem, Message faultMessage, TimeSpan timeout, AsyncCallback callback, object state);
1547protected abstract void EndSendFault(TItem innerItem, IAsyncResult result);
1563IAsyncResult asyncResult = BeginTryReceiveItem(timeoutHelper.RemainingTime(), innerTryReceiveCompletedCallback, this);
1592static void InnerTryReceiveCompletedCallback(IAsyncResult result)
1695IAsyncResult result = this.BeginSendFault(this.innerItem, faultMessage, this.timeoutHelper.RemainingTime(), Fx.ThunkCallback(new AsyncCallback(SendFaultCallback)), e);
1732void SendFaultCallback(IAsyncResult result)
1828protected override IAsyncResult BeginTryReceiveItem(TimeSpan timeout, AsyncCallback callback, object state)
1833protected override bool EndTryReceiveItem(IAsyncResult result, out RequestContext innerItem)
1852protected override IAsyncResult BeginSendFault(RequestContext innerItem, Message faultMessage, TimeSpan timeout, AsyncCallback callback, object state)
1857protected override void EndSendFault(RequestContext innerItem, IAsyncResult result)
1862public static bool End(IAsyncResult result, out RequestContext requestContext)
1911protected override IAsyncResult BeginTryReceiveItem(TimeSpan timeout, AsyncCallback callback, object state)
1916protected override bool EndTryReceiveItem(IAsyncResult result, out Message innerItem)
1940protected override IAsyncResult BeginSendFault(Message innerItem, Message faultMessage, TimeSpan timeout, AsyncCallback callback, object state)
1945protected override void EndSendFault(Message innerItem, IAsyncResult result)
1950public static bool End(IAsyncResult result, out Message message)
2005protected override IAsyncResult BeginTryReceiveItem(TimeSpan timeout, AsyncCallback callback, object state)
2010protected override bool EndTryReceiveItem(IAsyncResult result, out Message innerItem)
2031protected override IAsyncResult BeginSendFault(Message innerItem, Message faultMessage, TimeSpan timeout, AsyncCallback callback, object state)
2036protected override void EndSendFault(Message innerItem, IAsyncResult result)
2041public static bool End(IAsyncResult result, out Message message)
System\ServiceModel\Channels\ServerReliableChannelBinder.cs (30)
143protected override IAsyncResult BeginTryGetChannel(TimeSpan timeout,
149public IAsyncResult BeginWaitForRequest(TimeSpan timeout, AsyncCallback callback,
167bool CompleteAcceptChannel(IAsyncResult result)
256protected override bool EndTryGetChannel(IAsyncResult result)
287public bool EndWaitForRequest(IAsyncResult result)
335void OnAcceptChannelComplete(IAsyncResult result)
381static void OnAcceptChannelCompleteStatic(IAsyncResult result)
392protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback,
405protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback,
418protected abstract IAsyncResult OnBeginWaitForRequest(TChannel channel, TimeSpan timeout,
446protected override void OnEndClose(IAsyncResult result)
458protected override void OnEndOpen(IAsyncResult result)
471protected abstract bool OnEndWaitForRequest(TChannel channel, IAsyncResult result);
494IAsyncResult result = this.listener.BeginAcceptChannel(TimeSpan.MaxValue,
698protected override IAsyncResult OnBeginSend(TDuplexChannel channel, Message message,
704protected override IAsyncResult OnBeginTryReceive(TDuplexChannel channel,
710protected override IAsyncResult OnBeginWaitForRequest(TDuplexChannel channel,
716protected override void OnEndSend(TDuplexChannel channel, IAsyncResult result)
721protected override bool OnEndTryReceive(TDuplexChannel channel, IAsyncResult result,
735IAsyncResult result)
839protected override IAsyncResult BeginCloseChannel(IDuplexSessionChannel channel,
852IAsyncResult result)
911protected override IAsyncResult OnBeginTryReceive(TReplyChannel channel,
917protected override IAsyncResult OnBeginWaitForRequest(TReplyChannel channel,
923protected override bool OnEndTryReceive(TReplyChannel channel, IAsyncResult result,
935protected override bool OnEndWaitForRequest(TReplyChannel channel, IAsyncResult result)
1029protected override IAsyncResult BeginCloseChannel(IReplySessionChannel channel,
1042IAsyncResult result)
1074protected override IAsyncResult BeginInput(
1082TChannel channel, IAsyncResult result, out bool complete)
System\ServiceModel\Channels\ServiceChannel.cs (42)
500IAsyncResult BeginEnsureDisplayUI(AsyncCallback callback, object state)
513void EndEnsureDisplayUI(IAsyncResult result)
539IAsyncResult BeginEnsureOpened(TimeSpan timeout, AsyncCallback callback, object state)
555void EndEnsureOpened(IAsyncResult result)
729internal static IAsyncResult BeginCall(ServiceChannel channel, ProxyOperationRuntime operation, object[] ins, AsyncCallback callback, object asyncState)
736internal IAsyncResult BeginCall(string action, bool oneway, ProxyOperationRuntime operation, object[] ins, AsyncCallback callback, object asyncState)
741internal IAsyncResult BeginCall(string action, bool oneway, ProxyOperationRuntime operation, object[] ins, TimeSpan timeout, AsyncCallback callback, object asyncState)
845internal object EndCall(string action, object[] outs, IAsyncResult result)
1284public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state)
1289public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
1295public void EndSend(IAsyncResult result)
1311public IAsyncResult BeginRequest(Message message, AsyncCallback callback, object state)
1316public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state)
1322public Message EndRequest(IAsyncResult result)
1363protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
1402protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
1465protected override void OnEndClose(IAsyncResult result)
1493protected override void OnEndOpen(IAsyncResult result)
1626IAsyncResult IDuplexContextChannel.BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state)
1631void IDuplexContextChannel.EndCloseOutputSession(IAsyncResult result)
1784public IAsyncResult BeginDisplayInitializationUI(AsyncCallback callback, object state)
1796public void EndDisplayInitializationUI(IAsyncResult result)
1926IAsyncResult result = this.Rpc.Channel.BeginEnsureDisplayUI(ensureInteractiveInitCallback, this);
1934static void EnsureInteractiveInitCallback(IAsyncResult result)
1942void FinishEnsureInteractiveInit(IAsyncResult result, bool completedSynchronously)
1972IAsyncResult result = null;
1998static void EnsureOpenCallback(IAsyncResult result)
2006void FinishEnsureOpen(IAsyncResult result, bool completedSynchronously)
2038IAsyncResult result = null;
2082static void SendCallback(IAsyncResult result)
2090void FinishSend(IAsyncResult result, bool completedSynchronously)
2150IAsyncResult BeginCall(ServiceChannel channel, TimeSpan timeout, AsyncCallback callback, object state);
2151void EndCall(ServiceChannel channel, IAsyncResult result);
2185IAsyncResult ICallOnce.BeginCall(ServiceChannel channel, TimeSpan timeout, AsyncCallback callback, object state)
2191void ICallOnce.EndCall(ServiceChannel channel, IAsyncResult result)
2218IAsyncResult ICallOnce.BeginCall(ServiceChannel channel, TimeSpan timeout, AsyncCallback callback, object state)
2223void ICallOnce.EndCall(ServiceChannel channel, IAsyncResult result)
2299internal IAsyncResult BeginCallOnce(TimeSpan timeout, CallOnceManager cascade,
2332IAsyncResult result = this.callOnce.BeginCall(this.channel, timeout, callback, state);
2354internal void EndCallOnce(IAsyncResult result)
2522internal static void End(IAsyncResult result)
2564static internal void End(IAsyncResult result)
System\ServiceModel\Channels\SharedConnectionListener.cs (14)
72IAsyncResult IConnectionListener.BeginAccept(AsyncCallback callback, object state)
192IConnection IConnectionListener.EndAccept(IAsyncResult result)
767IAsyncResult BeginValidateUriRoute(Uri uri, IPAddress address, int port, AsyncCallback callback, object state)
773bool EndValidateUriRoute(IAsyncResult result)
895IAsyncResult asyncResult = ((IConnectionRegisterAsync)this.proxy.controlSessionWithListener).BeginValidateUriRoute(uri, address, port, onValidateUriRoute, this);
935static void OnValidateUriRoute(IAsyncResult result)
972bool HandleValidateUriRoute(IAsyncResult result, out bool isValidUriRoute)
1021public override IAsyncResult BeginValidate(Uri uri, AsyncCallback callback, object state)
1032public override bool EndValidate(IAsyncResult result)
1061public override IAsyncResult BeginValidate(Uri uri, AsyncCallback callback, object state)
1072public override bool EndValidate(IAsyncResult result)
1371IAsyncResult IConnectionDuplicator.BeginDuplicate(DuplicateContext duplicateContext, AsyncCallback callback, object state)
1401void IConnectionDuplicator.EndDuplicate(IAsyncResult result)
1485public static void End(IAsyncResult result)
System\ServiceModel\Channels\SingletonConnectionReader.cs (21)
152IAsyncResult result = this.Connection.BeginValidate(this.via, onValidate, this);
202bool VerifyValidationResult(IAsyncResult result)
207static void OnValidate(IAsyncResult result)
299public IAsyncResult BeginCompletePreamble(TimeSpan timeout, AsyncCallback callback, object state)
304public IConnection EndCompletePreamble(IAsyncResult result)
430bool ContinueWork(IAsyncResult upgradeAsyncResult)
592bool BeginUpgrade(out IAsyncResult upgradeAsyncResult)
605void EndUpgrade(IAsyncResult upgradeAsyncResult)
759static void OnUpgradeComplete(IAsyncResult result)
1178public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
1183public virtual Message EndReceive(IAsyncResult result)
1283public static Message End(IAsyncResult result)
1349protected override IAsyncResult OnBeginReply(Message message, TimeSpan timeout, AsyncCallback callback, object state)
1362protected override void OnEndReply(IAsyncResult result)
1573public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
1578public override int EndRead(IAsyncResult result)
1599public static int End(IAsyncResult result)
1661public static IAsyncResult BeginWriteMessage(Message message, IConnection connection, bool isRequest,
1668public static void EndWriteMessage(IAsyncResult result)
1692public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
1825public static void End(IAsyncResult result)
System\ServiceModel\Channels\SocketConnection.cs (13)
262static void OnReceiveCompleted(IAsyncResult result)
671public IAsyncResult BeginValidate(Uri uri, AsyncCallback callback, object state)
676public bool EndValidate(IAsyncResult result)
1172IAsyncResult result = socket.BeginReceive(AsyncReadBuffer, offset, size, SocketFlags.None, onReceiveCompleted, this);
1260void OnReceive(IAsyncResult result)
1751public IAsyncResult BeginConnect(Uri uri, TimeSpan timeout, AsyncCallback callback, object state)
1762public IConnection EndConnect(IAsyncResult result)
1878IAsyncResult result = socket.BeginConnect(ipEndPoint, onConnect, this);
1914static void OnConnect(IAsyncResult result)
1956public static Socket End(IAsyncResult result)
2007public IAsyncResult BeginAccept(AsyncCallback callback, object state)
2047public IConnection EndAccept(IAsyncResult result)
2380public static Socket End(IAsyncResult result)
System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (51)
272protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
277protected override void OnEndClose(IAsyncResult result)
322protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
327protected override void OnEndOpen(IAsyncResult result)
352IAsyncResult result = SecurityUtils.BeginOpenTokenAuthenticatorIfRequired(parent.ClientCertificateAuthenticator,
366public static void End(IAsyncResult result)
371bool HandleOpenAuthenticatorComplete(IAsyncResult result)
381IAsyncResult openTokenProviderResult = SecurityUtils.BeginOpenTokenProviderIfRequired(
392bool HandleOpenTokenProviderComplete(IAsyncResult result)
397IAsyncResult getTokenResult = parent.serverTokenProvider.BeginGetToken(timeoutHelper.RemainingTime(),
408bool HandleGetTokenComplete(IAsyncResult result)
413IAsyncResult closeTokenProviderResult =
425bool HandleCloseTokenProviderComplete(IAsyncResult result)
432void OnOpenTokenAuthenticator(IAsyncResult result)
463void OnOpenTokenProvider(IAsyncResult result)
494void OnGetToken(IAsyncResult result)
525void OnCloseTokenProvider(IAsyncResult result)
630protected override IAsyncResult OnBeginAcceptUpgrade(Stream stream, AsyncCallback callback, object state)
637protected override Stream OnEndAcceptUpgrade(IAsyncResult result, out SecurityMessageProperty remoteSecurity)
708protected override IAsyncResult OnBegin(Stream stream, AsyncCallback callback)
720protected override Stream OnCompleteAuthenticateAsServer(IAsyncResult result)
742public static Stream End(IAsyncResult result, out SecurityMessageProperty remoteSecurity, out ChannelBinding channelBinding)
826IAsyncResult BaseBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
831void BaseEndOpen(IAsyncResult result)
836internal override IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
841internal override void EndOpen(IAsyncResult result)
857IAsyncResult BaseBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
862void BaseEndClose(IAsyncResult result)
867internal override IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
872internal override void EndClose(IAsyncResult result)
887protected override IAsyncResult OnBeginInitiateUpgrade(Stream stream, AsyncCallback callback, object state)
899protected override Stream OnEndInitiateUpgrade(IAsyncResult result,
1001protected override IAsyncResult OnBeginAuthenticateAsClient(Stream stream, AsyncCallback callback)
1018protected override Stream OnCompleteAuthenticateAsClient(IAsyncResult result)
1048public static Stream End(IAsyncResult result, out SecurityMessageProperty remoteSecurity, out ChannelBinding channelBinding)
1078IAsyncResult result = parent.BaseBeginOpen(timeoutHelper.RemainingTime(), onBaseOpen, this);
1091public static void End(IAsyncResult result)
1096bool HandleBaseOpenComplete(IAsyncResult result)
1104IAsyncResult openTokenProviderResult = SecurityUtils.BeginOpenTokenProviderIfRequired(
1115bool HandleOpenTokenProviderComplete(IAsyncResult result)
1118IAsyncResult getTokenResult = parent.clientCertificateProvider.BeginGetToken(timeoutHelper.RemainingTime(),
1129bool HandleGetTokenComplete(IAsyncResult result)
1135void OnBaseOpen(IAsyncResult result)
1166void OnOpenTokenProvider(IAsyncResult result)
1197void OnGetClientToken(IAsyncResult result)
1249IAsyncResult result = parent.BaseBeginClose(timeoutHelper.RemainingTime(), onBaseClose, this);
1262public static void End(IAsyncResult result)
1267bool HandleBaseCloseComplete(IAsyncResult result)
1275IAsyncResult closeTokenProviderResult = SecurityUtils.BeginCloseTokenProviderIfRequired(
1287void OnBaseClose(IAsyncResult result)
1318void OnCloseTokenProvider(IAsyncResult result)
System\ServiceModel\Channels\StreamedFramingRequestChannel.cs (21)
40protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
45protected override void OnEndOpen(IAsyncResult result)
144protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
149protected override void OnEndClose(IAsyncResult result)
188protected override IAsyncResult BeginAcceptPooledConnection(IConnection connection, ref TimeoutHelper timeoutHelper, AsyncCallback callback, object state)
194protected override IConnection EndAcceptPooledConnection(IAsyncResult result)
237public static IConnection End(IAsyncResult result, out SecurityMessageProperty remoteSecurity)
261IAsyncResult initiateUpgradeResult = ConnectionUpgradeHelper.BeginInitiateUpgrade(channel.settings, channel.RemoteAddress,
273bool HandleUpgrade(IAsyncResult result)
325IAsyncResult decodeFaultResult = ConnectionUpgradeHelper.BeginDecodeFramingFault(decoder,
426static void OnUpgrade(IAsyncResult result)
459static void OnFailedUpgrade(IAsyncResult result)
647IAsyncResult result = connectionPoolHelper.BeginEstablishConnection(timeoutHelper.RemainingTime(), onEstablishConnection, this);
675bool HandleEstablishConnection(IAsyncResult result)
681IAsyncResult writeResult = StreamingConnectionHelper.BeginWriteMessage(this.message, this.connection, true, this.channel.settings, ref timeoutHelper, onWriteMessage, this);
719bool HandleWriteMessage(IAsyncResult result)
727IAsyncResult receiveResult = connectionReader.BeginReceive(timeoutHelper.RemainingTime(), onReceiveReply, this);
737bool CompleteReceiveReply(IAsyncResult result)
749static void OnEstablishConnection(IAsyncResult result)
791static void OnWriteMessage(IAsyncResult result)
833static void OnReceiveReply(IAsyncResult result)
System\ServiceModel\Channels\TransactionChannelFactory.cs (6)
241public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state)
246public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback asyncCallback, object state)
254public void EndSend(IAsyncResult result)
298public IAsyncResult BeginRequest(Message message, AsyncCallback callback, object state)
303public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback asyncCallback, object state)
310public Message EndRequest(IAsyncResult result)
System\ServiceModel\Channels\TransactionChannelListener.cs (22)
203protected override IAsyncResult OnBeginReply(Message message, TimeSpan timeout, AsyncCallback callback, object state)
228protected override void OnEndReply(IAsyncResult result)
288public IAsyncResult BeginReceive(AsyncCallback callback, object state)
293public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
298public Message EndReceive(IAsyncResult result)
303public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
308public virtual bool EndTryReceive(IAsyncResult asyncResult, out Message message)
343public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
348public bool EndWaitForMessage(IAsyncResult result)
383public IAsyncResult BeginReceiveRequest(AsyncCallback callback, object state)
388public IAsyncResult BeginReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state)
393public RequestContext EndReceiveRequest(IAsyncResult result)
398public IAsyncResult BeginTryReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state)
433public bool EndTryReceiveRequest(IAsyncResult asyncResult, out RequestContext requestContext)
477public IAsyncResult BeginWaitForRequest(TimeSpan timeout, AsyncCallback callback, object state)
482public bool EndWaitForRequest(IAsyncResult result)
561public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state)
566public virtual IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback asyncCallback, object state)
573public void EndSend(IAsyncResult result)
599IAsyncResult innerResult;
623internal IAsyncResult InnerResult
655static void Callback(IAsyncResult result)
System\ServiceModel\Channels\TransmissionStrategy.cs (6)
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)
326public bool EndAdd(IAsyncResult result, out MessageAttemptInfo attemptInfo)
331public MessageAttemptInfo EndAddLast(IAsyncResult result)
500IAsyncResult InternalBeginAdd(Message message, bool isLast, TimeSpan timeout, object state, AsyncCallback callback, object asyncState)
535bool InternalEndAdd(IAsyncResult result, out MessageAttemptInfo attemptInfo)
System\ServiceModel\Channels\TransportDuplexSessionChannel.cs (31)
140public IAsyncResult BeginReceive(AsyncCallback callback, object state)
145public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
155IAsyncResult result = this.messageSource.BeginReceive(timeout, callback, state);
170public Message EndReceive(IAsyncResult result)
209public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
214public bool EndTryReceive(IAsyncResult result, out Message message)
263public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
273IAsyncResult result = this.messageSource.BeginWaitForMessage(timeout, callback, state);
288public bool EndWaitForMessage(IAsyncResult result)
329protected IAsyncResult BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state)
334protected void EndCloseOutputSession(IAsyncResult result)
420protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
425protected override void OnEndClose(IAsyncResult result)
552protected override IAsyncResult OnBeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
558protected override void OnEndSend(IAsyncResult result)
668public IAsyncResult BeginCloseOutputSession(AsyncCallback callback, object state)
673public IAsyncResult BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state)
678public void EndCloseOutputSession(IAsyncResult result)
707IAsyncResult result =
723public static void End(IAsyncResult result)
728static void OnCloseOutputSession(IAsyncResult result)
760static void OnCloseInputSession(IAsyncResult result)
813bool HandleCloseOutputSession(IAsyncResult result, bool isStillSynchronous)
823IAsyncResult closeInputSessionResult =
835bool HandleCloseInputSession(IAsyncResult result, bool isStillSynchronous)
920public static void End(IAsyncResult result)
1079public static void End(IAsyncResult result)
1239IAsyncResult result = this.channel.BeginReceive(timeout, onReceive, this);
1264public static bool End(IAsyncResult result, out Message message)
1271static void OnReceive(IAsyncResult result)
1307void CompleteReceive(IAsyncResult result)
System\ServiceModel\Channels\TransportSecurityHelpers.cs (15)
221public static IAsyncResult BeginGetSspiCredential(SecurityTokenProviderContainer tokenProvider, TimeSpan timeout,
227public static IAsyncResult BeginGetSspiCredential(SecurityTokenProvider tokenProvider, TimeSpan timeout,
233public static NetworkCredential EndGetSspiCredential(IAsyncResult result,
239public static NetworkCredential EndGetSspiCredential(IAsyncResult result,
472public static IAsyncResult BeginGetUserNameCredential(SecurityTokenProviderContainer tokenProvider, TimeSpan timeout,
478public static NetworkCredential EndGetUserNameCredential(IAsyncResult result)
574IAsyncResult result = this.tokenProvider.BeginGetToken(timeout, onGetToken, this);
582void CompleteGetToken(IAsyncResult result)
597static void OnGetToken(IAsyncResult result)
621public static NetworkCredential End(IAsyncResult result)
655IAsyncResult result = credentialProvider.BeginGetToken(timeout, onGetToken, this);
663void CompleteGetToken(IAsyncResult result)
691static void OnGetToken(IAsyncResult result)
715public static NetworkCredential End(IAsyncResult result,
725public static NetworkCredential End(IAsyncResult result,
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (6)
268IAsyncResult result = this.MessageEncoder.BeginWriteMessage(message, new TimeoutStream(webSocketStream, ref helper), streamedWriteCallback, this);
458static void StreamWriteCallback(IAsyncResult ar)
1157public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
1219public override int EndRead(IAsyncResult asyncResult)
1328public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
1363public override void EndWrite(IAsyncResult asyncResult)
System\ServiceModel\Channels\WindowsStreamSecurityUpgradeProvider.cs (36)
140protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
145protected override void OnEndClose(IAsyncResult result)
161protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
167protected override void OnEndOpen(IAsyncResult result)
230protected override IAsyncResult OnBeginAcceptUpgrade(Stream stream, AsyncCallback callback, object state)
237protected override Stream OnEndAcceptUpgrade(IAsyncResult result,
283protected override IAsyncResult OnBegin(Stream stream, AsyncCallback callback)
290protected override Stream OnCompleteAuthenticateAsServer(IAsyncResult result)
321IAsyncResult BaseBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
326void BaseEndOpen(IAsyncResult result)
331internal override IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
336internal override void EndOpen(IAsyncResult result)
350IAsyncResult BaseBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
355void BaseEndClose(IAsyncResult result)
360internal override IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
365internal override void EndClose(IAsyncResult result)
377protected override IAsyncResult OnBeginInitiateUpgrade(Stream stream, AsyncCallback callback, object state)
389protected override Stream OnEndInitiateUpgrade(IAsyncResult result,
507protected override IAsyncResult OnBeginAuthenticateAsClient(Stream stream, AsyncCallback callback)
517protected override Stream OnCompleteAuthenticateAsClient(IAsyncResult result)
551IAsyncResult result = parent.BaseBeginOpen(timeoutHelper.RemainingTime(), onBaseOpen, this);
564public static void End(IAsyncResult result)
569bool HandleBaseOpenComplete(IAsyncResult result)
572IAsyncResult openTokenProviderResult = SecurityUtils.BeginOpenTokenProviderIfRequired(
583bool HandleOpenTokenProviderComplete(IAsyncResult result)
586IAsyncResult getCredentialResult = TransportSecurityHelpers.BeginGetSspiCredential(
597bool HandleGetSspiCredentialComplete(IAsyncResult result)
604void OnBaseOpen(IAsyncResult result)
635void OnOpenTokenProvider(IAsyncResult result)
666void OnGetSspiCredential(IAsyncResult result)
715IAsyncResult result = parent.BaseBeginClose(timeoutHelper.RemainingTime(), onBaseClose, this);
728public static void End(IAsyncResult result)
733bool HandleBaseCloseComplete(IAsyncResult result)
736IAsyncResult closeTokenProviderResult = SecurityUtils.BeginCloseTokenProviderIfRequired(
748void OnBaseClose(IAsyncResult result)
779void OnCloseTokenProvider(IAsyncResult result)
System\ServiceModel\ClientBase.cs (34)
703IAsyncResult ICommunicationObject.BeginClose(AsyncCallback callback, object state)
708IAsyncResult ICommunicationObject.BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
713void ICommunicationObject.EndClose(IAsyncResult result)
718IAsyncResult ICommunicationObject.BeginOpen(AsyncCallback callback, object state)
723IAsyncResult ICommunicationObject.BeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
728void ICommunicationObject.EndOpen(IAsyncResult result)
735internal IAsyncResult BeginFactoryOpen(TimeSpan timeout, AsyncCallback callback, object state)
747internal void EndFactoryOpen(IAsyncResult result)
759internal IAsyncResult BeginChannelOpen(TimeSpan timeout, AsyncCallback callback, object state)
764internal void EndChannelOpen(IAsyncResult result)
769internal IAsyncResult BeginFactoryClose(TimeSpan timeout, AsyncCallback callback, object state)
781internal void EndFactoryClose(IAsyncResult result)
793internal IAsyncResult BeginChannelClose(TimeSpan timeout, AsyncCallback callback, object state)
805internal void EndChannelClose(IAsyncResult result)
960protected delegate IAsyncResult BeginOperationDelegate(object[] inValues, AsyncCallback asyncCallback, object state);
961protected delegate object[] EndOperationDelegate(IAsyncResult result);
1003IAsyncResult result = null;
1027static void OnAsyncCallCompleted(IAsyncResult result)
1128protected IAsyncResult BeginInvoke(string methodName, object[] args, AsyncCallback callback, object state)
1144protected object EndInvoke(string methodName, object[] args, IAsyncResult result)
1201IAsyncResult IClientChannel.BeginDisplayInitializationUI(AsyncCallback callback, object state)
1206void IClientChannel.EndDisplayInitializationUI(IAsyncResult result)
1303IAsyncResult ICommunicationObject.BeginClose(AsyncCallback callback, object state)
1308IAsyncResult ICommunicationObject.BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
1313void ICommunicationObject.EndClose(IAsyncResult result)
1328IAsyncResult ICommunicationObject.BeginOpen(AsyncCallback callback, object state)
1333IAsyncResult ICommunicationObject.BeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
1338void ICommunicationObject.EndOpen(IAsyncResult result)
1373IAsyncResult IOutputChannel.BeginSend(Message message, AsyncCallback callback, object state)
1378IAsyncResult IOutputChannel.BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
1383void IOutputChannel.EndSend(IAsyncResult result)
1408IAsyncResult IRequestChannel.BeginRequest(Message message, AsyncCallback callback, object state)
1413IAsyncResult IRequestChannel.BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state)
1418Message IRequestChannel.EndRequest(IAsyncResult result)
System\ServiceModel\Description\MetadataExchangeClient.cs (23)
254public IAsyncResult BeginGetMetadata(AsyncCallback callback, object asyncState)
263public IAsyncResult BeginGetMetadata(Uri address, MetadataExchangeClientMode mode, AsyncCallback callback, object asyncState)
276public IAsyncResult BeginGetMetadata(EndpointAddress address, AsyncCallback callback, object asyncState)
284IAsyncResult BeginGetMetadata(MetadataRetriever retriever, AsyncCallback callback, object asyncState)
291public MetadataSet EndGetMetadata(IAsyncResult result)
677internal abstract IAsyncResult BeginRetrieve(TimeoutHelper timeoutHelper, AsyncCallback callback, object state);
678internal abstract MetadataSection EndRetrieve(IAsyncResult result);
818internal override IAsyncResult BeginRetrieve(TimeoutHelper timeoutHelper, AsyncCallback callback, object state)
852internal override MetadataSection EndRetrieve(IAsyncResult result)
884IAsyncResult result = request.BeginGetResponse(Fx.ThunkCallback(new AsyncCallback(this.GetResponseCallback)), request);
910internal static MetadataSection End(IAsyncResult result)
916internal void GetResponseCallback(IAsyncResult result)
936void HandleResult(IAsyncResult result)
988internal override IAsyncResult BeginRetrieve(TimeoutHelper timeoutHelper, AsyncCallback callback, object state)
1098internal override MetadataSection EndRetrieve(IAsyncResult result)
1134IAsyncResult result = metadataClient.BeginGet(message, Fx.ThunkCallback(new AsyncCallback(this.RequestCallback)), metadataClient);
1144internal static MetadataSection End(IAsyncResult result)
1150internal void RequestCallback(IAsyncResult result)
1170void HandleResult(IAsyncResult result)
1252IAsyncResult result = retriever.BeginRetrieve(this.resolveCallState.TimeoutHelper, Fx.ThunkCallback(new AsyncCallback(this.RetrieveCallback)), retriever);
1269internal static MetadataSet End(IAsyncResult result)
1275internal void RetrieveCallback(IAsyncResult result)
1301bool HandleResult(IAsyncResult result)
System\ServiceModel\Description\MetadataResolver.cs (11)
86public static IAsyncResult BeginResolve(Type contract, EndpointAddress address, AsyncCallback callback, object asyncState)
95public static IAsyncResult BeginResolve(IEnumerable<ContractDescription> contracts, EndpointAddress address, AsyncCallback callback, object asyncState)
99public static IAsyncResult BeginResolve(IEnumerable<ContractDescription> contracts, EndpointAddress address, MetadataExchangeClient client, AsyncCallback callback, object asyncState)
118public static IAsyncResult BeginResolve(Type contract, Uri address, MetadataExchangeClientMode mode, AsyncCallback callback, object asyncState)
127public static IAsyncResult BeginResolve(IEnumerable<ContractDescription> contracts, Uri address, MetadataExchangeClientMode mode, AsyncCallback callback, object asyncState)
131public static IAsyncResult BeginResolve(IEnumerable<ContractDescription> contracts, Uri address, MetadataExchangeClientMode mode, MetadataExchangeClient client,
152public static ServiceEndpointCollection EndResolve(IAsyncResult result)
178IAsyncResult result;
196internal void EndGetMetadataSet(IAsyncResult result)
217private void HandleResult(IAsyncResult result)
223internal static ServiceEndpointCollection EndAsyncCall(IAsyncResult result)
System\ServiceModel\Dispatcher\BufferedReceiveBinder.cs (11)
94public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
98IAsyncResult result = this.channelBinder.BeginTryReceive(timeout, tryReceiveCallback, this);
108public bool EndTryReceive(IAsyncResult result, out RequestContext requestContext)
134public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
139public void EndSend(IAsyncResult result)
149public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state)
154public Message EndRequest(IAsyncResult result)
164public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
169public bool EndWaitForMessage(IAsyncResult result)
216static void TryReceiveCallback(IAsyncResult result)
226static void HandleEndTryReceive(IAsyncResult result)
System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (43)
314public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
322public bool EndTryReceive(IAsyncResult result, out RequestContext requestContext)
358public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
363public void EndSend(IAsyncResult result)
373public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state)
388IAsyncResult result = this.channel.BeginSend(message, timeout, Fx.ThunkCallback(new AsyncCallback(this.SendCallback)), duplexRequest);
414public Message EndRequest(IAsyncResult result)
625void SendCallback(IAsyncResult result)
662public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
667public bool EndWaitForMessage(IAsyncResult result)
700protected override IAsyncResult OnBeginReply(Message message, TimeSpan timeout, AsyncCallback callback, object state)
705protected override void OnEndReply(IAsyncResult result)
726IAsyncResult result = context.channel.BeginSend(message, timeout, onSend, this);
737public static void End(IAsyncResult result)
742static void OnSend(IAsyncResult result)
870IAsyncResult sendResult;
987public void FinishedSend(IAsyncResult sendResult, bool completedSynchronously)
1221IAsyncResult result = null;
1253IAsyncResult result = (IAsyncResult)state;
1258static void ReceiveAsyncCallback(IAsyncResult result)
1268void OnReceive(IAsyncResult result)
1315IAsyncResult result = null;
1348static void CloseInnerChannelCallback(IAsyncResult result)
1358void OnCloseInnerChannel(IAsyncResult result)
1397public IAsyncResult BeginReceive(AsyncCallback callback, object state)
1402public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
1407public Message EndReceive(IAsyncResult result)
1417public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
1422public bool EndTryReceive(IAsyncResult result, out Message message)
1432public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
1437public bool EndWaitForMessage(IAsyncResult result)
1476public IAsyncResult BeginClose(AsyncCallback callback, object state)
1481public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
1498public void EndClose(IAsyncResult result)
1530public IAsyncResult BeginOpen(AsyncCallback callback, object state)
1535public IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
1540public void EndOpen(IAsyncResult result)
1556public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state)
1561public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
1566public void EndSend(IAsyncResult result)
1620public IAsyncResult BeginWaitForBackgroundClose(TimeSpan timeout, AsyncCallback callback, object state)
1626public void EndWaitForBackgroundClose(IAsyncResult result)
System\ServiceModel\Dispatcher\IChannelBinder.cs (8)
23IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state);
24bool EndTryReceive(IAsyncResult result, out RequestContext requestContext);
27IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state);
28void EndSend(IAsyncResult result);
31IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state);
32Message EndRequest(IAsyncResult result);
35IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state);
36bool EndWaitForMessage(IAsyncResult result);
System\ServiceModel\Dispatcher\InputChannelBinder.cs (10)
68public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
73public bool EndTryReceive(IAsyncResult result, out RequestContext requestContext)
93public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
98public void EndSend(IAsyncResult result)
123public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state)
128public Message EndRequest(IAsyncResult result)
143public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
148public bool EndWaitForMessage(IAsyncResult result)
187protected override IAsyncResult OnBeginReply(Message message, TimeSpan timeout, AsyncCallback callback, object state)
192protected override void OnEndReply(IAsyncResult result)
System\ServiceModel\Dispatcher\InstanceContextManager.cs (13)
18IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state);
19IAsyncResult BeginCloseInput(TimeSpan timeout, AsyncCallback callback, object state);
22void EndClose(IAsyncResult result);
23void EndCloseInput(IAsyncResult result);
71public IAsyncResult BeginCloseInput(TimeSpan timeout, AsyncCallback callback, object state)
87IAsyncResult result = instance.BeginClose(timeoutHelper.RemainingTime(), Fx.ThunkCallback(new AsyncCallback(CloseInstanceContextCallback)), instance);
128static void CloseInstanceContextCallback(IAsyncResult result)
159public void EndCloseInput(IAsyncResult result)
200protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
214protected override void OnEndClose(IAsyncResult result)
302IAsyncResult result;
325static void Callback(IAsyncResult result)
365public static void End(IAsyncResult result)
System\ServiceModel\Dispatcher\ListenerBinder.cs (12)
76public IAsyncResult BeginAccept(TimeSpan timeout, AsyncCallback callback, object state)
81public IChannelBinder EndAccept(IAsyncResult result)
123public IAsyncResult BeginAccept(TimeSpan timeout, AsyncCallback callback, object state)
128public IChannelBinder EndAccept(IAsyncResult result)
168public IAsyncResult BeginAccept(TimeSpan timeout, AsyncCallback callback, object state)
173public IChannelBinder EndAccept(IAsyncResult result)
213public IAsyncResult BeginAccept(TimeSpan timeout, AsyncCallback callback, object state)
218public IChannelBinder EndAccept(IAsyncResult result)
258public IAsyncResult BeginAccept(TimeSpan timeout, AsyncCallback callback, object state)
263public IChannelBinder EndAccept(IAsyncResult result)
303public IAsyncResult BeginAccept(TimeSpan timeout, AsyncCallback callback, object state)
308public IChannelBinder EndAccept(IAsyncResult result)
System\ServiceModel\Dispatcher\ListenerHandler.cs (14)
112protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
117protected override void OnEndOpen(IAsyncResult result)
223IAsyncResult result = this.acceptor.BeginWaitForChannel(ListenerHandler.waitCallback, this);
238static void WaitCallback(IAsyncResult result)
288IAsyncResult result = this.acceptor.BeginTryAccept(TimeSpan.MaxValue, ListenerHandler.acceptCallback, this);
356ListenerChannel CompleteAccept(IAsyncResult result)
379bool HandleEndAccept(IAsyncResult result)
397static void AcceptCallback(IAsyncResult result)
440IAsyncResult result = duplexSession.BeginCloseOutputSession(timeout, Fx.ThunkCallback(new AsyncCallback(CloseOutputSessionCallback)), state);
446IAsyncResult result = channel.BeginClose(timeout, Fx.ThunkCallback(new AsyncCallback(CloseChannelCallback)), state);
467static void CloseChannelCallback(IAsyncResult result)
515static void CloseOutputSessionCallback(IAsyncResult result)
655protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
689protected override void OnEndClose(IAsyncResult result)
System\ServiceModel\Dispatcher\MultipleReceiveBinder.cs (19)
76public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
86IAsyncResult innerResult;
108IAsyncResult result = this.channelBinder.BeginTryReceive(timeout, onInnerReceiveCompleted, receiveScope);
116static void OnInnerReceiveCompleted(IAsyncResult nestedResult)
127void HandleReceiveAndSignalCompletion(IAsyncResult nestedResult, bool completedSynchronosly)
135private bool SignalReceiveCompleted(IAsyncResult nestedResult)
153void HandleReceiveRequestComplete(IAsyncResult innerResult, bool completedSynchronously)
182public bool EndTryReceive(IAsyncResult result, out RequestContext requestContext)
197public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
202public void EndSend(IAsyncResult result)
212public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state)
217public Message EndRequest(IAsyncResult result)
227public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
232public bool EndWaitForMessage(IAsyncResult result)
261public static bool End(IAsyncResult result, out RequestContext context)
269class ReceiveScopeSignalGate : SignalGate<IAsyncResult>
331internal bool TryDequeueHead(out IAsyncResult result)
345public bool TrySignal(ReceiveScopeSignalGate scope, IAsyncResult nestedResult)
358public bool TrySignalPending(IAsyncResult result)
System\ServiceModel\Dispatcher\OperationFormatter.cs (10)
357IAsyncResult BeginSerializeBodyContents(XmlDictionaryWriter writer, MessageVersion version, object[] parameters, object returnValue, bool isRequest,
363void EndSerializeBodyContents(IAsyncResult result)
388IAsyncResult result = streamFormatter.BeginSerialize(writer, parameters, returnValue, PrepareAsyncCompletion(handleEndSerializeBodyContents), this);
405static bool HandleEndSerializeBodyContents(IAsyncResult result)
412public static void End(IAsyncResult result)
716protected override IAsyncResult OnBeginWriteBodyContents(XmlDictionaryWriter writer, AsyncCallback callback, object state)
723protected override void OnEndWriteBodyContents(IAsyncResult result)
745IAsyncResult result = this.operationFormatter.BeginSerializeBodyContents(writer, operationFormatterBodyWriter.version,
756static bool HandleEndOnWriteBodyContents(IAsyncResult result)
763public static void End(IAsyncResult result)
System\ServiceModel\Dispatcher\OutputChannelBinder.cs (8)
66public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
71public bool EndTryReceive(IAsyncResult result, out RequestContext requestContext)
81public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
86public void EndSend(IAsyncResult result)
96public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state)
101public Message EndRequest(IAsyncResult result)
121public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
126public bool EndWaitForMessage(IAsyncResult result)
System\ServiceModel\Dispatcher\ReplyChannelBinder.cs (8)
68public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
73public bool EndTryReceive(IAsyncResult result, out RequestContext requestContext)
83public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
88public void EndSend(IAsyncResult result)
98public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state)
103public Message EndRequest(IAsyncResult result)
123public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
128public bool EndWaitForMessage(IAsyncResult result)
System\ServiceModel\Dispatcher\RequestChannelBinder.cs (8)
61public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
66public bool EndTryReceive(IAsyncResult result, out RequestContext requestContext)
76public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
81public void EndSend(IAsyncResult result)
91public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state)
96public Message EndRequest(IAsyncResult result)
125public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
130public bool EndWaitForMessage(IAsyncResult result)
System\ServiceModel\Security\ApplySecurityAndSendAsyncResult.cs (5)
42IAsyncResult result = this.binding.BeginSecureOutgoingMessage(message, timeoutHelper.RemainingTime(), correlationState, sharedCallback, this);
66IAsyncResult result = BeginSendCore(this.channel, message, timeoutHelper.RemainingTime(), sharedCallback, this);
75protected abstract IAsyncResult BeginSendCore(MessageSenderType channel, Message message, TimeSpan timeout, AsyncCallback callback, object state);
77protected abstract void EndSendCore(MessageSenderType channel, IAsyncResult result);
87static void SharedCallback(IAsyncResult result)
System\ServiceModel\Security\IssuanceTokenProviderBase.cs (20)
350protected override IAsyncResult BeginGetTokenCore(TimeSpan timeout, AsyncCallback callback, object state)
353IAsyncResult asyncResult;
370protected override SecurityToken EndGetTokenCore(IAsyncResult result)
417protected abstract IAsyncResult BeginCreateNegotiationState(EndpointAddress target, Uri via, TimeSpan timeout, AsyncCallback callback, object state);
419protected abstract T EndCreateNegotiationState(IAsyncResult result);
426protected abstract IAsyncResult BeginInitializeChannelFactories(EndpointAddress target, TimeSpan timeout, AsyncCallback callback, object state);
427protected abstract void EndInitializeChannelFactories(IAsyncResult result);
639protected IAsyncResult BeginNegotiation(TimeSpan timeout, AsyncCallback callback, object state)
646protected SecurityToken EndNegotiation(IAsyncResult result)
799IAsyncResult createStateResult = this.tokenProvider.BeginCreateNegotiationState(target, this.via, timeoutHelper.RemainingTime(), createNegotiationStateCallback, this);
809static void CreateNegotiationStateCallback(IAsyncResult result)
856IAsyncResult result = this.tokenProvider.BeginInitializeChannelFactories(negotiationState.RemoteAddress, timeoutHelper.RemainingTime(), initializeChannelFactoriesCallback, this);
866static void InitializeChannelFactoriesCallback(IAsyncResult result)
909IAsyncResult result = rstChannel.BeginOpen(timeoutHelper.RemainingTime(), openChannelCallback, this);
918static void OpenChannelCallback(IAsyncResult result)
968IAsyncResult result = null;
1001static void SendRequestCallback(IAsyncResult result)
1073IAsyncResult result = rstChannel.BeginClose(timeoutHelper.RemainingTime(), closeChannelCallback, this);
1082static void CloseChannelCallback(IAsyncResult result)
1150public static SecurityToken End(IAsyncResult result)
System\ServiceModel\Security\IWSTrust13AsyncContract.cs (16)
26IAsyncResult BeginTrust13Cancel( Message request, AsyncCallback callback, object state );
33Message EndTrust13Cancel( IAsyncResult ar );
43IAsyncResult BeginTrust13Issue( Message request, AsyncCallback callback, object state );
50Message EndTrust13Issue( IAsyncResult ar );
61IAsyncResult BeginTrust13Renew( Message request, AsyncCallback callback, object state );
68Message EndTrust13Renew( IAsyncResult ar );
79IAsyncResult BeginTrust13Validate( Message request, AsyncCallback callback, object state );
86Message EndTrust13Validate( IAsyncResult ar );
101IAsyncResult BeginTrust13CancelResponse( Message request, AsyncCallback callback, object state );
108Message EndTrust13CancelResponse( IAsyncResult ar );
124IAsyncResult BeginTrust13IssueResponse( Message request, AsyncCallback callback, object state );
131Message EndTrust13IssueResponse( IAsyncResult ar );
147IAsyncResult BeginTrust13RenewResponse( Message request, AsyncCallback callback, object state );
154Message EndTrust13RenewResponse( IAsyncResult ar );
170IAsyncResult BeginTrust13ValidateResponse( Message request, AsyncCallback callback, object state );
177Message EndTrust13ValidateResponse( IAsyncResult ar );
System\ServiceModel\Security\IWSTrustChannelContract.cs (12)
34/// <returns>An <see cref="IAsyncResult" /> object that represents the asynchronous send, which could still
36IAsyncResult BeginCancel(System.IdentityModel.Protocols.WSTrust.RequestSecurityToken request, AsyncCallback callback, object state);
43void EndCancel(IAsyncResult result, out System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse response);
68/// <returns>An <see cref="IAsyncResult" /> object that represents the asynchronous send, which could still
70IAsyncResult BeginIssue(System.IdentityModel.Protocols.WSTrust.RequestSecurityToken request, AsyncCallback callback, object asyncState);
78SecurityToken EndIssue(IAsyncResult result, out System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse response);
94/// <returns>An <see cref="IAsyncResult" /> object that represents the asynchronous send, which could still
96IAsyncResult BeginRenew(System.IdentityModel.Protocols.WSTrust.RequestSecurityToken request, AsyncCallback callback, object state);
103void EndRenew(IAsyncResult result, out System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse response);
119/// <returns>An <see cref="IAsyncResult" /> object that represents the asynchronous send, which could still
121IAsyncResult BeginValidate(System.IdentityModel.Protocols.WSTrust.RequestSecurityToken request, AsyncCallback callback, object state);
128void EndValidate(IAsyncResult result, out System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse response);
System\ServiceModel\Security\IWSTrustFeb2005AsyncContract.cs (16)
26IAsyncResult BeginTrustFeb2005Cancel( Message request, AsyncCallback callback, object state );
33Message EndTrustFeb2005Cancel( IAsyncResult ar );
43IAsyncResult BeginTrustFeb2005Issue( Message request, AsyncCallback callback, object state );
50Message EndTrustFeb2005Issue( IAsyncResult ar );
60IAsyncResult BeginTrustFeb2005Renew( Message request, AsyncCallback callback, object state );
67Message EndTrustFeb2005Renew( IAsyncResult ar );
77IAsyncResult BeginTrustFeb2005Validate( Message request, AsyncCallback callback, object state );
84Message EndTrustFeb2005Validate( IAsyncResult ar );
94IAsyncResult BeginTrustFeb2005CancelResponse( Message request, AsyncCallback callback, object state );
101Message EndTrustFeb2005CancelResponse( IAsyncResult ar );
111IAsyncResult BeginTrustFeb2005IssueResponse( Message request, AsyncCallback callback, object state );
118Message EndTrustFeb2005IssueResponse( IAsyncResult ar );
128IAsyncResult BeginTrustFeb2005RenewResponse( Message request, AsyncCallback callback, object state );
135Message EndTrustFeb2005RenewResponse( IAsyncResult ar );
145IAsyncResult BeginTrustFeb2005ValidateResponse( Message request, AsyncCallback callback, object state );
152Message EndTrustFeb2005ValidateResponse( IAsyncResult ar );
System\ServiceModel\Security\MessageSecurityProtocol.cs (14)
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);
125public override void EndSecureOutgoingMessage(IAsyncResult result, out Message message)
147public override void EndSecureOutgoingMessage(IAsyncResult result, out Message message, out SecurityProtocolCorrelationState newCorrelationState)
168protected abstract void EndSecureOutgoingMessageCore(IAsyncResult result, out Message message, out SecurityProtocolCorrelationState newCorrelationState);
712internal static Message End(IAsyncResult result, out SecurityProtocolCorrelationState newCorrelationState)
735static void GetTokenCompleteCallback(IAsyncResult result)
780IAsyncResult result = this.provider.BeginGetToken(timeoutHelper.RemainingTime(), getTokenCompleteCallback, this);
840internal static Message End(IAsyncResult result, out SecurityProtocolCorrelationState newCorrelationState)
873IAsyncResult result = this.secondaryProvider.BeginGetToken(this.timeoutHelper.RemainingTime(), getSecondaryTokenCompleteCallback, this);
900static void GetPrimaryTokenCompleteCallback(IAsyncResult result)
937static void GetSecondaryTokenCompleteCallback(IAsyncResult result)
989IAsyncResult result = this.primaryProvider.BeginGetToken(this.timeoutHelper.RemainingTime(), getPrimaryTokenCompleteCallback, this);
System\ServiceModel\Security\SecurityListenerSettingsLifetimeManager.cs (8)
83public IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
103public void EndOpen(IAsyncResult result)
109IAsyncResult BeginOpenSecurityProtocolFactory(TimeSpan timeout, AsyncCallback callback, object state)
114void EndOpenSecurityProtocolFactory(IAsyncResult result)
148public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
169IAsyncResult result = OperationWithTimeoutComposer.BeginComposeAsyncOperations(timeout, beginOperations.ToArray(), endOperations.ToArray(), callback, state);
187public void EndClose(IAsyncResult result)
231new public static void End(IAsyncResult result)
System\ServiceModel\Security\SecurityProtocol.cs (19)
123public IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
128public IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
141public void OnEndClose(IAsyncResult result)
146public void OnEndOpen(IAsyncResult result)
362public IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
367public void EndOpen(IAsyncResult result)
484public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
489public void EndClose(IAsyncResult result)
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)
729public virtual void EndSecureOutgoingMessage(IAsyncResult result, out Message message)
734public virtual void EndSecureOutgoingMessage(IAsyncResult result, out Message message, out SecurityProtocolCorrelationState newCorrelationState)
739public virtual void EndVerifyIncomingMessage(IAsyncResult result, out Message message)
744public virtual void EndVerifyIncomingMessage(IAsyncResult result, out Message message, out SecurityProtocolCorrelationState newCorrelationState)
879static void GetSupportingTokenCallback(IAsyncResult result)
910void AddSupportingToken(IAsyncResult result)
931IAsyncResult result = null;
System\ServiceModel\Security\SecuritySessionClientSettings.cs (91)
220public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
225public void EndClose(IAsyncResult result)
230IAsyncResult ISecurityCommunicationObject.OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
235IAsyncResult ISecurityCommunicationObject.OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
248void ISecurityCommunicationObject.OnEndClose(IAsyncResult result)
253void ISecurityCommunicationObject.OnEndOpen(IAsyncResult result)
650protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
664protected override void OnEndOpen(IAsyncResult result)
850IAsyncResult BeginSendCloseMessage(TimeSpan timeout, AsyncCallback callback, object state)
864SecurityProtocolCorrelationState EndSendCloseMessage(IAsyncResult result)
871IAsyncResult BeginSendCloseResponseMessage(TimeSpan timeout, AsyncCallback callback, object state)
876void EndSendCloseResponseMessage(IAsyncResult result)
1294protected IAsyncResult BeginSecureOutgoingMessage(Message message, TimeSpan timeout, AsyncCallback callback, object state)
1308protected Message EndSecureOutgoingMessage(IAsyncResult result, out SecurityProtocolCorrelationState correlationState)
1377protected virtual IAsyncResult BeginCloseCore(TimeSpan timeout, AsyncCallback callback, object state)
1382protected virtual void EndCloseCore(IAsyncResult result)
1387protected IAsyncResult BeginReceiveInternal(TimeSpan timeout, SecurityProtocolCorrelationState correlationState, AsyncCallback callback, object state)
1392protected Message EndReceiveInternal(IAsyncResult result)
1458protected IAsyncResult BeginCloseSession(TimeSpan timeout, AsyncCallback callback, object state)
1471protected bool EndCloseSession(IAsyncResult result, out bool wasAborted)
1534protected virtual IAsyncResult BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state)
1549IAsyncResult result;
1575protected virtual SecurityProtocolCorrelationState EndCloseOutputSession(IAsyncResult result)
1664protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
1669protected override void OnEndClose(IAsyncResult result)
1692IAsyncResult result = this.channel.channelBinder.BeginClose(timeoutHelper.RemainingTime(), closeChannelBinderCallback, this);
1718static void ChannelBinderCloseCallback(IAsyncResult result)
1768IAsyncResult result = SecurityUtils.BeginCloseTokenProviderIfRequired(this.channel.sessionTokenProvider, timeoutHelper.RemainingTime(), closeTokenProviderCallback, this);
1787static void CloseTokenProviderCallback(IAsyncResult result)
1838public static void End(IAsyncResult result)
1859IAsyncResult result = channel.ChannelBinder.BeginTryReceive(timeoutHelper.RemainingTime(), onReceive, this);
1871bool CompleteReceive(IAsyncResult result)
1903public static Message End(IAsyncResult result)
1909static void OnReceive(IAsyncResult result)
1951IAsyncResult result = SecurityUtils.BeginOpenTokenProviderIfRequired(this.sessionChannel.sessionTokenProvider, timeoutHelper.RemainingTime(), openTokenProviderCallback, this);
1964static void OpenTokenProviderCallback(IAsyncResult result)
1997IAsyncResult result = this.sessionChannel.sessionTokenProvider.BeginGetToken(timeoutHelper.RemainingTime(), getTokenCallback, this);
2016static void GetTokenCallback(IAsyncResult result)
2060public static void End(IAsyncResult result)
2085IAsyncResult result = this.sessionChannel.BeginCloseOutputSession(timeoutHelper.RemainingTime(), closeOutputSessionCallback, this);
2111static void CloseOutputSessionCallback(IAsyncResult result)
2161IAsyncResult result = this.sessionChannel.inputSessionClosedHandle.BeginWait(this.timeoutHelper.RemainingTime(), true, shutdownWaitCallback, this);
2186static void ShutdownWaitCallback(IAsyncResult result)
2223public static bool End(IAsyncResult result, out bool wasAborted)
2259IAsyncResult result = this.sessionChannel.BeginCloseSession(this.timeoutHelper.RemainingTime(), closeSessionCallback, this);
2281static void CloseSessionCallback(IAsyncResult result)
2335IAsyncResult result = this.sessionChannel.outputSessionCloseHandle.BeginWait(timeoutHelper.RemainingTime(), true, outputSessionClosedCallback, this);
2372static void OutputSessionClosedCallback(IAsyncResult result)
2436IAsyncResult result = this.sessionChannel.BeginCloseCore(timeoutHelper.RemainingTime(), closeCoreCallback, this);
2445static void CloseCoreCallback(IAsyncResult result)
2469public static void End(IAsyncResult result)
2516public static Message End(IAsyncResult result, out TimeSpan remainingTime)
2539IAsyncResult result = this.sessionChannel.BeginSecureOutgoingMessage(message, timeoutHelper.RemainingTime(), secureOutgoingMessageCallback, this);
2590static void SecureOutgoingMessageCallback(IAsyncResult result)
2649IAsyncResult result = this.ChannelBinder.BeginSend(this.Message, this.TimeoutHelper.RemainingTime(), sendCallback, this);
2667static void SendCallback(IAsyncResult result)
2704public static SecurityProtocolCorrelationState End(IAsyncResult result)
2865protected override IAsyncResult BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state)
2871protected override SecurityProtocolCorrelationState EndCloseOutputSession(IAsyncResult result)
2877IAsyncResult BeginBaseCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state)
2882SecurityProtocolCorrelationState EndBaseCloseOutputSession(IAsyncResult result)
2944public IAsyncResult BeginRequest(Message message, AsyncCallback callback, object state)
2949public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state)
2956public Message EndRequest(IAsyncResult result)
2985IAsyncResult result = this.ChannelBinder.BeginRequest(this.Message, this.TimeoutHelper.RemainingTime(), requestCallback, this);
2994static void RequestCallback(IAsyncResult result)
3019public static Message EndAsReply(IAsyncResult result, out SecurityProtocolCorrelationState correlationState, out TimeSpan remainingTime)
3041IAsyncResult result = this.requestChannel.BeginBaseCloseOutputSession(timeoutHelper.RemainingTime(), baseCloseOutputSessionCallback, this);
3054static void BaseCloseOutputSessionCallback(IAsyncResult result)
3087IAsyncResult result = this.requestChannel.BeginReceiveInternal(this.timeoutHelper.RemainingTime(), this.correlationState, receiveInternalCallback, this);
3096static void ReceiveInternalCallback(IAsyncResult result)
3140public static void End(IAsyncResult result)
3200public IAsyncResult BeginReceive(AsyncCallback callback, object state)
3205public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
3210public Message EndReceive(IAsyncResult result)
3215public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
3221public bool EndTryReceive(IAsyncResult result, out Message message)
3264public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state)
3269public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
3276public void EndSend(IAsyncResult result)
3288IAsyncResult result = this.IssueReceive();
3295IAsyncResult IssueReceive()
3328CompleteReceive((IAsyncResult)obj);
3331static void OnReceive(IAsyncResult result)
3339void CompleteReceive(IAsyncResult result)
3370IAsyncResult nextReceiveResult = null;
3421public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
3426public bool EndWaitForMessage(IAsyncResult result)
3523public IAsyncResult BeginCloseOutputSession(AsyncCallback callback, object state)
3528public IAsyncResult BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state)
3571public void EndCloseOutputSession(IAsyncResult result)
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (15)
455protected override IAsyncResult BeginGetTokenCore(TimeSpan timeout, AsyncCallback callback, object state)
461protected override SecurityToken EndGetTokenCore(IAsyncResult result)
472protected override IAsyncResult BeginRenewTokenCore(TimeSpan timeout, SecurityToken tokenToBeRenewed, AsyncCallback callback, object state)
478protected override SecurityToken EndRenewTokenCore(IAsyncResult result)
878IAsyncResult result = this.channel.BeginOpen(this.timeoutHelper.RemainingTime(), openChannelCallback, this);
887static void OpenChannelCallback(IAsyncResult result)
938IAsyncResult result = this.channel.BeginRequest(requestMessage, this.timeoutHelper.RemainingTime(), Fx.ThunkCallback(new AsyncCallback(this.RequestCallback)), wrapper);
958void RequestCallback(IAsyncResult result)
1018IAsyncResult result = this.channel.BeginClose(this.timeoutHelper.RemainingTime(), closeChannelCallback, this);
1027static void CloseChannelCallback(IAsyncResult result)
1069public static SecurityToken End(IAsyncResult result)
1096protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
1101protected override void OnEndOpen(IAsyncResult result)
1106protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
1111protected override void OnEndClose(IAsyncResult result)
System\ServiceModel\Security\SecuritySessionServerSettings.cs (103)
359public IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
364public IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
377public void OnEndClose(IAsyncResult result)
382public void OnEndOpen(IAsyncResult result)
417internal IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
422internal void EndClose(IAsyncResult result)
437internal IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
442internal void EndOpen(IAsyncResult result)
1001public IAsyncResult BeginReceive(TimeSpan timeout)
1006public void ProcessMessage(IAsyncResult result)
1091static void ReceiveCallback(IAsyncResult result)
1241protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
1247protected override void OnEndOpen(IAsyncResult result)
1318protected virtual IAsyncResult BeginCloseCore(TimeSpan timeout, AsyncCallback callback, object state)
1323protected virtual void EndCloseCore(IAsyncResult result)
1478public IAsyncResult BeginReceiveRequest(AsyncCallback callback, object state)
1483public IAsyncResult BeginReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state)
1488public RequestContext EndReceiveRequest(IAsyncResult result)
1501public IAsyncResult BeginTryReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state)
1506public bool EndTryReceiveRequest(IAsyncResult result, out RequestContext requestContext)
1607public IAsyncResult BeginReceive(AsyncCallback callback, object state)
1612public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
1617public Message EndReceive(IAsyncResult result)
1630public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
1635public bool EndTryReceive(IAsyncResult result, out Message message)
2020internal IAsyncResult BeginSendCloseResponse(RequestContext requestContext, Message closeResponse, TimeSpan timeout, AsyncCallback callback, object state)
2039internal void EndSendCloseResponse(IAsyncResult result)
2114internal IAsyncResult BeginSendClose(TimeSpan timeout, AsyncCallback callback, object state)
2133internal void EndSendClose(IAsyncResult result)
2168internal IAsyncResult BeginSendMessage(RequestContext requestContext, Message response, TimeSpan timeout, AsyncCallback callback, object state)
2173internal void EndSendMessage(IAsyncResult result)
2198IAsyncResult result = this.BeginSend(message);
2217IAsyncResult BeginSend(Message response)
2233void EndSend(IAsyncResult result)
2260static void SendCallback(IAsyncResult result)
2284public static void End(IAsyncResult result)
2296new public static void End(IAsyncResult result)
2321IAsyncResult result = this.channel.channelBinder.BeginClose(timeoutHelper.RemainingTime(), channelBinderCloseCallback, this);
2356static void ChannelBinderCloseCallback(IAsyncResult result)
2425IAsyncResult result = this.channel.settingsLifetimeManager.BeginClose(timeoutHelper.RemainingTime(), settingsLifetimeManagerCloseCallback, this);
2443static void SettingsLifetimeManagerCloseCallback(IAsyncResult result)
2484public static void End(IAsyncResult result)
2654IAsyncResult result = channel.ChannelBinder.BeginTryReceive(this.timeoutHelper.RemainingTime(), onReceive, this);
2662bool CompleteReceive(IAsyncResult result)
2757static ReceiveRequestAsyncResult End(IAsyncResult result)
2762public static bool EndAsMessage(IAsyncResult result, out Message message)
2786public static bool EndAsRequestContext(IAsyncResult result, out RequestContext requestContext)
2802static void OnReceive(IAsyncResult result)
2892protected override void EndCloseCore(IAsyncResult result)
3006protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
3014protected override void OnEndClose(IAsyncResult result)
3164IAsyncResult result = this.sessionChannel.BeginSendCloseResponse(closeRequestContext, closeResponse, timeoutHelper.RemainingTime(), sendCloseResponseCallback, this);
3209static void SendCloseResponseCallback(IAsyncResult result)
3268IAsyncResult result = this.sessionChannel.BeginTryReceive(this.timeoutHelper.RemainingTime(), receiveCallback, this);
3299static void ReceiveCallback(IAsyncResult result)
3368IAsyncResult result = this.sessionChannel.inputSessionClosedHandle.BeginWait(this.timeoutHelper.RemainingTime(), true, waitCallback, this);
3393static void WaitForInputSessionCloseCallback(IAsyncResult result)
3449IAsyncResult result = this.sessionChannel.BeginCloseCore(this.timeoutHelper.RemainingTime(), closeCoreCallback, this);
3463static void CloseCoreCallback(IAsyncResult result)
3487public static void End(IAsyncResult result)
3518public IAsyncResult BeginWaitForRequest(TimeSpan timeout, AsyncCallback callback, object state)
3523public bool EndWaitForRequest(IAsyncResult result)
3563protected override IAsyncResult OnBeginReply(Message message, TimeSpan timeout, AsyncCallback callback, object state)
3573protected override void OnEndReply(IAsyncResult result)
3638public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state)
3643public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
3651public void EndSend(IAsyncResult result)
3703protected override void EndCloseCore(IAsyncResult result)
3723protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
3728protected override void OnEndClose(IAsyncResult result)
4005IAsyncResult BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state)
4010void EndCloseOutputSession(IAsyncResult result)
4020public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
4025public bool EndWaitForMessage(IAsyncResult result)
4054IAsyncResult result = this.BeginSend(sendCallback, this);
4072static void SendCallback(IAsyncResult result)
4097IAsyncResult BeginSend(AsyncCallback callback, object state)
4109void EndSend(IAsyncResult result)
4134public static void End(IAsyncResult result)
4159IAsyncResult result = this.sessionChannel.BeginCloseOutputSession(timeoutHelper.RemainingTime(), closeOutputSessionCallback, this);
4178static void CloseOutputSessionCallback(IAsyncResult result)
4232IAsyncResult result = this.sessionChannel.BeginTryReceive(this.timeoutHelper.RemainingTime(), receiveCallback, this);
4262static void ReceiveCallback(IAsyncResult result)
4332IAsyncResult result = this.sessionChannel.inputSessionCloseHandle.BeginWait(this.timeoutHelper.RemainingTime(), inputSessionWaitCallback, this);
4362static void WaitForInputSessionCloseCallback(IAsyncResult result)
4432IAsyncResult result = this.sessionChannel.outputSessionCloseHandle.BeginWait(timeoutHelper.RemainingTime(), true, outputSessionWaitCallback, this);
4464static void WaitForOutputSessionCloseCallback(IAsyncResult result)
4521IAsyncResult result = this.sessionChannel.BeginCloseCore(this.timeoutHelper.RemainingTime(), closeCoreCallback, this);
4535static void CloseCoreCallback(IAsyncResult result)
4559public static void End(IAsyncResult result)
4612public IAsyncResult BeginCloseOutputSession(AsyncCallback callback, object state)
4617public IAsyncResult BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state)
4650public void EndCloseOutputSession(IAsyncResult result)
4718IAsyncResult BeginHandleDemuxFailure<TFaultContext>(Message message, TFaultContext faultContext, AsyncCallback callback, object state)
4725public IAsyncResult BeginHandleDemuxFailure(Message message, RequestContext faultContext, AsyncCallback callback, object state)
4730public IAsyncResult BeginHandleDemuxFailure(Message message, IOutputChannel faultContext, AsyncCallback callback, object state)
4735public void EndHandleDemuxFailure(IAsyncResult result)
4762IAsyncResult result = BeginSend(fault);
4771IAsyncResult BeginSend(Message message)
4776IAsyncResult result = null;
4797void EndSend(IAsyncResult result)
4812static void SendCallback(IAsyncResult result)
4837internal static void End(IAsyncResult result)
System\ServiceModel\Security\SecurityUtils.cs (15)
1524internal static IAsyncResult BeginOpenTokenProviderIfRequired(SecurityTokenProvider tokenProvider, TimeSpan timeout,
1530internal static void EndOpenTokenProviderIfRequired(IAsyncResult result)
1535internal static IAsyncResult BeginCloseTokenProviderIfRequired(SecurityTokenProvider tokenProvider, TimeSpan timeout,
1541internal static void EndCloseTokenProviderIfRequired(IAsyncResult result)
1576internal static IAsyncResult BeginOpenTokenAuthenticatorIfRequired(SecurityTokenAuthenticator tokenAuthenticator, TimeSpan timeout,
1582internal static void EndOpenTokenAuthenticatorIfRequired(IAsyncResult result)
1587internal static IAsyncResult BeginCloseTokenAuthenticatorIfRequired(SecurityTokenAuthenticator tokenAuthenticator, TimeSpan timeout,
1593internal static void EndCloseTokenAuthenticatorIfRequired(IAsyncResult result)
1661IAsyncResult result = this.communicationObject.BeginOpen(timeout, onOpen, this);
1675public static void End(IAsyncResult result)
1680static void OnOpen(IAsyncResult result)
1736IAsyncResult result = this.communicationObject.BeginClose(timeout, onClose, this);
1750public static void End(IAsyncResult result)
1755static void OnClose(IAsyncResult result)
2471public static void End(IAsyncResult result)
System\ServiceModel\Security\Tokens\IssuedSecurityTokenProvider.cs (12)
299public IAsyncResult BeginClose(AsyncCallback callback, object state)
304public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
309public void EndClose(IAsyncResult result)
336public IAsyncResult BeginOpen(AsyncCallback callback, object state)
342public IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
348public void EndOpen(IAsyncResult result)
360protected override IAsyncResult BeginGetTokenCore(TimeSpan timeout, AsyncCallback callback, object state)
370protected override SecurityToken EndGetTokenCore(IAsyncResult result)
762protected override IAsyncResult BeginInitializeChannelFactories(EndpointAddress target, TimeSpan timeout, AsyncCallback callback, object state)
774protected override void EndInitializeChannelFactories(IAsyncResult result)
827protected override IAsyncResult BeginCreateNegotiationState(EndpointAddress target, Uri via, TimeSpan timeout, AsyncCallback callback, object state)
832protected override FederatedTokenProviderState EndCreateNegotiationState(IAsyncResult result)
System\ServiceModel\Security\TransportSecurityProtocol.cs (7)
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)
125protected virtual Message EndSecureOutgoingMessageAtInitiatorCore(IAsyncResult result)
137public override void EndSecureOutgoingMessage(IAsyncResult result, out Message message)
143public override void EndSecureOutgoingMessage(IAsyncResult result, out Message message, out SecurityProtocolCorrelationState newCorrelationState)
294internal static Message End(IAsyncResult result)
System\ServiceModel\Security\WrapperSecurityCommunicationObject.cs (24)
46protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
51protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
73protected override void OnEndClose(IAsyncResult result)
78protected override void OnEndOpen(IAsyncResult result)
200public IAsyncResult BeginClose(AsyncCallback callback, object state)
205public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
210public void EndClose(IAsyncResult result)
225public IAsyncResult BeginOpen(AsyncCallback callback, object state)
230public IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
235public void EndOpen(IAsyncResult result)
250public IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
255public IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
273public void OnEndClose(IAsyncResult result)
278public void OnEndOpen(IAsyncResult result)
377public IAsyncResult BeginClose(AsyncCallback callback, object state)
382public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
387public void EndClose(IAsyncResult result)
402public IAsyncResult BeginOpen(AsyncCallback callback, object state)
407public IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
412public void EndOpen(IAsyncResult result)
427public IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
432public IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
450public void OnEndClose(IAsyncResult result)
455public void OnEndOpen(IAsyncResult result)
System\ServiceModel\Security\WSTrustChannel.cs (45)
97public new static Message End(IAsyncResult iar)
110void OnOperationCompleted(IAsyncResult iar)
127Message EndOperation(IAsyncResult iar)
757/// <returns>The <see cref="IAsyncResult" /> that references the asynchronous close operation.</returns>
758public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
774/// <returns>The <see cref="IAsyncResult" /> that references the asynchronous close operation.</returns>
775public IAsyncResult BeginClose(AsyncCallback callback, object state)
794/// <returns>The <see cref="IAsyncResult" /> that references the asynchronous open operation.</returns>
795public IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
811/// <returns>The <see cref="IAsyncResult" /> that references the asynchronous open operation.</returns>
812public IAsyncResult BeginOpen(AsyncCallback callback, object state)
869/// <param name="result">The <see cref="IAsyncResult" /> that is returned by a call to the BeginClose() method.</param>
870public void EndClose(IAsyncResult result)
878/// <param name="result">The <see cref="IAsyncResult" /> that is returned by a call to the BeginClose() method.</param>
879public void EndOpen(IAsyncResult result)
1020IAsyncResult BeginOperation(WSTrustChannel.WSTrustChannelAsyncResult.Operations operation,
1037System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse EndOperation(IAsyncResult result, out WSTrustChannelAsyncResult tcar)
1064/// <returns>An <see cref="IAsyncResult" /> object that represents the asynchronous send, which could still
1066public IAsyncResult BeginCancel(System.IdentityModel.Protocols.WSTrust.RequestSecurityToken rst, AsyncCallback callback, object state)
1077public void EndCancel(IAsyncResult result, out System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse rstr)
1090/// <returns>An <see cref="IAsyncResult" /> object that represents the asynchronous send, which could still
1092public IAsyncResult BeginIssue(System.IdentityModel.Protocols.WSTrust.RequestSecurityToken rst, AsyncCallback callback, object asyncState)
1104public SecurityToken EndIssue(IAsyncResult result, out System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse rstr)
1119/// <returns>An <see cref="IAsyncResult" /> object that represents the asynchronous send, which could still
1121public IAsyncResult BeginRenew(System.IdentityModel.Protocols.WSTrust.RequestSecurityToken rst, AsyncCallback callback, object state)
1132public void EndRenew(IAsyncResult result, out System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse rstr)
1145/// <returns>An <see cref="IAsyncResult" /> object that represents the asynchronous send, which could still
1147public IAsyncResult BeginValidate(System.IdentityModel.Protocols.WSTrust.RequestSecurityToken rst, AsyncCallback callback, object state)
1158public void EndValidate(IAsyncResult result, out System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse rstr)
1190/// <returns>The <see cref="IAsyncResult" /> that references the asynchronous close operation.</returns>
1191public IAsyncResult BeginCancel(Message message, AsyncCallback callback, object asyncState)
1199/// <param name="asyncResult">The <see cref="IAsyncResult" /> that is returned by a call to the BeginClose() method.</param>
1201public Message EndCancel(IAsyncResult asyncResult)
1228/// <returns>The <see cref="IAsyncResult" /> that references the asynchronous issue operation.</returns>
1229public IAsyncResult BeginIssue(Message message, AsyncCallback callback, object asyncState)
1237/// <param name="asyncResult">The <see cref="IAsyncResult" /> that is returned by a call to the BeginIssue() method.</param>
1239public Message EndIssue(IAsyncResult asyncResult)
1266/// <returns>The <see cref="IAsyncResult" /> that references the asynchronous renew operation.</returns>
1267public IAsyncResult BeginRenew(Message message, AsyncCallback callback, object asyncState)
1275/// <param name="asyncResult">The <see cref="IAsyncResult" /> that is returned by a call to the BeginRenew() method.</param>
1277public Message EndRenew(IAsyncResult asyncResult)
1304/// <returns>The <see cref="IAsyncResult" /> that references the asynchronous validate operation.</returns>
1305public IAsyncResult BeginValidate(Message message, AsyncCallback callback, object asyncState)
1313/// <param name="asyncResult">The <see cref="IAsyncResult" /> that is returned by a call to the BeginValidate() method.</param>
1315public Message EndValidate(IAsyncResult asyncResult)
System\ServiceModel\Security\WSTrustServiceContract.cs (46)
191/// <returns><see cref="IAsyncResult"/> that represents the asynchronous operation. Used as the input
193protected virtual IAsyncResult BeginDispatchRequest(DispatchContext dispatchContext, AsyncCallback asyncCallback, object asyncState)
201/// <param name="ar"><see cref="IAsyncResult"/> that was returned by the
205protected virtual DispatchContext EndDispatchRequest(IAsyncResult ar)
524protected virtual IAsyncResult BeginProcessCore(Message requestMessage, WSTrustRequestSerializer requestSerializer, WSTrustResponseSerializer responseSerializer, string requestAction, string responseAction, string trustNamespace, AsyncCallback callback, object state)
556IAsyncResult result = null;
611protected virtual Message EndProcessCore(IAsyncResult ar, string requestAction, string responseAction, string trustNamespace)
921public IAsyncResult BeginTrust13Cancel(Message request, AsyncCallback callback, object state)
931public Message EndTrust13Cancel(IAsyncResult ar)
943public IAsyncResult BeginTrust13Issue(Message request, AsyncCallback callback, object state)
953public Message EndTrust13Issue(IAsyncResult ar)
965public IAsyncResult BeginTrust13Renew(Message request, AsyncCallback callback, object state)
975public Message EndTrust13Renew(IAsyncResult ar)
987public IAsyncResult BeginTrust13Validate(Message request, AsyncCallback callback, object state)
997public Message EndTrust13Validate(IAsyncResult ar)
1009public IAsyncResult BeginTrust13CancelResponse(Message request, AsyncCallback callback, object state)
1026public Message EndTrust13CancelResponse(IAsyncResult ar)
1041public IAsyncResult BeginTrust13IssueResponse(Message request, AsyncCallback callback, object state)
1058public Message EndTrust13IssueResponse(IAsyncResult ar)
1073public IAsyncResult BeginTrust13RenewResponse(Message request, AsyncCallback callback, object state)
1090public Message EndTrust13RenewResponse(IAsyncResult ar)
1105public IAsyncResult BeginTrust13ValidateResponse(Message request, AsyncCallback callback, object state)
1122public Message EndTrust13ValidateResponse(IAsyncResult ar)
1137public IAsyncResult BeginTrustFeb2005Cancel(Message request, AsyncCallback callback, object state)
1147public Message EndTrustFeb2005Cancel(IAsyncResult ar)
1159public IAsyncResult BeginTrustFeb2005Issue(Message request, AsyncCallback callback, object state)
1169public Message EndTrustFeb2005Issue(IAsyncResult ar)
1181public IAsyncResult BeginTrustFeb2005Renew(Message request, AsyncCallback callback, object state)
1191public Message EndTrustFeb2005Renew(IAsyncResult ar)
1203public IAsyncResult BeginTrustFeb2005Validate(Message request, AsyncCallback callback, object state)
1213public Message EndTrustFeb2005Validate(IAsyncResult ar)
1225public IAsyncResult BeginTrustFeb2005CancelResponse(Message request, AsyncCallback callback, object state)
1242public Message EndTrustFeb2005CancelResponse(IAsyncResult ar)
1257public IAsyncResult BeginTrustFeb2005IssueResponse(Message request, AsyncCallback callback, object state)
1274public Message EndTrustFeb2005IssueResponse(IAsyncResult ar)
1289public IAsyncResult BeginTrustFeb2005RenewResponse(Message request, AsyncCallback callback, object state)
1306public Message EndTrustFeb2005RenewResponse(IAsyncResult ar)
1321public IAsyncResult BeginTrustFeb2005ValidateResponse(Message request, AsyncCallback callback, object state)
1338public Message EndTrustFeb2005ValidateResponse(IAsyncResult ar)
1425public new static Message End(IAsyncResult ar)
1448private void OnDispatchRequestCompleted(IAsyncResult ar)
1513public new static DispatchContext End(IAsyncResult ar)
1525void OnCancelComplete(IAsyncResult ar)
1541void OnIssueComplete(IAsyncResult ar)
1557void OnRenewComplete(IAsyncResult ar)
1573void OnValidateComplete(IAsyncResult ar)
System\ServiceModel\ServiceHost.cs (26)
562internal virtual IAsyncResult BeginAfterInitializeRuntime(TimeSpan timeout, AsyncCallback callback, object state)
567internal virtual void EndAfterInitializeRuntime(IAsyncResult result)
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)
951protected override void OnEndClose(IAsyncResult result)
974protected override void OnEndOpen(IAsyncResult result)
979void EndOpenChannelDispatchers(IAsyncResult result)
1264IAsyncResult result = this.host.BeginAfterInitializeRuntime(
1270static bool HandleEndAfterInitializeRuntime(IAsyncResult result)
1280IAsyncResult result = this.host.BeginOpenChannelDispatchers(
1286static bool HandleEndOpenChannelDispatchers(IAsyncResult result)
1294public static void End(IAsyncResult result)
1333IAsyncResult result = null;
1357void CloseListenersCallback(IAsyncResult result)
1365void FinishCloseListeners(IAsyncResult result, bool completedSynchronously)
1396IAsyncResult result = null;
1432void CloseInputCallback(IAsyncResult result)
1440void FinishCloseInput(IAsyncResult result, bool completedSynchronously)
1472IAsyncResult result = null;
1497void CloseInstancesCallback(IAsyncResult result)
1505void FinishCloseInstances(IAsyncResult result, bool completedSynchronously)
1537IAsyncResult result = null;
1561void CloseChannelDispatchersCallback(IAsyncResult result)
1569void FinishCloseChannelDispatchers(IAsyncResult result, bool completedSynchronously)
1593public static void End(IAsyncResult result)
System\ServiceModel\Discovery\AnnouncementClient.cs (10)
370public IAsyncResult BeginAnnounceOnline(EndpointDiscoveryMetadata discoveryMetadata, AsyncCallback callback, object state)
385public void EndAnnounceOnline(IAsyncResult result)
404public IAsyncResult BeginAnnounceOffline(EndpointDiscoveryMetadata discoveryMetadata, AsyncCallback callback, object state)
419public void EndAnnounceOffline(IAsyncResult result)
446IAsyncResult ICommunicationObject.BeginOpen(AsyncCallback callback, object state)
452IAsyncResult ICommunicationObject.BeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
458void ICommunicationObject.EndOpen(IAsyncResult result)
478IAsyncResult ICommunicationObject.BeginClose(AsyncCallback callback, object state)
484IAsyncResult ICommunicationObject.BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
490void ICommunicationObject.EndClose(IAsyncResult result)
System\ServiceModel\Discovery\AnnouncementService.cs (20)
52IAsyncResult IAnnouncementContractApril2005.BeginHelloOperation(HelloMessageApril2005 message, AsyncCallback callback, object state)
57void IAnnouncementContractApril2005.EndHelloOperation(IAsyncResult result)
67IAsyncResult IAnnouncementContractApril2005.BeginByeOperation(ByeMessageApril2005 message, AsyncCallback callback, object state)
72void IAnnouncementContractApril2005.EndByeOperation(IAsyncResult result)
82IAsyncResult IAnnouncementContract11.BeginHelloOperation(HelloMessage11 message, AsyncCallback callback, object state)
87void IAnnouncementContract11.EndHelloOperation(IAsyncResult result)
97IAsyncResult IAnnouncementContract11.BeginByeOperation(ByeMessage11 message, AsyncCallback callback, object state)
102void IAnnouncementContract11.EndByeOperation(IAsyncResult result)
112IAsyncResult IAnnouncementContractCD1.BeginHelloOperation(HelloMessageCD1 message, AsyncCallback callback, object state)
117void IAnnouncementContractCD1.EndHelloOperation(IAsyncResult result)
127IAsyncResult IAnnouncementContractCD1.BeginByeOperation(ByeMessageCD1 message, AsyncCallback callback, object state)
132void IAnnouncementContractCD1.EndByeOperation(IAsyncResult result)
142IAsyncResult IAnnouncementServiceImplementation.OnBeginOnlineAnnouncement(
151void IAnnouncementServiceImplementation.OnEndOnlineAnnouncement(IAsyncResult result)
156IAsyncResult IAnnouncementServiceImplementation.OnBeginOfflineAnnouncement(
165void IAnnouncementServiceImplementation.OnEndOfflineAnnouncement(IAsyncResult result)
170protected virtual IAsyncResult OnBeginOnlineAnnouncement(
185protected virtual void OnEndOnlineAnnouncement(IAsyncResult result)
190protected virtual IAsyncResult OnBeginOfflineAnnouncement(
206protected virtual void OnEndOfflineAnnouncement(IAsyncResult result)
System\ServiceModel\Discovery\DiscoveryClient.cs (17)
262IAsyncResult ICommunicationObject.BeginOpen(AsyncCallback callback, object state)
269IAsyncResult ICommunicationObject.BeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
276void ICommunicationObject.EndOpen(IAsyncResult result)
335IAsyncResult ICommunicationObject.BeginClose(AsyncCallback callback, object state)
342IAsyncResult ICommunicationObject.BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
356void ICommunicationObject.EndClose(IAsyncResult result)
840IAsyncResult result = InnerClient.BeginProbeOperation(criteria, this.probeOperationCallbackDelegate, context);
885IAsyncResult result = InnerClient.BeginResolveOperation(criteria, this.resolveOperationCallbackDelegate, context);
927void ProbeOperationCompletedCallback(IAsyncResult result)
943void CompleteProbeOperation(IAsyncResult result)
1018void ResolveOperationCompletedCallback(IAsyncResult result)
1034void CompleteResolveOperation(IAsyncResult result)
1211IAsyncResult result = this.client.asyncOperationsLifetimeManager.BeginClose(
1222internal static void End(IAsyncResult result)
1227static bool OnAsyncLifetimeManagerCloseCompleted(IAsyncResult result)
1249IAsyncResult closeAsyncResult = thisPtr.client.InnerCommunicationObject.BeginClose(
1264static bool OnInnerCommunicationObjectCloseCompleted(IAsyncResult result)
System\ServiceModel\Discovery\DiscoveryClientDuplexChannel.cs (8)
35public override IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
47public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
52public IAsyncResult BeginReceive(AsyncCallback callback, object state)
57public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
62public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
67public Message EndReceive(IAsyncResult result)
72public bool EndTryReceive(IAsyncResult result, out Message message)
77public bool EndWaitForMessage(IAsyncResult result)
System\ServiceModel\Discovery\DiscoveryProxy.cs (56)
71IAsyncResult IAnnouncementContractApril2005.BeginHelloOperation(HelloMessageApril2005 message, AsyncCallback callback, object state)
76void IAnnouncementContractApril2005.EndHelloOperation(IAsyncResult result)
86IAsyncResult IAnnouncementContractApril2005.BeginByeOperation(ByeMessageApril2005 message, AsyncCallback callback, object state)
91void IAnnouncementContractApril2005.EndByeOperation(IAsyncResult result)
101IAsyncResult IAnnouncementContract11.BeginHelloOperation(HelloMessage11 message, AsyncCallback callback, object state)
106void IAnnouncementContract11.EndHelloOperation(IAsyncResult result)
116IAsyncResult IAnnouncementContract11.BeginByeOperation(ByeMessage11 message, AsyncCallback callback, object state)
121void IAnnouncementContract11.EndByeOperation(IAsyncResult result)
131IAsyncResult IAnnouncementContractCD1.BeginHelloOperation(HelloMessageCD1 message, AsyncCallback callback, object state)
136void IAnnouncementContractCD1.EndHelloOperation(IAsyncResult result)
146IAsyncResult IAnnouncementContractCD1.BeginByeOperation(ByeMessageCD1 message, AsyncCallback callback, object state)
151void IAnnouncementContractCD1.EndByeOperation(IAsyncResult result)
161IAsyncResult IDiscoveryContractApril2005.BeginProbeOperation(ProbeMessageApril2005 request, AsyncCallback callback, object state)
166void IDiscoveryContractApril2005.EndProbeOperation(IAsyncResult result)
176IAsyncResult IDiscoveryContractApril2005.BeginResolveOperation(ResolveMessageApril2005 request, AsyncCallback callback, object state)
181void IDiscoveryContractApril2005.EndResolveOperation(IAsyncResult result)
191IAsyncResult IDiscoveryContractAdhoc11.BeginProbeOperation(ProbeMessage11 request, AsyncCallback callback, object state)
196void IDiscoveryContractAdhoc11.EndProbeOperation(IAsyncResult result)
206IAsyncResult IDiscoveryContractAdhoc11.BeginResolveOperation(ResolveMessage11 request, AsyncCallback callback, object state)
211void IDiscoveryContractAdhoc11.EndResolveOperation(IAsyncResult result)
222IAsyncResult IDiscoveryContractManaged11.BeginProbeOperation(ProbeMessage11 request, AsyncCallback callback, object state)
227ProbeMatchesMessage11 IDiscoveryContractManaged11.EndProbeOperation(IAsyncResult result)
238IAsyncResult IDiscoveryContractManaged11.BeginResolveOperation(ResolveMessage11 request, AsyncCallback callback, object state)
243ResolveMatchesMessage11 IDiscoveryContractManaged11.EndResolveOperation(IAsyncResult result)
253IAsyncResult IDiscoveryContractAdhocCD1.BeginProbeOperation(ProbeMessageCD1 request, AsyncCallback callback, object state)
258void IDiscoveryContractAdhocCD1.EndProbeOperation(IAsyncResult result)
268IAsyncResult IDiscoveryContractAdhocCD1.BeginResolveOperation(ResolveMessageCD1 request, AsyncCallback callback, object state)
273void IDiscoveryContractAdhocCD1.EndResolveOperation(IAsyncResult result)
284IAsyncResult IDiscoveryContractManagedCD1.BeginProbeOperation(ProbeMessageCD1 request, AsyncCallback callback, object state)
289ProbeMatchesMessageCD1 IDiscoveryContractManagedCD1.EndProbeOperation(IAsyncResult result)
300IAsyncResult IDiscoveryContractManagedCD1.BeginResolveOperation(ResolveMessageCD1 request, AsyncCallback callback, object state)
305ResolveMatchesMessageCD1 IDiscoveryContractManagedCD1.EndResolveOperation(IAsyncResult result)
315IAsyncResult IAnnouncementServiceImplementation.OnBeginOnlineAnnouncement(
324void IAnnouncementServiceImplementation.OnEndOnlineAnnouncement(IAsyncResult result)
329IAsyncResult IAnnouncementServiceImplementation.OnBeginOfflineAnnouncement(
338void IAnnouncementServiceImplementation.OnEndOfflineAnnouncement(IAsyncResult result)
353IAsyncResult IDiscoveryServiceImplementation.BeginFind(FindRequestContext findRequestContext, AsyncCallback callback, object state)
358void IDiscoveryServiceImplementation.EndFind(IAsyncResult result)
363IAsyncResult IDiscoveryServiceImplementation.BeginResolve(ResolveCriteria resolveCriteria, AsyncCallback callback, object state)
368EndpointDiscoveryMetadata IDiscoveryServiceImplementation.EndResolve(IAsyncResult result)
373IAsyncResult IMulticastSuppressionImplementation.BeginShouldRedirectFind(FindCriteria findCriteria, AsyncCallback callback, object state)
378bool IMulticastSuppressionImplementation.EndShouldRedirectFind(IAsyncResult result, out Collection<EndpointDiscoveryMetadata> redirectionEndpoints)
383IAsyncResult IMulticastSuppressionImplementation.BeginShouldRedirectResolve(ResolveCriteria resolveCriteria, AsyncCallback callback, object state)
388bool IMulticastSuppressionImplementation.EndShouldRedirectResolve(IAsyncResult result, out Collection<EndpointDiscoveryMetadata> redirectionEndpoints)
393protected virtual IAsyncResult BeginShouldRedirectFind(FindCriteria resolveCriteria, AsyncCallback callback, object state)
399protected virtual bool EndShouldRedirectFind(IAsyncResult result, out Collection<EndpointDiscoveryMetadata> redirectionEndpoints)
405protected virtual IAsyncResult BeginShouldRedirectResolve(ResolveCriteria findCriteria, AsyncCallback callback, object state)
411protected virtual bool EndShouldRedirectResolve(IAsyncResult result, out Collection<EndpointDiscoveryMetadata> redirectionEndpoints)
418protected abstract IAsyncResult OnBeginOnlineAnnouncement(
423protected abstract void OnEndOnlineAnnouncement(IAsyncResult result);
425protected abstract IAsyncResult OnBeginOfflineAnnouncement(
430protected abstract void OnEndOfflineAnnouncement(IAsyncResult result);
432protected abstract IAsyncResult OnBeginFind(FindRequestContext findRequestContext, AsyncCallback callback, object state);
433protected abstract void OnEndFind(IAsyncResult result);
435protected abstract IAsyncResult OnBeginResolve(ResolveCriteria resolveCriteria, AsyncCallback callback, object state);
436protected abstract EndpointDiscoveryMetadata OnEndResolve(IAsyncResult result);
System\ServiceModel\Discovery\DiscoveryService.cs (28)
75IAsyncResult IDiscoveryContractApril2005.BeginProbeOperation(ProbeMessageApril2005 request, AsyncCallback callback, object state)
80void IDiscoveryContractApril2005.EndProbeOperation(IAsyncResult result)
90IAsyncResult IDiscoveryContractApril2005.BeginResolveOperation(ResolveMessageApril2005 request, AsyncCallback callback, object state)
95void IDiscoveryContractApril2005.EndResolveOperation(IAsyncResult result)
105IAsyncResult IDiscoveryContractAdhoc11.BeginProbeOperation(ProbeMessage11 request, AsyncCallback callback, object state)
110void IDiscoveryContractAdhoc11.EndProbeOperation(IAsyncResult result)
120IAsyncResult IDiscoveryContractAdhoc11.BeginResolveOperation(ResolveMessage11 request, AsyncCallback callback, object state)
125void IDiscoveryContractAdhoc11.EndResolveOperation(IAsyncResult result)
136IAsyncResult IDiscoveryContractManaged11.BeginProbeOperation(ProbeMessage11 request, AsyncCallback callback, object state)
141ProbeMatchesMessage11 IDiscoveryContractManaged11.EndProbeOperation(IAsyncResult result)
153IAsyncResult IDiscoveryContractManaged11.BeginResolveOperation(ResolveMessage11 request, AsyncCallback callback, object state)
158ResolveMatchesMessage11 IDiscoveryContractManaged11.EndResolveOperation(IAsyncResult result)
168IAsyncResult IDiscoveryContractAdhocCD1.BeginProbeOperation(ProbeMessageCD1 request, AsyncCallback callback, object state)
173void IDiscoveryContractAdhocCD1.EndProbeOperation(IAsyncResult result)
183IAsyncResult IDiscoveryContractAdhocCD1.BeginResolveOperation(ResolveMessageCD1 request, AsyncCallback callback, object state)
188void IDiscoveryContractAdhocCD1.EndResolveOperation(IAsyncResult result)
199IAsyncResult IDiscoveryContractManagedCD1.BeginProbeOperation(ProbeMessageCD1 request, AsyncCallback callback, object state)
204ProbeMatchesMessageCD1 IDiscoveryContractManagedCD1.EndProbeOperation(IAsyncResult result)
215IAsyncResult IDiscoveryContractManagedCD1.BeginResolveOperation(ResolveMessageCD1 request, AsyncCallback callback, object state)
220ResolveMatchesMessageCD1 IDiscoveryContractManagedCD1.EndResolveOperation(IAsyncResult result)
235IAsyncResult IDiscoveryServiceImplementation.BeginFind(FindRequestContext findRequestContext, AsyncCallback callback, object state)
240void IDiscoveryServiceImplementation.EndFind(IAsyncResult result)
245IAsyncResult IDiscoveryServiceImplementation.BeginResolve(ResolveCriteria resolveCriteria, AsyncCallback callback, object state)
250EndpointDiscoveryMetadata IDiscoveryServiceImplementation.EndResolve(IAsyncResult result)
293protected abstract IAsyncResult OnBeginFind(FindRequestContext findRequestContext, AsyncCallback callback, object state);
294protected abstract void OnEndFind(IAsyncResult result);
296protected abstract IAsyncResult OnBeginResolve(ResolveCriteria resolveCriteria, AsyncCallback callback, object state);
297protected abstract EndpointDiscoveryMetadata OnEndResolve(IAsyncResult result);
System\ServiceModel\Discovery\OfflineAnnouncementChannelDispatcher.cs (10)
63protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
68protected override void OnEndClose(IAsyncResult result)
78protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
83protected override void OnEndOpen(IAsyncResult result)
151protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
166protected override void OnEndClose(IAsyncResult result)
171protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
176protected override void OnEndOpen(IAsyncResult result)
185public IAsyncResult BeginWaitForChannel(TimeSpan timeout, AsyncCallback callback, object state)
190public bool EndWaitForChannel(IAsyncResult result)
System\ServiceModel\Discovery\Version11\AnnouncementInnerClient11.cs (10)
114public IAsyncResult BeginHelloOperation(EndpointDiscoveryMetadata endpointDiscoveryMetadata, AsyncCallback callback, object state)
120public void EndHelloOperation(IAsyncResult result)
125public IAsyncResult BeginByeOperation(EndpointDiscoveryMetadata endpointDiscoveryMetadata, AsyncCallback callback, object state)
131public void EndByeOperation(IAsyncResult result)
184IAsyncResult BeginHelloOperation(HelloMessage11 message, AsyncCallback callback, object state)
189IAsyncResult BeginByeOperation(ByeMessage11 message, AsyncCallback callback, object state)
195IAsyncResult OnBeginHelloOperation(object[] inValues, System.AsyncCallback callback, object asyncState)
201object[] OnEndHelloOperation(System.IAsyncResult result)
216IAsyncResult OnBeginByeOperation(object[] inValues, System.AsyncCallback callback, object asyncState)
222object[] OnEndByeOperation(System.IAsyncResult result)
System\ServiceModel\Discovery\Version11\DiscoveryInnerClientAdhoc11.cs (14)
78public IAsyncResult BeginProbeOperation(FindCriteria findCriteria, AsyncCallback callback, object state)
85public IAsyncResult BeginResolveOperation(ResolveCriteria resolveCriteria, AsyncCallback callback, object state)
92public void EndProbeOperation(IAsyncResult result)
97public void EndResolveOperation(IAsyncResult result)
116public IAsyncResult BeginProbeMatchOperation(ProbeMatchesMessage11 response, AsyncCallback callback, object state)
140public void EndProbeMatchOperation(IAsyncResult result)
145public IAsyncResult BeginResolveMatchOperation(ResolveMatchesMessage11 response, AsyncCallback callback, object state)
168public void EndResolveMatchOperation(IAsyncResult result)
173public IAsyncResult BeginHelloOperation(HelloMessage11 message, AsyncCallback callback, object state)
196public void EndHelloOperation(IAsyncResult result)
218public IAsyncResult BeginProbeOperation(ProbeMessage11 request, AsyncCallback callback, object state)
223public IAsyncResult BeginResolveOperation(ResolveMessage11 request, AsyncCallback callback, object state)
228public void EndProbeOperation(IAsyncResult result)
233public void EndResolveOperation(IAsyncResult result)
System\ServiceModel\Discovery\VersionApril2005\AnnouncementInnerClientApril2005.cs (10)
115public IAsyncResult BeginHelloOperation(EndpointDiscoveryMetadata endpointDiscoveryMetadata, AsyncCallback callback, object state)
121IAsyncResult BeginHelloOperation(HelloMessageApril2005 message, AsyncCallback callback, object state)
126public void EndHelloOperation(IAsyncResult result)
131public IAsyncResult BeginByeOperation(EndpointDiscoveryMetadata endpointDiscoveryMetadata, AsyncCallback callback, object state)
137IAsyncResult BeginByeOperation(ByeMessageApril2005 message, AsyncCallback callback, object state)
142public void EndByeOperation(IAsyncResult result)
147IAsyncResult OnBeginHelloOperation(object[] inValues, System.AsyncCallback callback, object asyncState)
153object[] OnEndHelloOperation(System.IAsyncResult result)
192IAsyncResult OnBeginByeOperation(object[] inValues, System.AsyncCallback callback, object asyncState)
198object[] OnEndByeOperation(System.IAsyncResult result)
System\ServiceModel\Discovery\VersionApril2005\DiscoveryInnerClientApril2005.cs (14)
79public IAsyncResult BeginProbeOperation(FindCriteria findCriteria, AsyncCallback callback, object state)
86public IAsyncResult BeginResolveOperation(ResolveCriteria resolveCriteria, AsyncCallback callback, object state)
93public void EndProbeOperation(IAsyncResult result)
98public void EndResolveOperation(IAsyncResult result)
117public IAsyncResult BeginProbeMatchOperation(ProbeMatchesMessageApril2005 response, AsyncCallback callback, object state)
131public void EndProbeMatchOperation(IAsyncResult result)
136public IAsyncResult BeginResolveMatchOperation(ResolveMatchesMessageApril2005 response, AsyncCallback callback, object state)
149public void EndResolveMatchOperation(IAsyncResult result)
154public IAsyncResult BeginHelloOperation(HelloMessageApril2005 message, AsyncCallback callback, object state)
176public void EndHelloOperation(IAsyncResult result)
198public IAsyncResult BeginProbeOperation(ProbeMessageApril2005 request, AsyncCallback callback, object state)
203public IAsyncResult BeginResolveOperation(ResolveMessageApril2005 request, AsyncCallback callback, object state)
208public void EndProbeOperation(IAsyncResult result)
213public void EndResolveOperation(IAsyncResult result)
System\ServiceModel\Discovery\VersionCD1\AnnouncementInnerClientCD1.cs (10)
114public IAsyncResult BeginHelloOperation(EndpointDiscoveryMetadata endpointDiscoveryMetadata, AsyncCallback callback, object state)
120public void EndHelloOperation(IAsyncResult result)
125public IAsyncResult BeginByeOperation(EndpointDiscoveryMetadata endpointDiscoveryMetadata, AsyncCallback callback, object state)
131public void EndByeOperation(IAsyncResult result)
184IAsyncResult BeginHelloOperation(HelloMessageCD1 message, AsyncCallback callback, object state)
189IAsyncResult BeginByeOperation(ByeMessageCD1 message, AsyncCallback callback, object state)
195IAsyncResult OnBeginHelloOperation(object[] inValues, System.AsyncCallback callback, object asyncState)
201object[] OnEndHelloOperation(System.IAsyncResult result)
216IAsyncResult OnBeginByeOperation(object[] inValues, System.AsyncCallback callback, object asyncState)
222object[] OnEndByeOperation(System.IAsyncResult result)
System\ServiceModel\Discovery\VersionCD1\DiscoveryInnerClientAdhocCD1.cs (14)
78public IAsyncResult BeginProbeOperation(FindCriteria findCriteria, AsyncCallback callback, object state)
85public IAsyncResult BeginResolveOperation(ResolveCriteria resolveCriteria, AsyncCallback callback, object state)
92public void EndProbeOperation(IAsyncResult result)
97public void EndResolveOperation(IAsyncResult result)
116public IAsyncResult BeginProbeMatchOperation(ProbeMatchesMessageCD1 response, AsyncCallback callback, object state)
140public void EndProbeMatchOperation(IAsyncResult result)
145public IAsyncResult BeginResolveMatchOperation(ResolveMatchesMessageCD1 response, AsyncCallback callback, object state)
167public void EndResolveMatchOperation(IAsyncResult result)
172public IAsyncResult BeginHelloOperation(HelloMessageCD1 message, AsyncCallback callback, object state)
194public void EndHelloOperation(IAsyncResult result)
216public IAsyncResult BeginProbeOperation(ProbeMessageCD1 request, AsyncCallback callback, object state)
221public IAsyncResult BeginResolveOperation(ResolveMessageCD1 request, AsyncCallback callback, object state)
226public void EndProbeOperation(IAsyncResult result)
231public void EndResolveOperation(IAsyncResult result)