31 implementations of IAsyncResult
dotnet-svcutil-lib (1)
http2cat (1)
IIS.FunctionalTests (1)
IIS.LongTests (1)
IIS.NewHandler.FunctionalTests (1)
IIS.NewShim.FunctionalTests (1)
IIS.ShadowCopy.Tests (1)
IISExpress.FunctionalTests (1)
Microsoft.AspNetCore.HttpLogging (1)
Microsoft.AspNetCore.OutputCaching (1)
Microsoft.AspNetCore.ResponseCaching (1)
Microsoft.AspNetCore.ResponseCompression (1)
Microsoft.AspNetCore.Server.HttpSys (4)
Microsoft.AspNetCore.Server.IIS (1)
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (1)
Microsoft.AspNetCore.Shared.Tests (1)
PresentationFramework (1)
System.Net.HttpListener (3)
System.Net.Requests (1)
System.Private.CoreLib (2)
System.ServiceModel.Federation (1)
System.Transactions.Local (1)
System.Windows.Forms (1)
UnitTests.Common (1)
1637 references to IAsyncResult
Client.ClientBase.IntegrationTests (7)
Client.ExpectedExceptions.IntegrationTests (2)
Client.TypedClient.IntegrationTests (3)
Contract.Service.IntegrationTests (4)
ServiceContractTests.4.0.0.cs (4)
46IAsyncResult ar = serviceProxy.BeginRequest(message, callback, null);
93IAsyncResult ar = serviceProxy.BeginRequest(message, callback, null);
139IAsyncResult ar = serviceProxy.BeginRequest(message, ref number, callback, null);
187IAsyncResult ar = serviceProxy.BeginRequest(message, ref uniqueType, callback, null);
dotnet-svcutil-lib (610)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\CommunicationObject.cs (13)
116public IAsyncResult BeginClose(AsyncCallback callback, object state)
121public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
126public IAsyncResult BeginOpen(AsyncCallback callback, object state)
131public IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
286public void EndClose(IAsyncResult result)
291public void EndOpen(IAsyncResult result)
748protected abstract IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state);
750protected abstract void OnEndClose(IAsyncResult result);
754protected abstract IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state);
756protected abstract void OnEndOpen(IAsyncResult result);
808public static IAsyncResult OnBeginClose(CommunicationObject communicationObject, TimeSpan timeout, AsyncCallback callback, object state)
813public static void OnEnd(IAsyncResult result)
823public static IAsyncResult OnBeginOpen(CommunicationObject communicationObject, TimeSpan timeout, AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\LayeredChannelFactory.cs (18)
40protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
45protected override void OnEndOpen(IAsyncResult result)
50protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
55protected override void OnEndClose(IAsyncResult result)
117public IAsyncResult BeginReceive(AsyncCallback callback, object state)
122public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
127public Message EndReceive(IAsyncResult result)
134public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
139public bool EndTryReceive(IAsyncResult result, out Message message)
158public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
163public bool EndWaitForMessage(IAsyncResult result)
211protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
216protected override void OnEndClose(IAsyncResult result)
228protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
233protected override void OnEndOpen(IAsyncResult result)
255public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state)
260public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
265public void EndSend(IAsyncResult result)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\Message.cs (14)
390public IAsyncResult BeginWriteBodyContents(XmlDictionaryWriter writer, AsyncCallback callback, object state)
396public void EndWriteBodyContents(IAsyncResult result)
409protected virtual IAsyncResult OnBeginWriteBodyContents(XmlDictionaryWriter writer, AsyncCallback callback, object state)
414protected virtual void OnEndWriteBodyContents(IAsyncResult result)
680public IAsyncResult BeginWriteMessage(XmlDictionaryWriter writer, AsyncCallback callback, object state)
686public void EndWriteMessage(IAsyncResult result)
730protected virtual IAsyncResult OnBeginWriteMessage(XmlDictionaryWriter writer, AsyncCallback callback, object state)
735protected virtual void OnEndWriteMessage(IAsyncResult result)
1069protected override IAsyncResult OnBeginWriteMessage(XmlDictionaryWriter writer, AsyncCallback callback, object state)
1076protected override void OnEndWriteMessage(IAsyncResult result)
1081protected override IAsyncResult OnBeginWriteBodyContents(XmlDictionaryWriter writer, AsyncCallback callback, object state)
1086protected override void OnEndWriteBodyContents(IAsyncResult result)
1128private bool HandleWriteBodyContents(IAsyncResult result)
1144public static void End(IAsyncResult result)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannel.cs (42)
470private IAsyncResult BeginEnsureDisplayUI(AsyncCallback callback, object state)
483private void EndEnsureDisplayUI(IAsyncResult result)
509private IAsyncResult BeginEnsureOpened(TimeSpan timeout, AsyncCallback callback, object state)
525private void EndEnsureOpened(IAsyncResult result)
671internal static IAsyncResult BeginCall(ServiceChannel channel, ProxyOperationRuntime operation, object[] ins, AsyncCallback callback, object asyncState)
678internal IAsyncResult BeginCall(string action, bool oneway, ProxyOperationRuntime operation, object[] ins, AsyncCallback callback, object asyncState)
683internal IAsyncResult BeginCall(string action, bool oneway, ProxyOperationRuntime operation, object[] ins, TimeSpan timeout, AsyncCallback callback, object asyncState)
787internal object EndCall(string action, object[] outs, IAsyncResult result)
1197public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state)
1202public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
1208public void EndSend(IAsyncResult result)
1224public IAsyncResult BeginRequest(Message message, AsyncCallback callback, object state)
1229public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state)
1235public Message EndRequest(IAsyncResult result)
1261protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
1266protected override void OnEndClose(IAsyncResult result)
1319protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
1324protected override void OnEndOpen(IAsyncResult result)
1415IAsyncResult IDuplexContextChannel.BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state)
1420void IDuplexContextChannel.EndCloseOutputSession(IAsyncResult result)
1573public IAsyncResult BeginDisplayInitializationUI(AsyncCallback callback, object state)
1585public void EndDisplayInitializationUI(IAsyncResult result)
1687IAsyncResult result = Rpc.Channel.BeginEnsureDisplayUI(s_ensureInteractiveInitCallback, this);
1695private static void EnsureInteractiveInitCallback(IAsyncResult result)
1703private void FinishEnsureInteractiveInit(IAsyncResult result, bool completedSynchronously)
1733IAsyncResult result = null;
1759private static void EnsureOpenCallback(IAsyncResult result)
1767private void FinishEnsureOpen(IAsyncResult result, bool completedSynchronously)
1799IAsyncResult result = null;
1843private static void SendCallback(IAsyncResult result)
1851private void FinishSend(IAsyncResult result, bool completedSynchronously)
1911IAsyncResult BeginCall(ServiceChannel channel, TimeSpan timeout, AsyncCallback callback, object state);
1912void EndCall(ServiceChannel channel, IAsyncResult result);
1946IAsyncResult ICallOnce.BeginCall(ServiceChannel channel, TimeSpan timeout, AsyncCallback callback, object state)
1952void ICallOnce.EndCall(ServiceChannel channel, IAsyncResult result)
1979IAsyncResult ICallOnce.BeginCall(ServiceChannel channel, TimeSpan timeout, AsyncCallback callback, object state)
1984void ICallOnce.EndCall(ServiceChannel channel, IAsyncResult result)
2060internal IAsyncResult BeginCallOnce(TimeSpan timeout, CallOnceManager cascade,
2093IAsyncResult result = _callOnce.BeginCall(_channel, timeout, callback, state);
2115internal void EndCallOnce(IAsyncResult result)
2282internal static void End(IAsyncResult result)
2324static internal void End(IAsyncResult result)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannelProxy.cs (21)
172Action<IAsyncResult> endCallDelegate = (asyncResult) =>
195IAsyncResult ar = ServiceChannel.BeginCall(channel, operation, inputParameters, new AsyncCallback(endCallDelegate), OperationContext.Current);
214Action<IAsyncResult> endCallDelegate = (asyncResult) =>
237IAsyncResult ar = ServiceChannel.BeginCall(channel, operation, inputParameters, new AsyncCallback(endCallDelegate), OperationContext.Current);
360IAsyncResult result;
578IAsyncResult ICommunicationObject.BeginClose(AsyncCallback callback, object state)
583IAsyncResult ICommunicationObject.BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
588void ICommunicationObject.EndClose(IAsyncResult result)
603IAsyncResult ICommunicationObject.BeginOpen(AsyncCallback callback, object state)
608IAsyncResult ICommunicationObject.BeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
613void ICommunicationObject.EndOpen(IAsyncResult result)
646IAsyncResult IClientChannel.BeginDisplayInitializationUI(AsyncCallback callback, object state)
656void IClientChannel.EndDisplayInitializationUI(IAsyncResult result)
730IAsyncResult IOutputChannel.BeginSend(Message message, AsyncCallback callback, object state)
735IAsyncResult IOutputChannel.BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
740void IOutputChannel.EndSend(IAsyncResult result)
765IAsyncResult IRequestChannel.BeginRequest(Message message, AsyncCallback callback, object state)
770IAsyncResult IRequestChannel.BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state)
775Message IRequestChannel.EndRequest(IAsyncResult result)
780public IAsyncResult BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state)
785public void EndCloseOutputSession(IAsyncResult result)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportDuplexSessionChannel.cs (12)
151public IAsyncResult BeginReceive(AsyncCallback callback, object state)
156public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
161public Message EndReceive(IAsyncResult result)
166public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
171public bool EndTryReceive(IAsyncResult result, out Message message)
255public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
260public bool EndWaitForMessage(IAsyncResult result)
428protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
433protected override void OnEndClose(IAsyncResult result)
775public IAsyncResult BeginCloseOutputSession(AsyncCallback callback, object state)
780public IAsyncResult BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state)
785public void EndCloseOutputSession(IAsyncResult result)
FrameworkFork\System.ServiceModel\System\ServiceModel\ClientBase.cs (34)
279IAsyncResult ICommunicationObject.BeginClose(AsyncCallback callback, object state)
284IAsyncResult ICommunicationObject.BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
289void ICommunicationObject.EndClose(IAsyncResult result)
294IAsyncResult ICommunicationObject.BeginOpen(AsyncCallback callback, object state)
299IAsyncResult ICommunicationObject.BeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
304void ICommunicationObject.EndOpen(IAsyncResult result)
311internal IAsyncResult BeginFactoryOpen(TimeSpan timeout, AsyncCallback callback, object state)
316internal void EndFactoryOpen(IAsyncResult result)
321internal IAsyncResult BeginChannelOpen(TimeSpan timeout, AsyncCallback callback, object state)
326internal void EndChannelOpen(IAsyncResult result)
331internal IAsyncResult BeginFactoryClose(TimeSpan timeout, AsyncCallback callback, object state)
336internal void EndFactoryClose(IAsyncResult result)
348internal IAsyncResult BeginChannelClose(TimeSpan timeout, AsyncCallback callback, object state)
360internal void EndChannelClose(IAsyncResult result)
374protected delegate IAsyncResult BeginOperationDelegate(object[] inValues, AsyncCallback asyncCallback, object state);
375protected delegate object[] EndOperationDelegate(IAsyncResult result);
417IAsyncResult result = null;
441private static void OnAsyncCallCompleted(IAsyncResult result)
539protected IAsyncResult BeginInvoke(string methodName, object[] args, AsyncCallback callback, object state)
552protected object EndInvoke(string methodName, object[] args, IAsyncResult result)
609IAsyncResult IClientChannel.BeginDisplayInitializationUI(AsyncCallback callback, object state)
614void IClientChannel.EndDisplayInitializationUI(IAsyncResult result)
711IAsyncResult ICommunicationObject.BeginClose(AsyncCallback callback, object state)
716IAsyncResult ICommunicationObject.BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
721void ICommunicationObject.EndClose(IAsyncResult result)
736IAsyncResult ICommunicationObject.BeginOpen(AsyncCallback callback, object state)
741IAsyncResult ICommunicationObject.BeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
746void ICommunicationObject.EndOpen(IAsyncResult result)
781IAsyncResult IOutputChannel.BeginSend(Message message, AsyncCallback callback, object state)
786IAsyncResult IOutputChannel.BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
791void IOutputChannel.EndSend(IAsyncResult result)
816IAsyncResult IRequestChannel.BeginRequest(Message message, AsyncCallback callback, object state)
821IAsyncResult IRequestChannel.BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state)
826Message IRequestChannel.EndRequest(IAsyncResult result)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataExchangeClient.cs (23)
228public IAsyncResult BeginGetMetadata(AsyncCallback callback, object asyncState)
238public IAsyncResult BeginGetMetadata(Uri address, MetadataExchangeClientMode mode, AsyncCallback callback, object asyncState)
252public IAsyncResult BeginGetMetadata(EndpointAddress address, AsyncCallback callback, object asyncState)
261private IAsyncResult BeginGetMetadata(MetadataRetriever retriever, AsyncCallback callback, object asyncState)
268public MetadataSet EndGetMetadata(IAsyncResult result)
641internal abstract IAsyncResult BeginRetrieve(TimeoutHelper timeoutHelper, AsyncCallback callback, object state);
642internal abstract MetadataSection EndRetrieve(IAsyncResult result);
789internal override IAsyncResult BeginRetrieve(TimeoutHelper timeoutHelper, AsyncCallback callback, object state)
822internal override MetadataSection EndRetrieve(IAsyncResult result)
854IAsyncResult result = request.BeginGetResponse(Fx.ThunkCallback(new AsyncCallback(this.GetResponseCallback)), request);
869internal static MetadataSection End(IAsyncResult result)
875internal void GetResponseCallback(IAsyncResult result)
895private void HandleResult(IAsyncResult result)
946internal override IAsyncResult BeginRetrieve(TimeoutHelper timeoutHelper, AsyncCallback callback, object state)
1056internal override MetadataSection EndRetrieve(IAsyncResult result)
1091IAsyncResult result = metadataClient.BeginGet(_message, Fx.ThunkCallback(new AsyncCallback(this.RequestCallback)), metadataClient);
1101internal static MetadataSection End(IAsyncResult result)
1107internal void RequestCallback(IAsyncResult result)
1127private void HandleResult(IAsyncResult result)
1207IAsyncResult result = retriever.BeginRetrieve(_resolveCallState.TimeoutHelper, Fx.ThunkCallback(new AsyncCallback(this.RetrieveCallback)), retriever);
1224internal static MetadataSet End(IAsyncResult result)
1230internal void RetrieveCallback(IAsyncResult result)
1256private bool HandleResult(IAsyncResult result)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\BufferedReceiveBinder.cs (11)
95public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
99IAsyncResult result = _channelBinder.BeginTryReceive(timeout, s_tryReceiveCallback, this);
109public bool EndTryReceive(IAsyncResult result, out RequestContext requestContext)
135public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
140public void EndSend(IAsyncResult result)
150public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state)
155public Message EndRequest(IAsyncResult result)
165public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
170public bool EndWaitForMessage(IAsyncResult result)
217private static void TryReceiveCallback(IAsyncResult result)
227private static void HandleEndTryReceive(IAsyncResult result)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (43)
304public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
312public bool EndTryReceive(IAsyncResult result, out RequestContext requestContext)
348public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
353public void EndSend(IAsyncResult result)
363public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state)
378IAsyncResult result = _channel.BeginSend(message, timeout, Fx.ThunkCallback(new AsyncCallback(this.SendCallback)), duplexRequest);
404public Message EndRequest(IAsyncResult result)
601private void SendCallback(IAsyncResult result)
618public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
623public bool EndWaitForMessage(IAsyncResult result)
656protected override IAsyncResult OnBeginReply(Message message, TimeSpan timeout, AsyncCallback callback, object state)
661protected override void OnEndReply(IAsyncResult result)
681IAsyncResult result = context._channel.BeginSend(message, timeout, s_onSend, this);
692public static void End(IAsyncResult result)
697private static void OnSend(IAsyncResult result)
807private IAsyncResult _sendResult;
922public void FinishedSend(IAsyncResult sendResult, bool completedSynchronously)
1155IAsyncResult result = null;
1189IAsyncResult result = (IAsyncResult)state;
1194private static void ReceiveAsyncCallback(IAsyncResult result)
1204private void OnReceive(IAsyncResult result)
1251IAsyncResult result = null;
1284private static void CloseInnerChannelCallback(IAsyncResult result)
1294private void OnCloseInnerChannel(IAsyncResult result)
1333public IAsyncResult BeginReceive(AsyncCallback callback, object state)
1338public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
1343public Message EndReceive(IAsyncResult result)
1353public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
1358public bool EndTryReceive(IAsyncResult result, out Message message)
1368public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
1373public bool EndWaitForMessage(IAsyncResult result)
1412public IAsyncResult BeginClose(AsyncCallback callback, object state)
1417public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
1434public void EndClose(IAsyncResult result)
1466public IAsyncResult BeginOpen(AsyncCallback callback, object state)
1471public IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
1476public void EndOpen(IAsyncResult result)
1492public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state)
1497public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
1502public void EndSend(IAsyncResult result)
1556public IAsyncResult BeginWaitForBackgroundClose(TimeSpan timeout, AsyncCallback callback, object state)
1562public void EndWaitForBackgroundClose(IAsyncResult result)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\IChannelBinder.cs (8)
21IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state);
22bool EndTryReceive(IAsyncResult result, out RequestContext requestContext);
25IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state);
26void EndSend(IAsyncResult result);
29IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state);
30Message EndRequest(IAsyncResult result);
33IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state);
34bool EndWaitForMessage(IAsyncResult result);
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\InputChannelBinder.cs (10)
67public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
72public bool EndTryReceive(IAsyncResult result, out RequestContext requestContext)
92public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
97public void EndSend(IAsyncResult result)
122public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state)
127public Message EndRequest(IAsyncResult result)
142public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
147public bool EndWaitForMessage(IAsyncResult result)
186protected override IAsyncResult OnBeginReply(Message message, TimeSpan timeout, AsyncCallback callback, object state)
191protected override void OnEndReply(IAsyncResult result)
FrameworkFork\System.ServiceModel\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)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\OperationFormatter.cs (10)
370private IAsyncResult BeginSerializeBodyContents(XmlDictionaryWriter writer, MessageVersion version, object[] parameters, object returnValue, bool isRequest,
376private void EndSerializeBodyContents(IAsyncResult result)
401IAsyncResult result = streamFormatter.BeginSerialize(writer, parameters, returnValue, PrepareAsyncCompletion(s_handleEndSerializeBodyContents), this);
418private static bool HandleEndSerializeBodyContents(IAsyncResult result)
425public static void End(IAsyncResult result)
731protected override IAsyncResult OnBeginWriteBodyContents(XmlDictionaryWriter writer, AsyncCallback callback, object state)
738protected override void OnEndWriteBodyContents(IAsyncResult result)
760IAsyncResult result = _operationFormatter.BeginSerializeBodyContents(writer, operationFormatterBodyWriter._version,
771private static bool HandleEndOnWriteBodyContents(IAsyncResult result)
778public static void End(IAsyncResult result)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\OutputChannelBinder.cs (8)
65public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
70public bool EndTryReceive(IAsyncResult result, out RequestContext requestContext)
80public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
85public void EndSend(IAsyncResult result)
95public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state)
100public Message EndRequest(IAsyncResult result)
120public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
125public bool EndWaitForMessage(IAsyncResult result)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ReplyChannelBinder.cs (8)
67public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
72public bool EndTryReceive(IAsyncResult result, out RequestContext requestContext)
82public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
87public void EndSend(IAsyncResult result)
97public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state)
102public Message EndRequest(IAsyncResult result)
122public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
127public bool EndWaitForMessage(IAsyncResult result)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\RequestChannelBinder.cs (8)
59public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
64public bool EndTryReceive(IAsyncResult result, out RequestContext requestContext)
74public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
79public void EndSend(IAsyncResult result)
89public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state)
94public Message EndRequest(IAsyncResult result)
123public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
128public bool EndWaitForMessage(IAsyncResult result)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WrapperSecurityCommunicationObject.cs (24)
47protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
52protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
74protected override void OnEndClose(IAsyncResult result)
79protected override void OnEndOpen(IAsyncResult result)
227public IAsyncResult BeginClose(AsyncCallback callback, object state)
232public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
237public void EndClose(IAsyncResult result)
252public IAsyncResult BeginOpen(AsyncCallback callback, object state)
257public IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
262public void EndOpen(IAsyncResult result)
277public IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
282public IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
299public void OnEndClose(IAsyncResult result)
304public void OnEndOpen(IAsyncResult result)
402public IAsyncResult BeginClose(AsyncCallback callback, object state)
407public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
412public void EndClose(IAsyncResult result)
427public IAsyncResult BeginOpen(AsyncCallback callback, object state)
432public IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
437public void EndOpen(IAsyncResult result)
452public IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
457public IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
474public void OnEndClose(IAsyncResult result)
479public void OnEndOpen(IAsyncResult result)
http2cat (8)
IIS.FunctionalTests (8)
IIS.LongTests (8)
IIS.NewHandler.FunctionalTests (8)
IIS.NewShim.FunctionalTests (8)
IIS.ShadowCopy.Tests (8)
IISExpress.FunctionalTests (8)
Microsoft.AspNetCore.Components.WebView.WindowsForms (5)
Microsoft.AspNetCore.HttpLogging (12)
Microsoft.AspNetCore.Mvc.Core (4)
Microsoft.AspNetCore.OutputCaching (6)
Microsoft.AspNetCore.RequestDecompression.Tests (1)
Microsoft.AspNetCore.ResponseCaching (8)
Microsoft.AspNetCore.ResponseCompression (6)
Microsoft.AspNetCore.ResponseCompression.Tests (2)
Microsoft.AspNetCore.Server.HttpSys (26)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (4)
Microsoft.AspNetCore.Server.IIS (20)
Microsoft.AspNetCore.Server.Kestrel.Core (26)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (4)
Microsoft.AspNetCore.Shared.Tests (10)
Microsoft.AspNetCore.TestHost (4)
Microsoft.AspNetCore.WebSockets (4)
Microsoft.AspNetCore.WebSockets.Tests (8)
Microsoft.Build (4)
Microsoft.CodeAnalysis (1)
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver (1)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (4)
Remote\InProcRemostHostClient.cs (4)
311public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) => _stream.BeginRead(buffer, offset, count, callback, state);
312public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) => _stream.BeginWrite(buffer, offset, count, callback, state);
317public override int EndRead(IAsyncResult asyncResult) => _stream.EndRead(asyncResult);
318public override void EndWrite(IAsyncResult asyncResult) => _stream.EndWrite(asyncResult);
Microsoft.DotNet.Helix.Client (4)
Microsoft.Extensions.DependencyInjection (1)
Microsoft.Svcutil.NamedPipeMetadataImporter (4)
MSBuild (2)
MSBuildTaskHost (2)
mscorlib (1)
netstandard (1)
PresentationCore (6)
PresentationFramework (11)
ScenarioTests.Common.Tests (22)
ScenarioTestTypes.cs (6)
871public IAsyncResult BeginEcho(string message, AsyncCallback callback, object asyncState)
875return (IAsyncResult)base.BeginInvoke("Echo", _args, callback, asyncState);
878public string EndEcho(IAsyncResult result)
884public IAsyncResult BeginMessageRequestReply(Message request, AsyncCallback callback, object asyncState)
894IAsyncResult ar = base.BeginInvoke(nameof(Echo), args, callback: null, state: null);
898public Message EndMessageRequestReply(IAsyncResult result)
ServiceInterfaces.cs (16)
208System.IAsyncResult BeginMessageRequestReply(System.ServiceModel.Channels.Message request, System.AsyncCallback callback, object asyncState);
210System.ServiceModel.Channels.Message EndMessageRequestReply(System.IAsyncResult result);
216System.IAsyncResult BeginEcho(string message, System.AsyncCallback callback, object asyncState);
218string EndEcho(System.IAsyncResult result);
259System.IAsyncResult BeginMessageRequestReply(System.ServiceModel.Channels.Message request, System.AsyncCallback callback, object asyncState);
261System.ServiceModel.Channels.Message EndMessageRequestReply(System.IAsyncResult result);
267System.IAsyncResult BeginEcho(string message, System.AsyncCallback callback, object asyncState);
269string EndEcho(System.IAsyncResult result);
523IAsyncResult BeginRequest(string stringRequest, AsyncCallback callback, object asyncState);
525void EndRequest(out int intResponse, IAsyncResult result);
532IAsyncResult BeginRequest(string stringRequest, AsyncCallback callback, object asyncState);
534void EndRequest(out UniqueType uniqueTypeResponse, IAsyncResult result);
541IAsyncResult BeginRequest(string stringRequest, ref int referencedInteger, AsyncCallback callback, object asyncState);
543void EndRequest(ref int referencedInteger, IAsyncResult result);
550IAsyncResult BeginRequest(string stringRequest, ref UniqueType uniqueTypeResponse, AsyncCallback callback, object asyncState);
552void EndRequest(ref UniqueType uniqueTypeResponse, IAsyncResult result);
System.ComponentModel.Primitives (2)
System.DirectoryServices.Protocols (5)
System.IO.Compression (16)
System.IO.Compression.Brotli (4)
System.IO.Hashing (2)
System.IO.IsolatedStorage (4)
System.IO.Pipelines (4)
System.IO.Pipes (6)
System.IO.Ports (5)
System.Linq.Expressions (1)
System.Memory.Data (2)
System.Net.Http (16)
System.Net.HttpListener (23)
System.Net.Mail (4)
System.Net.NameResolution (9)
System\Net\Dns.cs (9)
173public static IAsyncResult BeginGetHostEntry(IPAddress address, AsyncCallback? requestCallback, object? stateObject) =>
176public static IAsyncResult BeginGetHostEntry(string hostNameOrAddress, AsyncCallback? requestCallback, object? stateObject) =>
179public static IPHostEntry EndGetHostEntry(IAsyncResult asyncResult)
252public static IAsyncResult BeginGetHostAddresses(string hostNameOrAddress, AsyncCallback? requestCallback, object? state) =>
255public static IPAddress[] EndGetHostAddresses(IAsyncResult asyncResult)
278public static IAsyncResult BeginGetHostByName(string hostName, AsyncCallback? requestCallback, object? stateObject) =>
282public static IPHostEntry EndGetHostByName(IAsyncResult asyncResult)
347public static IAsyncResult BeginResolve(string hostName, AsyncCallback? requestCallback, object? stateObject) =>
351public static IPHostEntry EndResolve(IAsyncResult asyncResult)
System.Net.NetworkInformation (4)
System.Net.Quic (4)
System.Net.Requests (41)
System\Net\FileWebRequest.cs (10)
157public override IAsyncResult BeginGetRequestStream(AsyncCallback? callback, object? state)
218public override IAsyncResult BeginGetResponse(AsyncCallback? callback, object? state)
238public override Stream EndGetRequestStream(IAsyncResult asyncResult)
245public override WebResponse EndGetResponse(IAsyncResult asyncResult)
254IAsyncResult result = BeginGetRequestStream(null, null);
270IAsyncResult result = BeginGetResponse(null, null);
368public override IAsyncResult BeginRead(byte[] buffer, int offset, int size, AsyncCallback? callback, object? state)
382public override int EndRead(IAsyncResult ar)
395public override IAsyncResult BeginWrite(byte[] buffer, int offset, int size, AsyncCallback? callback, object? state)
409public override void EndWrite(IAsyncResult ar)
System.Net.Security (31)
System\Net\Security\NegotiateStream.cs (15)
102public virtual IAsyncResult BeginAuthenticateAsClient(AsyncCallback? asyncCallback, object? asyncState) =>
106public virtual IAsyncResult BeginAuthenticateAsClient(NetworkCredential credential, string targetName, AsyncCallback? asyncCallback, object? asyncState) =>
110public virtual IAsyncResult BeginAuthenticateAsClient(NetworkCredential credential, ChannelBinding? binding, string targetName, AsyncCallback? asyncCallback, object? asyncState) =>
114public virtual IAsyncResult BeginAuthenticateAsClient(
120public virtual IAsyncResult BeginAuthenticateAsClient(
125public virtual void EndAuthenticateAsClient(IAsyncResult asyncResult) => TaskToAsyncResult.End(asyncResult);
142public virtual IAsyncResult BeginAuthenticateAsServer(AsyncCallback? asyncCallback, object? asyncState) =>
145public virtual IAsyncResult BeginAuthenticateAsServer(ExtendedProtectionPolicy? policy, AsyncCallback? asyncCallback, object? asyncState) =>
148public virtual IAsyncResult BeginAuthenticateAsServer(
153public virtual IAsyncResult BeginAuthenticateAsServer(
158public virtual void EndAuthenticateAsServer(IAsyncResult asyncResult) => TaskToAsyncResult.End(asyncResult);
563public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? asyncCallback, object? asyncState) =>
566public override int EndRead(IAsyncResult asyncResult) =>
569public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? asyncCallback, object? asyncState) =>
572public override void EndWrite(IAsyncResult asyncResult) =>
System\Net\Security\SslStream.cs (16)
229public virtual IAsyncResult BeginAuthenticateAsClient(string targetHost, AsyncCallback? asyncCallback, object? asyncState)
235public virtual IAsyncResult BeginAuthenticateAsClient(string targetHost, X509CertificateCollection? clientCertificates,
241public virtual IAsyncResult BeginAuthenticateAsClient(string targetHost, X509CertificateCollection? clientCertificates,
257internal IAsyncResult BeginAuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions, CancellationToken cancellationToken, AsyncCallback? asyncCallback, object? asyncState) =>
260public virtual void EndAuthenticateAsClient(IAsyncResult asyncResult) => TaskToAsyncResult.End(asyncResult);
265public virtual IAsyncResult BeginAuthenticateAsServer(X509Certificate serverCertificate, AsyncCallback? asyncCallback, object? asyncState)
273public virtual IAsyncResult BeginAuthenticateAsServer(X509Certificate serverCertificate, bool clientCertificateRequired,
279public virtual IAsyncResult BeginAuthenticateAsServer(X509Certificate serverCertificate, bool clientCertificateRequired,
296private IAsyncResult BeginAuthenticateAsServer(SslServerAuthenticationOptions sslServerAuthenticationOptions, CancellationToken cancellationToken, AsyncCallback? asyncCallback, object? asyncState) =>
299public virtual void EndAuthenticateAsServer(IAsyncResult asyncResult) => TaskToAsyncResult.End(asyncResult);
301internal IAsyncResult BeginShutdown(AsyncCallback? asyncCallback, object? asyncState) => TaskToAsyncResult.Begin(ShutdownAsync(), asyncCallback, asyncState);
303internal static void EndShutdown(IAsyncResult asyncResult) => TaskToAsyncResult.End(asyncResult);
844public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? asyncCallback, object? asyncState)
850public override int EndRead(IAsyncResult asyncResult)
856public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? asyncCallback, object? asyncState)
862public override void EndWrite(IAsyncResult asyncResult)
System.Net.Sockets (55)
System\Net\Sockets\Socket.cs (36)
2448public IAsyncResult BeginConnect(EndPoint remoteEP, AsyncCallback? callback, object? state) =>
2451public IAsyncResult BeginConnect(string host, int port, AsyncCallback? requestCallback, object? state) =>
2454public IAsyncResult BeginConnect(IPAddress address, int port, AsyncCallback? requestCallback, object? state) =>
2457public IAsyncResult BeginConnect(IPAddress[] addresses, int port, AsyncCallback? requestCallback, object? state) =>
2460public void EndConnect(IAsyncResult asyncResult) => TaskToAsyncResult.End(asyncResult);
2462public IAsyncResult BeginDisconnect(bool reuseSocket, AsyncCallback? callback, object? state) =>
2486public void EndDisconnect(IAsyncResult asyncResult) => TaskToAsyncResult.End(asyncResult);
2488public IAsyncResult BeginSend(byte[] buffer, int offset, int size, SocketFlags socketFlags, AsyncCallback? callback, object? state)
2498public IAsyncResult? BeginSend(byte[] buffer, int offset, int size, SocketFlags socketFlags, out SocketError errorCode, AsyncCallback? callback, object? state)
2516public IAsyncResult BeginSend(IList<ArraySegment<byte>> buffers, SocketFlags socketFlags, AsyncCallback? callback, object? state)
2525public IAsyncResult? BeginSend(IList<ArraySegment<byte>> buffers, SocketFlags socketFlags, out SocketError errorCode, AsyncCallback? callback, object? state)
2542public int EndSend(IAsyncResult asyncResult) => TaskToAsyncResult.End<int>(asyncResult);
2544public int EndSend(IAsyncResult asyncResult, out SocketError errorCode) =>
2547public IAsyncResult BeginSendFile(string? fileName, AsyncCallback? callback, object? state)
2554public IAsyncResult BeginSendFile(string? fileName, byte[]? preBuffer, byte[]? postBuffer, TransmitFileOptions flags, AsyncCallback? callback, object? state)
2570public void EndSendFile(IAsyncResult asyncResult) => TaskToAsyncResult.End(asyncResult);
2572public IAsyncResult BeginSendTo(byte[] buffer, int offset, int size, SocketFlags socketFlags, EndPoint remoteEP, AsyncCallback? callback, object? state)
2584public int EndSendTo(IAsyncResult asyncResult) => TaskToAsyncResult.End<int>(asyncResult);
2586public IAsyncResult BeginReceive(byte[] buffer, int offset, int size, SocketFlags socketFlags, AsyncCallback? callback, object? state)
2595public IAsyncResult? BeginReceive(byte[] buffer, int offset, int size, SocketFlags socketFlags, out SocketError errorCode, AsyncCallback? callback, object? state)
2613public IAsyncResult BeginReceive(IList<ArraySegment<byte>> buffers, SocketFlags socketFlags, AsyncCallback? callback, object? state)
2621public IAsyncResult? BeginReceive(IList<ArraySegment<byte>> buffers, SocketFlags socketFlags, out SocketError errorCode, AsyncCallback? callback, object? state)
2638public int EndReceive(IAsyncResult asyncResult) => TaskToAsyncResult.End<int>(asyncResult);
2640public int EndReceive(IAsyncResult asyncResult, out SocketError errorCode) =>
2643private static int EndSendReceive(IAsyncResult asyncResult, out SocketError errorCode)
2661public IAsyncResult BeginReceiveMessageFrom(byte[] buffer, int offset, int size, SocketFlags socketFlags, ref EndPoint remoteEP, AsyncCallback? callback, object? state)
2679IAsyncResult asyncResult = TaskToAsyncResult.Begin(t, callback, state);
2684public int EndReceiveMessageFrom(IAsyncResult asyncResult, ref SocketFlags socketFlags, ref EndPoint endPoint, out IPPacketInformation ipPacketInformation)
2704public IAsyncResult BeginReceiveFrom(byte[] buffer, int offset, int size, SocketFlags socketFlags, ref EndPoint remoteEP, AsyncCallback? callback, object? state)
2724public int EndReceiveFrom(IAsyncResult asyncResult, ref EndPoint endPoint)
2742public IAsyncResult BeginAccept(AsyncCallback? callback, object? state) =>
2745public Socket EndAccept(IAsyncResult asyncResult) => TaskToAsyncResult.End<Socket>(asyncResult);
2780public IAsyncResult BeginAccept(int receiveSize, AsyncCallback? callback, object? state) =>
2783public IAsyncResult BeginAccept(Socket? acceptSocket, int receiveSize, AsyncCallback? callback, object? state) =>
2786public Socket EndAccept(out byte[] buffer, IAsyncResult asyncResult)
2796public Socket EndAccept(out byte[] buffer, out int bytesTransferred, IAsyncResult asyncResult)
System\Net\Sockets\UDPClient.cs (6)
279public IAsyncResult BeginSend(byte[] datagram, int bytes, AsyncCallback? requestCallback, object? state) =>
282public IAsyncResult BeginSend(byte[] datagram, int bytes, string? hostname, int port, AsyncCallback? requestCallback, object? state) =>
285public IAsyncResult BeginSend(byte[] datagram, int bytes, IPEndPoint? endPoint, AsyncCallback? requestCallback, object? state)
302public int EndSend(IAsyncResult asyncResult)
359public IAsyncResult BeginReceive(AsyncCallback? requestCallback, object? state)
375public byte[] EndReceive(IAsyncResult asyncResult, ref IPEndPoint? remoteEP)
System.Net.WebClient (6)
System.Net.WebSockets (4)
System.Private.CoreLib (178)
src\libraries\System.Private.CoreLib\src\System\IO\FileStream.cs (8)
546public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
562public override int EndRead(IAsyncResult asyncResult)
569public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
585public override void EndWrite(IAsyncResult asyncResult)
638internal IAsyncResult BaseBeginRead(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
641internal int BaseEndRead(IAsyncResult asyncResult) => base.EndRead(asyncResult);
643internal IAsyncResult BaseBeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
646internal void BaseEndWrite(IAsyncResult asyncResult) => base.EndWrite(asyncResult);
src\libraries\System.Private.CoreLib\src\System\IO\Stream.cs (12)
199public virtual IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) =>
273public virtual int EndRead(IAsyncResult asyncResult)
473public virtual IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) =>
590public virtual void EndWrite(IAsyncResult asyncResult)
1033public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) =>
1036public override int EndRead(IAsyncResult asyncResult) =>
1039public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) =>
1042public override void EndWrite(IAsyncResult asyncResult) =>
1211public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
1229public override int EndRead(IAsyncResult asyncResult)
1282public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
1300public override void EndWrite(IAsyncResult asyncResult)
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs (56)
491IAsyncResult iar,
492Func<IAsyncResult, TResult>? endFunction,
493Action<IAsyncResult>? endAction,
548/// method function when a specified <see cref="IAsyncResult">IAsyncResult</see> completes.
560public Task<TResult> FromAsync(IAsyncResult asyncResult, Func<IAsyncResult, TResult> endMethod)
567/// method function when a specified <see cref="IAsyncResult">IAsyncResult</see> completes.
585IAsyncResult asyncResult,
586Func<IAsyncResult, TResult> endMethod,
596/// method function when a specified <see cref="IAsyncResult">IAsyncResult</see> completes.
618IAsyncResult asyncResult,
619Func<IAsyncResult, TResult> endMethod,
629IAsyncResult asyncResult,
630Func<IAsyncResult, TResult>? endFunction,
631Action<IAsyncResult>? endAction,
714Func<AsyncCallback, object?, IAsyncResult> beginMethod,
715Func<IAsyncResult, TResult> endMethod, object? state)
743Func<AsyncCallback, object?, IAsyncResult> beginMethod,
744Func<IAsyncResult, TResult> endMethod, object? state, TaskCreationOptions creationOptions)
751internal static Task<TResult> FromAsyncImpl(Func<AsyncCallback, object?, IAsyncResult> beginMethod,
752Func<IAsyncResult, TResult>? endFunction, Action<IAsyncResult>? endAction,
776IAsyncResult asyncResult = beginMethod(iar =>
825Func<TArg1, AsyncCallback, object?, IAsyncResult> beginMethod,
826Func<IAsyncResult, TResult> endMethod,
859Func<TArg1, AsyncCallback, object?, IAsyncResult> beginMethod,
860Func<IAsyncResult, TResult> endMethod,
868internal static Task<TResult> FromAsyncImpl<TArg1>(Func<TArg1, AsyncCallback, object?, IAsyncResult> beginMethod,
869Func<IAsyncResult, TResult>? endFunction, Action<IAsyncResult>? endAction,
893IAsyncResult asyncResult = beginMethod(arg1, iar =>
946Func<TArg1, TArg2, AsyncCallback, object?, IAsyncResult> beginMethod,
947Func<IAsyncResult, TResult> endMethod,
984Func<TArg1, TArg2, AsyncCallback, object?, IAsyncResult> beginMethod,
985Func<IAsyncResult, TResult> endMethod,
993internal static Task<TResult> FromAsyncImpl<TArg1, TArg2>(Func<TArg1, TArg2, AsyncCallback, object?, IAsyncResult> beginMethod,
994Func<IAsyncResult, TResult>? endFunction, Action<IAsyncResult>? endAction,
1018IAsyncResult asyncResult = beginMethod(arg1, arg2, iar =>
1075Func<TArg1, TArg2, TArg3, AsyncCallback, object?, IAsyncResult> beginMethod,
1076Func<IAsyncResult, TResult> endMethod,
1117Func<TArg1, TArg2, TArg3, AsyncCallback, object?, IAsyncResult> beginMethod,
1118Func<IAsyncResult, TResult> endMethod,
1126internal static Task<TResult> FromAsyncImpl<TArg1, TArg2, TArg3>(Func<TArg1, TArg2, TArg3, AsyncCallback, object?, IAsyncResult> beginMethod,
1127Func<IAsyncResult, TResult>? endFunction, Action<IAsyncResult>? endAction,
1151IAsyncResult asyncResult = beginMethod(arg1, arg2, arg3, iar =>
1192Func<TInstance, TArgs, AsyncCallback, object, IAsyncResult> beginMethod,
1193Func<TInstance, IAsyncResult, TResult> endMethod)
1206IAsyncResult asyncResult = beginMethod(thisRef, args, FromAsyncTrimPromise<TInstance>.s_completeFromAsyncResult, promise);
1233private Func<TInstance, IAsyncResult, TResult>? m_endMethod;
1238internal FromAsyncTrimPromise(TInstance thisRef, Func<TInstance, IAsyncResult, TResult> endMethod)
1251internal static void CompleteFromAsyncResult(IAsyncResult asyncResult)
1261Func<TInstance, IAsyncResult, TResult>? endMethod = promise.m_endMethod;
1284TInstance thisRef, Func<TInstance, IAsyncResult, TResult> endMethod, IAsyncResult asyncResult,
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs (50)
780/// when a specified <see cref="IAsyncResult">IAsyncResult</see> completes.
793IAsyncResult asyncResult,
794Action<IAsyncResult> endMethod)
801/// when a specified <see cref="IAsyncResult">IAsyncResult</see> completes.
819IAsyncResult asyncResult,
820Action<IAsyncResult> endMethod,
828/// when a specified <see cref="IAsyncResult">IAsyncResult</see> completes.
850IAsyncResult asyncResult,
851Action<IAsyncResult> endMethod,
876Func<AsyncCallback, object?, IAsyncResult> beginMethod,
877Action<IAsyncResult> endMethod,
906Func<AsyncCallback, object?, IAsyncResult> beginMethod,
907Action<IAsyncResult> endMethod, object? state, TaskCreationOptions creationOptions)
935Func<TArg1, AsyncCallback, object?, IAsyncResult> beginMethod,
936Action<IAsyncResult> endMethod,
971Func<TArg1, AsyncCallback, object?, IAsyncResult> beginMethod,
972Action<IAsyncResult> endMethod,
1005Func<TArg1, TArg2, AsyncCallback, object?, IAsyncResult> beginMethod,
1006Action<IAsyncResult> endMethod,
1044Func<TArg1, TArg2, AsyncCallback, object?, IAsyncResult> beginMethod,
1045Action<IAsyncResult> endMethod,
1082Func<TArg1, TArg2, TArg3, AsyncCallback, object?, IAsyncResult> beginMethod,
1083Action<IAsyncResult> endMethod,
1125Func<TArg1, TArg2, TArg3, AsyncCallback, object?, IAsyncResult> beginMethod,
1126Action<IAsyncResult> endMethod,
1138/// method function when a specified <see cref="IAsyncResult">IAsyncResult</see> completes.
1154IAsyncResult asyncResult, Func<IAsyncResult, TResult> endMethod)
1161/// method function when a specified <see cref="IAsyncResult">IAsyncResult</see> completes.
1182IAsyncResult asyncResult, Func<IAsyncResult, TResult> endMethod, TaskCreationOptions creationOptions)
1189/// method function when a specified <see cref="IAsyncResult">IAsyncResult</see> completes.
1214IAsyncResult asyncResult, Func<IAsyncResult, TResult> endMethod, TaskCreationOptions creationOptions, TaskScheduler scheduler)
1240Func<AsyncCallback, object?, IAsyncResult> beginMethod,
1241Func<IAsyncResult, TResult> endMethod, object? state)
1272Func<AsyncCallback, object?, IAsyncResult> beginMethod,
1273Func<IAsyncResult, TResult> endMethod, object? state, TaskCreationOptions creationOptions)
1303Func<TArg1, AsyncCallback, object?, IAsyncResult> beginMethod,
1304Func<IAsyncResult, TResult> endMethod, TArg1 arg1, object? state)
1338public Task<TResult> FromAsync<TArg1, TResult>(Func<TArg1, AsyncCallback, object?, IAsyncResult> beginMethod,
1339Func<IAsyncResult, TResult> endMethod, TArg1 arg1, object? state, TaskCreationOptions creationOptions)
1372public Task<TResult> FromAsync<TArg1, TArg2, TResult>(Func<TArg1, TArg2, AsyncCallback, object?, IAsyncResult> beginMethod,
1373Func<IAsyncResult, TResult> endMethod, TArg1 arg1, TArg2 arg2, object? state)
1412Func<TArg1, TArg2, AsyncCallback, object?, IAsyncResult> beginMethod,
1413Func<IAsyncResult, TResult> endMethod, TArg1 arg1, TArg2 arg2, object? state, TaskCreationOptions creationOptions)
1451Func<TArg1, TArg2, TArg3, AsyncCallback, object?, IAsyncResult> beginMethod,
1452Func<IAsyncResult, TResult> endMethod, TArg1 arg1, TArg2 arg2, TArg3 arg3, object? state)
1495Func<TArg1, TArg2, TArg3, AsyncCallback, object?, IAsyncResult> beginMethod,
1496Func<IAsyncResult, TResult> endMethod, TArg1 arg1, TArg2 arg2, TArg3 arg3, object? state, TaskCreationOptions creationOptions)
System.Runtime (1)
System.Security.Cryptography (4)
System.ServiceModel.Federation (57)
System\IdentityModel\Security\WrapperSecurityCommunicationObject.cs (20)
50protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
55protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
77protected override void OnEndClose(IAsyncResult result)
82protected override void OnEndOpen(IAsyncResult result)
234public IAsyncResult BeginClose(AsyncCallback callback, object state)
239public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
244public void EndClose(IAsyncResult result)
259public IAsyncResult BeginOpen(AsyncCallback callback, object state)
264public IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
269public void EndOpen(IAsyncResult result)
386public IAsyncResult BeginClose(AsyncCallback callback, object state)
391public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
396public void EndClose(IAsyncResult result)
411public IAsyncResult BeginOpen(AsyncCallback callback, object state)
416public IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
421public void EndOpen(IAsyncResult result)
436public IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
441public IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
463public void OnEndClose(IAsyncResult result)
468public void OnEndOpen(IAsyncResult result)
System.ServiceModel.NetFramingBase (36)
System\ServiceModel\Channels\TransportDuplexSessionChannel.cs (12)
106public IAsyncResult BeginReceive(AsyncCallback callback, object state)
111public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
116public Message EndReceive(IAsyncResult result)
121public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
126public bool EndTryReceive(IAsyncResult result, out Message message)
210public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
215public bool EndWaitForMessage(IAsyncResult result)
322protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
327protected override void OnEndClose(IAsyncResult result)
619public IAsyncResult BeginCloseOutputSession(AsyncCallback callback, object state)
624public IAsyncResult BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state)
629public void EndCloseOutputSession(IAsyncResult result)
System.ServiceModel.Primitives (89)
netstandard.cs (89)
199public System.IAsyncResult BeginGetToken(System.TimeSpan timeout, System.AsyncCallback callback, object state) { return default; }
200public System.IdentityModel.Tokens.SecurityToken EndGetToken(System.IAsyncResult result) { return default; }
202public System.IAsyncResult BeginRenewToken(System.TimeSpan timeout, System.IdentityModel.Tokens.SecurityToken tokenToBeRenewed, System.AsyncCallback callback, object state) { return default; }
203public System.IdentityModel.Tokens.SecurityToken EndRenewToken(System.IAsyncResult result) { return default; }
205public System.IAsyncResult BeginCancelToken(System.TimeSpan timeout, System.IdentityModel.Tokens.SecurityToken token, System.AsyncCallback callback, object state) { return default; }
206public void EndCancelToken(System.IAsyncResult result) { }
210protected virtual System.IAsyncResult BeginGetTokenCore(System.TimeSpan timeout, System.AsyncCallback callback, object state) { return default; }
211protected virtual System.IdentityModel.Tokens.SecurityToken EndGetTokenCore(System.IAsyncResult result) { return default; }
212protected virtual System.IAsyncResult BeginRenewTokenCore(System.TimeSpan timeout, System.IdentityModel.Tokens.SecurityToken tokenToBeRenewed, System.AsyncCallback callback, object state) { return default; }
213protected virtual System.IdentityModel.Tokens.SecurityToken EndRenewTokenCore(System.IAsyncResult result) { return default; }
214protected virtual System.IAsyncResult BeginCancelTokenCore(System.TimeSpan timeout, System.IdentityModel.Tokens.SecurityToken token, System.AsyncCallback callback, object state) { return default; }
215protected virtual void EndCancelTokenCore(System.IAsyncResult result) { }
444protected override System.IAsyncResult OnBeginClose(System.TimeSpan timeout, System.AsyncCallback callback, object state) { return default; }
445protected override System.IAsyncResult OnBeginOpen(System.TimeSpan timeout, System.AsyncCallback callback, object state) { return default; }
447protected override void OnEndClose(System.IAsyncResult result) { }
448protected override void OnEndOpen(System.IAsyncResult result) { }
495System.IAsyncResult System.ServiceModel.ICommunicationObject.BeginClose(System.AsyncCallback callback, object state) { return default; }
496System.IAsyncResult System.ServiceModel.ICommunicationObject.BeginClose(System.TimeSpan timeout, System.AsyncCallback callback, object state) { return default; }
497System.IAsyncResult System.ServiceModel.ICommunicationObject.BeginOpen(System.AsyncCallback callback, object state) { return default; }
498System.IAsyncResult System.ServiceModel.ICommunicationObject.BeginOpen(System.TimeSpan timeout, System.AsyncCallback callback, object state) { return default; }
501void System.ServiceModel.ICommunicationObject.EndClose(System.IAsyncResult result) { }
502void System.ServiceModel.ICommunicationObject.EndOpen(System.IAsyncResult result) { }
506protected delegate System.IAsyncResult BeginOperationDelegate(object[] inValues, System.AsyncCallback asyncCallback, object state);
532protected System.IAsyncResult BeginInvoke(string methodName, object[] args, System.AsyncCallback callback, object state) { return default; }
533protected object EndInvoke(string methodName, object[] args, System.IAsyncResult result) { return default; }
536System.IAsyncResult System.ServiceModel.Channels.IOutputChannel.BeginSend(System.ServiceModel.Channels.Message message, System.AsyncCallback callback, object state) { return default; }
537System.IAsyncResult System.ServiceModel.Channels.IOutputChannel.BeginSend(System.ServiceModel.Channels.Message message, System.TimeSpan timeout, System.AsyncCallback callback, object state) { return default; }
538void System.ServiceModel.Channels.IOutputChannel.EndSend(System.IAsyncResult result) { }
541System.IAsyncResult System.ServiceModel.Channels.IRequestChannel.BeginRequest(System.ServiceModel.Channels.Message message, System.AsyncCallback callback, object state) { return default; }
542System.IAsyncResult System.ServiceModel.Channels.IRequestChannel.BeginRequest(System.ServiceModel.Channels.Message message, System.TimeSpan timeout, System.AsyncCallback callback, object state) { return default; }
543System.ServiceModel.Channels.Message System.ServiceModel.Channels.IRequestChannel.EndRequest(System.IAsyncResult result) { return default; }
547System.IAsyncResult System.ServiceModel.IClientChannel.BeginDisplayInitializationUI(System.AsyncCallback callback, object state) { return default; }
551void System.ServiceModel.IClientChannel.EndDisplayInitializationUI(System.IAsyncResult result) { }
553System.IAsyncResult System.ServiceModel.ICommunicationObject.BeginClose(System.AsyncCallback callback, object state) { return default; }
554System.IAsyncResult System.ServiceModel.ICommunicationObject.BeginClose(System.TimeSpan timeout, System.AsyncCallback callback, object state) { return default; }
555System.IAsyncResult System.ServiceModel.ICommunicationObject.BeginOpen(System.AsyncCallback callback, object state) { return default; }
556System.IAsyncResult System.ServiceModel.ICommunicationObject.BeginOpen(System.TimeSpan timeout, System.AsyncCallback callback, object state) { return default; }
559void System.ServiceModel.ICommunicationObject.EndClose(System.IAsyncResult result) { }
560void System.ServiceModel.ICommunicationObject.EndOpen(System.IAsyncResult result) { }
564protected delegate object[] EndOperationDelegate(System.IAsyncResult result);
791System.IAsyncResult BeginDisplayInitializationUI(System.AsyncCallback callback, object state);
793void EndDisplayInitializationUI(System.IAsyncResult result);
804System.IAsyncResult BeginClose(System.AsyncCallback callback, object state);
805System.IAsyncResult BeginClose(System.TimeSpan timeout, System.AsyncCallback callback, object state);
806System.IAsyncResult BeginOpen(System.AsyncCallback callback, object state);
807System.IAsyncResult BeginOpen(System.TimeSpan timeout, System.AsyncCallback callback, object state);
810void EndClose(System.IAsyncResult result);
811void EndOpen(System.IAsyncResult result);
1084protected override System.IAsyncResult OnBeginClose(System.TimeSpan timeout, System.AsyncCallback callback, object state) { return default(System.IAsyncResult); }
1085protected override System.IAsyncResult OnBeginOpen(System.TimeSpan timeout, System.AsyncCallback callback, object state) { return default(System.IAsyncResult); }
1088protected override void OnEndClose(System.IAsyncResult result) { }
1089protected override void OnEndOpen(System.IAsyncResult result) { }
1336protected override System.IAsyncResult OnBeginClose(System.TimeSpan timeout, System.AsyncCallback callback, object state) { return default; }
1338protected override void OnEndClose(System.IAsyncResult result) { }
1347protected override System.IAsyncResult OnBeginClose(System.TimeSpan timeout, System.AsyncCallback callback, object state) { return default; }
1350protected override void OnEndClose(System.IAsyncResult result) { }
1389public System.IAsyncResult BeginClose(System.AsyncCallback callback, object state) { return default; }
1390public System.IAsyncResult BeginClose(System.TimeSpan timeout, System.AsyncCallback callback, object state) { return default; }
1391public System.IAsyncResult BeginOpen(System.AsyncCallback callback, object state) { return default; }
1392public System.IAsyncResult BeginOpen(System.TimeSpan timeout, System.AsyncCallback callback, object state) { return default; }
1395public void EndClose(System.IAsyncResult result) { }
1396public void EndOpen(System.IAsyncResult result) { }
1400protected abstract System.IAsyncResult OnBeginClose(System.TimeSpan timeout, System.AsyncCallback callback, object state);
1401protected abstract System.IAsyncResult OnBeginOpen(System.TimeSpan timeout, System.AsyncCallback callback, object state);
1405protected abstract void OnEndClose(System.IAsyncResult result);
1406protected abstract void OnEndOpen(System.IAsyncResult result);
1462System.IAsyncResult BeginCloseOutputSession(System.AsyncCallback callback, object state);
1463System.IAsyncResult BeginCloseOutputSession(System.TimeSpan timeout, System.AsyncCallback callback, object state);
1466void EndCloseOutputSession(System.IAsyncResult result);
1474System.IAsyncResult BeginReceive(System.AsyncCallback callback, object state);
1475System.IAsyncResult BeginReceive(System.TimeSpan timeout, System.AsyncCallback callback, object state);
1476System.IAsyncResult BeginTryReceive(System.TimeSpan timeout, System.AsyncCallback callback, object state);
1477System.IAsyncResult BeginWaitForMessage(System.TimeSpan timeout, System.AsyncCallback callback, object state);
1478System.ServiceModel.Channels.Message EndReceive(System.IAsyncResult result);
1479bool EndTryReceive(System.IAsyncResult result, out System.ServiceModel.Channels.Message message);
1480bool EndWaitForMessage(System.IAsyncResult result);
1500System.IAsyncResult BeginSend(System.ServiceModel.Channels.Message message, System.AsyncCallback callback, object state);
1501System.IAsyncResult BeginSend(System.ServiceModel.Channels.Message message, System.TimeSpan timeout, System.AsyncCallback callback, object state);
1502void EndSend(System.IAsyncResult result);
1516System.IAsyncResult BeginRequest(System.ServiceModel.Channels.Message message, System.AsyncCallback callback, object state);
1517System.IAsyncResult BeginRequest(System.ServiceModel.Channels.Message message, System.TimeSpan timeout, System.AsyncCallback callback, object state);
1518System.ServiceModel.Channels.Message EndRequest(System.IAsyncResult result);
1817public abstract System.IAsyncResult BeginReply(System.ServiceModel.Channels.Message message, System.AsyncCallback callback, object state);
1818public abstract System.IAsyncResult BeginReply(System.ServiceModel.Channels.Message message, System.TimeSpan timeout, System.AsyncCallback callback, object state);
1822public abstract void EndReply(System.IAsyncResult result);
2235IAsyncResult BeginDisplayInitializationUI(IClientChannel channel, AsyncCallback callback, object state);
2236void EndDisplayInitializationUI(IAsyncResult result);
System.ServiceModel.Primitives.Tests (46)
Channels\CommunicationObjectTest.cs (9)
60IAsyncResult openAr = mco.BeginOpen(timeout, callback: null, state: null);
64IAsyncResult closeAr = mco.BeginClose(timeout, callback: null, state: null);
151IAsyncResult openAr = mco.BeginOpen(timeout, callback: null, state: null);
155IAsyncResult closeAr = mco.BeginClose(timeout, callback: null, state: null);
246IAsyncResult openAr = mco.BeginOpen(timeout, callback: null, state: null);
250IAsyncResult closeAr = mco.BeginClose(timeout, callback: null, state: null);
370IAsyncResult openAr = mco.BeginOpen(timeout, callback: null, state: null);
395IAsyncResult openAr = mco.BeginOpen(timeout, callback: null, state: null);
401IAsyncResult closeAr = mco.BeginClose(timeout, callback: null, state: null);
IdentityModel\SecurityTokenProviderTest.cs (9)
32var iar = provider.BeginGetToken(TimeSpan.Zero, null, null);
68var iar = provider.BeginGetToken(TimeSpan.Zero, null, null);
106var iar = provider.BeginGetToken(TimeSpan.Zero, null, null);
160protected override IAsyncResult BeginGetTokenCore(TimeSpan timeout, AsyncCallback callback, object state)
167protected override SecurityToken EndGetTokenCore(IAsyncResult result)
178protected override IAsyncResult BeginRenewTokenCore(TimeSpan timeout, SecurityToken tokenToBeRenewed, AsyncCallback callback, object state)
186protected override SecurityToken EndRenewTokenCore(IAsyncResult result)
197protected override IAsyncResult BeginCancelTokenCore(TimeSpan timeout, SecurityToken token, AsyncCallback callback, object state)
206protected override void EndCancelTokenCore(IAsyncResult result)
ServiceModel\ThrowingOnCloseBindingElement.cs (21)
77protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
82protected override void OnEndOpen(IAsyncResult result)
104protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
109protected override void OnEndClose(IAsyncResult result)
179private static void ToApmEnd(IAsyncResult iar)
194public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state) => InnerChannel.BeginSend(message, callback, state);
195public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) => InnerChannel.BeginSend(message, timeout, callback, state);
196public void EndSend(IAsyncResult result) => InnerChannel.EndSend(result);
211public IAsyncResult BeginRequest(Message message, AsyncCallback callback, object state) => InnerChannel.BeginRequest(message, callback, state);
212public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state) => InnerChannel.BeginRequest(message, timeout, callback, state);
213public Message EndRequest(IAsyncResult result) => InnerChannel.EndRequest(result);
255public IAsyncResult BeginReceive(AsyncCallback callback, object state) => InnerChannel.BeginReceive(callback, state);
256public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state) => InnerChannel.BeginReceive(timeout, callback, state);
257public Message EndReceive(IAsyncResult result) => InnerChannel.EndReceive(result);
259public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) => InnerChannel.BeginTryReceive(timeout, callback, state);
260public bool EndTryReceive(IAsyncResult result, out Message message) => InnerChannel.EndTryReceive(result, out message);
262public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state) => InnerChannel.BeginWaitForMessage(timeout, callback, state);
263public bool EndWaitForMessage(IAsyncResult result) => InnerChannel.EndWaitForMessage(result);
277public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state) => InnerChannel.BeginSend(message, callback, state);
278public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) => InnerChannel.BeginSend(message, callback, state);
279public void EndSend(IAsyncResult result) => InnerChannel.EndSend(result);
System.ServiceModel.UnixDomainSocket (4)
System.Transactions.Local (6)
System.Windows.Forms (9)
UnitTests.Common (63)
IMockCommunicationObject.cs (8)
18Func<TimeSpan, AsyncCallback, object, IAsyncResult> OnBeginCloseOverride { get; set; }
19Func<TimeSpan, AsyncCallback, object, IAsyncResult> OnBeginOpenOverride { get; set; }
22Action<IAsyncResult> OnEndCloseOverride { get; set; }
23Action<IAsyncResult> OnEndOpenOverride { get; set; }
40IAsyncResult DefaultOnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state);
41void DefaultOnEndOpen(IAsyncResult result);
43IAsyncResult DefaultOnBeginClose(TimeSpan timeout, AsyncCallback callback, object state);
44void DefaultOnEndClose(IAsyncResult result);
MockChannelBase.cs (12)
58public Func<TimeSpan, AsyncCallback, object, IAsyncResult> OnBeginCloseOverride { get; set; }
59public Func<TimeSpan, AsyncCallback, object, IAsyncResult> OnBeginOpenOverride { get; set; }
62public Action<IAsyncResult> OnEndCloseOverride { get; set; }
63public Action<IAsyncResult> OnEndOpenOverride { get; set; }
118protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
123public IAsyncResult DefaultOnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
138protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
143public IAsyncResult DefaultOnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
168protected override void OnEndClose(IAsyncResult result)
173public void DefaultOnEndClose(IAsyncResult result)
179protected override void OnEndOpen(IAsyncResult result)
184public void DefaultOnEndOpen(IAsyncResult result)
MockChannelFactory.cs (12)
57public Func<TimeSpan, AsyncCallback, object, IAsyncResult> OnBeginCloseOverride { get; set; }
58public Func<TimeSpan, AsyncCallback, object, IAsyncResult> OnBeginOpenOverride { get; set; }
61public Action<IAsyncResult> OnEndCloseOverride { get; set; }
62public Action<IAsyncResult> OnEndOpenOverride { get; set; }
120protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
125public IAsyncResult DefaultOnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
139protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
144public IAsyncResult DefaultOnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
168protected override void OnEndClose(IAsyncResult result)
173public void DefaultOnEndClose(IAsyncResult result)
178protected override void OnEndOpen(IAsyncResult result)
183public void DefaultOnEndOpen(IAsyncResult result)
MockCommunicationObject.cs (14)
53public Func<TimeSpan, AsyncCallback, object, IAsyncResult> OnBeginCloseOverride { get; set; }
54public Func<TimeSpan, AsyncCallback, object, IAsyncResult> OnBeginOpenOverride { get; set; }
57public Action<IAsyncResult> OnEndCloseOverride { get; set; }
58public Action<IAsyncResult> OnEndOpenOverride { get; set; }
103protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
108public IAsyncResult DefaultOnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
123protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
129public IAsyncResult DefaultOnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
154protected override void OnEndClose(IAsyncResult result)
159public void DefaultOnEndClose(IAsyncResult result)
165protected override void OnEndOpen(IAsyncResult result)
170public void DefaultOnEndOpen(IAsyncResult result)
340IAsyncResult result = mco.DefaultOnBeginOpen(t, c, s);
369IAsyncResult result = mco.DefaultOnBeginClose(t, c, s);
MockRequestChannel.cs (7)
19public Func<Message,TimeSpan,AsyncCallback,object, IAsyncResult> BeginRequestOverride { get; set; }
20public Func<IAsyncResult, Message> EndRequestOverride { get; set; }
49public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state)
54public IAsyncResult BeginRequest(Message message, AsyncCallback callback, object state)
59public IAsyncResult DefaultBeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state)
68public Message EndRequest(IAsyncResult result)
73public Message DefaultEndRequest(IAsyncResult result)