1120 references to AsyncCallback
Client.TypedClient.IntegrationTests (1)
TypedProxyTests.4.0.0.cs (1)
468AsyncCallback callback = (iar) =>
Contract.Service.IntegrationTests (4)
ServiceContractTests.4.0.0.cs (4)
40AsyncCallback callback = (iar) => 87AsyncCallback callback = (iar) => 133AsyncCallback callback = (iar) => 181AsyncCallback callback = (iar) =>
dotnet-svcutil-lib (344)
CodeDomFixup\CodeDomHelpers.cs (1)
105MatchType<AsyncCallback>(method.Parameters[paramCount - 2].Type) &&
FrameworkFork\System.ServiceModel\Internals\System\Runtime\AsyncResult.cs (5)
16private static AsyncCallback s_asyncCompletionWrapperCallback; 17private AsyncCallback _callback; 34protected AsyncResult(AsyncCallback callback, object state) 106protected Action<AsyncCallback, IAsyncResult> VirtualCallback 255protected AsyncCallback PrepareAsyncCompletion(AsyncCompletion callback)
FrameworkFork\System.ServiceModel\Internals\System\Runtime\CompletedAsyncResult.cs (3)
10public CompletedAsyncResult(AsyncCallback callback, object state) 28public CompletedAsyncResult(T data, AsyncCallback callback, object state) 49public CompletedAsyncResult(TResult resultData, TParameter parameter, AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\Internals\System\Runtime\Fx.cs (5)
285public static AsyncCallback ThunkCallback(AsyncCallback callback) 970internal sealed class AsyncThunk : Thunk<AsyncCallback> 972public AsyncThunk(AsyncCallback callback) : base(callback) 976public AsyncCallback ThunkFrame
FrameworkFork\System.ServiceModel\Internals\System\Runtime\InputQueue.cs (6)
38public InputQueue(Func<Action<AsyncCallback, IAsyncResult>> asyncCallbackGenerator) 64private Func<Action<AsyncCallback, IAsyncResult>> AsyncCallbackGenerator 75public IAsyncResult BeginDequeue(TimeSpan timeout, AsyncCallback callback, object state) 113public IAsyncResult BeginWaitForItem(TimeSpan timeout, AsyncCallback callback, object state) 804public AsyncQueueReader(InputQueue<T> inputQueue, TimeSpan timeout, AsyncCallback callback, object state) 867public AsyncQueueWaiter(TimeSpan timeout, AsyncCallback callback, object state) : base(callback, state)
FrameworkFork\System.ServiceModel\Internals\System\Runtime\ScheduleActionItemAsyncResult.cs (1)
17protected ScheduleActionItemAsyncResult(AsyncCallback callback, object state) : base(callback, state) { }
FrameworkFork\System.ServiceModel\Internals\System\Runtime\TaskHelpers.cs (10)
33public static Task<TResult> ToApm<TResult>(this Task<TResult> task, AsyncCallback callback, object state) 45var callbackObj = obj as AsyncCallback; 57var tuple = obj as Tuple<TaskCompletionSource<TResult>, AsyncCallback>; 59var callbackObj = tuple.Item2; 78public static Task ToApm(this Task task, AsyncCallback callback, object state) 90var callbackObj = obj as AsyncCallback; 104var tuple = obj as Tuple<TaskCompletionSource<object>, AsyncCallback>; 106var callbackObj = tuple.Item2;
FrameworkFork\System.ServiceModel\System\ServiceModel\ChannelFactory.cs (2)
307protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 333protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\BodyWriter.cs (2)
92protected virtual IAsyncResult OnBeginWriteBodyContents(XmlDictionaryWriter writer, AsyncCallback callback, object state) 129public IAsyncResult BeginWriteBodyContents(XmlDictionaryWriter writer, AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ChainedAsyncResult.cs (11)
10internal delegate IAsyncResult ChainedBeginHandler(TimeSpan timeout, AsyncCallback asyncCallback, object state); 19private static AsyncCallback s_begin1Callback = Fx.ThunkCallback(new AsyncCallback(Begin1Callback)); 20private static AsyncCallback s_begin2Callback = Fx.ThunkCallback(new AsyncCallback(Begin2Callback)); 22protected ChainedAsyncResult(TimeSpan timeout, AsyncCallback callback, object state) 28public ChainedAsyncResult(TimeSpan timeout, AsyncCallback callback, object state, ChainedBeginHandler begin1, ChainedEndHandler end1, ChainedBeginHandler begin2, ChainedEndHandler end2) 132public ChainedCloseAsyncResult(TimeSpan timeout, AsyncCallback callback, object state, ChainedBeginHandler begin1, ChainedEndHandler end1, IList<ICommunicationObject> collection) 140public ChainedCloseAsyncResult(TimeSpan timeout, AsyncCallback callback, object state, ChainedBeginHandler begin1, ChainedEndHandler end1, params ICommunicationObject[] objs) 152private IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 167public ChainedOpenAsyncResult(TimeSpan timeout, AsyncCallback callback, object state, ChainedBeginHandler begin1, ChainedEndHandler end1, IList<ICommunicationObject> collection) 175public ChainedOpenAsyncResult(TimeSpan timeout, AsyncCallback callback, object state, ChainedBeginHandler begin1, ChainedEndHandler end1, params ICommunicationObject[] objs) 187private IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ChannelFactoryBase.cs (2)
61protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 177protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ClientWebSocketTransportDuplexSessionChannel.cs (1)
42protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\CloseCollectionAsyncResult.cs (2)
15private static AsyncCallback s_nestedCallback = Fx.ThunkCallback(new AsyncCallback(Callback)); 18public CloseCollectionAsyncResult(TimeSpan timeout, AsyncCallback otherCallback, object state, IList<ICommunicationObject> collection)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\CommunicationObject.cs (8)
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) 748protected abstract IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state); 754protected abstract IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state); 808public static IAsyncResult OnBeginClose(CommunicationObject communicationObject, TimeSpan timeout, AsyncCallback callback, object state) 823public static IAsyncResult OnBeginOpen(CommunicationObject communicationObject, TimeSpan timeout, AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ConnectionOrientedTransportChannelFactory.cs (1)
282protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\FramingChannels.cs (1)
219protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpChannelFactory.cs (3)
480protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 755protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 788protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpsChannelFactory.cs (2)
278protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 298protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\IChannelAcceptor.cs (2)
11IAsyncResult BeginAcceptChannel(TimeSpan timeout, AsyncCallback callback, object state); 15IAsyncResult BeginWaitForChannel(TimeSpan timeout, AsyncCallback callback, object state);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\IChannelListener.cs (3)
14IAsyncResult BeginWaitForChannel(TimeSpan timeout, AsyncCallback callback, object state); 23IAsyncResult BeginAcceptChannel(AsyncCallback callback, object state); 24IAsyncResult BeginAcceptChannel(TimeSpan timeout, AsyncCallback callback, object state);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\IDuplexSession.cs (2)
13IAsyncResult BeginCloseOutputSession(AsyncCallback callback, object state); 14IAsyncResult BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\IInputChannel.cs (4)
17IAsyncResult BeginReceive(AsyncCallback callback, object state); 18IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state); 22IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state); 26IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\IOutputChannel.cs (2)
17IAsyncResult BeginSend(Message message, AsyncCallback callback, object state); 18IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\IReplyChannel.cs (4)
13IAsyncResult BeginReceiveRequest(AsyncCallback callback, object state); 14IAsyncResult BeginReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state); 18IAsyncResult BeginTryReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state); 22IAsyncResult BeginWaitForRequest(TimeSpan timeout, AsyncCallback callback, object state);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\IRequestChannel.cs (2)
16IAsyncResult BeginRequest(Message message, AsyncCallback callback, object state); 17IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\LayeredChannel.cs (2)
57protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 72protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\LayeredChannelFactory.cs (10)
40protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 50protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 117public IAsyncResult BeginReceive(AsyncCallback callback, object state) 122public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state) 134public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 158public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state) 211protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 228protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 255public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state) 260public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\LifetimeManager.cs (3)
69public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 192protected virtual IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 278public CloseCommunicationAsyncResult(TimeSpan timeout, AsyncCallback callback, object state, object mutex)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\Message.cs (8)
390public IAsyncResult BeginWriteBodyContents(XmlDictionaryWriter writer, AsyncCallback callback, object state) 409protected virtual IAsyncResult OnBeginWriteBodyContents(XmlDictionaryWriter writer, AsyncCallback callback, object state) 680public IAsyncResult BeginWriteMessage(XmlDictionaryWriter writer, AsyncCallback callback, object state) 730protected virtual IAsyncResult OnBeginWriteMessage(XmlDictionaryWriter writer, AsyncCallback callback, object state) 785public OnWriteMessageAsyncResult(XmlDictionaryWriter writer, Message message, AsyncCallback callback, object state) 1069protected override IAsyncResult OnBeginWriteMessage(XmlDictionaryWriter writer, AsyncCallback callback, object state) 1081protected override IAsyncResult OnBeginWriteBodyContents(XmlDictionaryWriter writer, AsyncCallback callback, object state) 1116public OnWriteMessageAsyncResult(XmlDictionaryWriter writer, BodyWriterMessage message, AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageEncoder.cs (1)
105public virtual IAsyncResult BeginWriteMessage(Message message, Stream stream, AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\OpenCollectionAsyncResult.cs (2)
15private static AsyncCallback s_nestedCallback = Fx.ThunkCallback(new AsyncCallback(Callback)); 19public OpenCollectionAsyncResult(TimeSpan timeout, AsyncCallback otherCallback, object state, IList<ICommunicationObject> collection)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\OutputChannel.cs (2)
24public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state) 29public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\RequestChannel.cs (3)
76protected IAsyncResult BeginWaitForPendingRequests(TimeSpan timeout, AsyncCallback callback, object state) 218public IAsyncResult BeginRequest(Message message, AsyncCallback callback, object state) 223public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\RequestContext.cs (2)
20public abstract IAsyncResult BeginReply(Message message, AsyncCallback callback, object state); 21public abstract IAsyncResult BeginReply(Message message, TimeSpan timeout, AsyncCallback callback, object state);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\RequestContextBase.cs (3)
187protected abstract IAsyncResult OnBeginReply(Message message, TimeSpan timeout, AsyncCallback callback, object state); 224public override IAsyncResult BeginReply(Message message, AsyncCallback callback, object state) 229public override IAsyncResult BeginReply(Message message, TimeSpan timeout, AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannel.cs (23)
470private IAsyncResult BeginEnsureDisplayUI(AsyncCallback callback, object state) 509private IAsyncResult BeginEnsureOpened(TimeSpan timeout, AsyncCallback callback, object state) 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) 1197public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state) 1202public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 1224public IAsyncResult BeginRequest(Message message, AsyncCallback callback, object state) 1229public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state) 1261protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 1319protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 1415IAsyncResult IDuplexContextChannel.BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state) 1573public IAsyncResult BeginDisplayInitializationUI(AsyncCallback callback, object state) 1654private static AsyncCallback s_ensureInteractiveInitCallback = Fx.ThunkCallback(EnsureInteractiveInitCallback); 1655private static AsyncCallback s_ensureOpenCallback = Fx.ThunkCallback(EnsureOpenCallback); 1656private static AsyncCallback s_sendCallback = Fx.ThunkCallback(SendCallback); 1660AsyncCallback userCallback, object userState) 1911IAsyncResult BeginCall(ServiceChannel channel, TimeSpan timeout, AsyncCallback callback, object state); 1946IAsyncResult ICallOnce.BeginCall(ServiceChannel channel, TimeSpan timeout, AsyncCallback callback, object state) 1979IAsyncResult ICallOnce.BeginCall(ServiceChannel channel, TimeSpan timeout, AsyncCallback callback, object state) 2061AsyncCallback callback, object state) 2270AsyncCallback callback, object state) 2318internal CallOnceCompletedAsyncResult(AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannelFactory.cs (3)
269protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 424protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 441protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannelProxy.cs (11)
351AsyncCallback callback; 578IAsyncResult ICommunicationObject.BeginClose(AsyncCallback callback, object state) 583IAsyncResult ICommunicationObject.BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 603IAsyncResult ICommunicationObject.BeginOpen(AsyncCallback callback, object state) 608IAsyncResult ICommunicationObject.BeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 646IAsyncResult IClientChannel.BeginDisplayInitializationUI(AsyncCallback callback, object state) 730IAsyncResult IOutputChannel.BeginSend(Message message, AsyncCallback callback, object state) 735IAsyncResult IOutputChannel.BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 765IAsyncResult IRequestChannel.BeginRequest(Message message, AsyncCallback callback, object state) 770IAsyncResult IRequestChannel.BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state) 780public IAsyncResult BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (3)
247protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 296protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 380protected override IAsyncResult OnBeginAcceptUpgrade(Stream stream, AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\StreamSecurityUpgradeAcceptorBase.cs (2)
47public override IAsyncResult BeginAcceptUpgrade(Stream stream, AsyncCallback callback, object state) 85protected abstract IAsyncResult OnBeginAcceptUpgrade(Stream stream, AsyncCallback callback, object state);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\StreamUpgradeAcceptor.cs (1)
22public abstract IAsyncResult BeginAcceptUpgrade(Stream stream, AsyncCallback callback, object state);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TextMessageEncoder.cs (1)
562public override IAsyncResult BeginWriteMessage(Message message, Stream stream, AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportChannelFactory.cs (1)
134protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportDuplexSessionChannel.cs (7)
151public IAsyncResult BeginReceive(AsyncCallback callback, object state) 156public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state) 166public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 255public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state) 428protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 775public IAsyncResult BeginCloseOutputSession(AsyncCallback callback, object state) 780public IAsyncResult BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (1)
16private static readonly AsyncCallback s_streamedWriteCallback = Fx.ThunkCallback(StreamWriteCallback);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WindowsStreamSecurityUpgradeProvider.cs (3)
136protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 157protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 230protected override IAsyncResult OnBeginAcceptUpgrade(Stream stream, AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\ClientBase.cs (20)
23private static AsyncCallback s_onAsyncCallCompleted = Fx.ThunkCallback(new AsyncCallback(OnAsyncCallCompleted)); 279IAsyncResult ICommunicationObject.BeginClose(AsyncCallback callback, object state) 284IAsyncResult ICommunicationObject.BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 294IAsyncResult ICommunicationObject.BeginOpen(AsyncCallback callback, object state) 299IAsyncResult ICommunicationObject.BeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 311internal IAsyncResult BeginFactoryOpen(TimeSpan timeout, AsyncCallback callback, object state) 321internal IAsyncResult BeginChannelOpen(TimeSpan timeout, AsyncCallback callback, object state) 331internal IAsyncResult BeginFactoryClose(TimeSpan timeout, AsyncCallback callback, object state) 348internal IAsyncResult BeginChannelClose(TimeSpan timeout, AsyncCallback callback, object state) 374protected delegate IAsyncResult BeginOperationDelegate(object[] inValues, AsyncCallback asyncCallback, object state); 539protected IAsyncResult BeginInvoke(string methodName, object[] args, AsyncCallback callback, object state) 609IAsyncResult IClientChannel.BeginDisplayInitializationUI(AsyncCallback callback, object state) 711IAsyncResult ICommunicationObject.BeginClose(AsyncCallback callback, object state) 716IAsyncResult ICommunicationObject.BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 736IAsyncResult ICommunicationObject.BeginOpen(AsyncCallback callback, object state) 741IAsyncResult ICommunicationObject.BeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 781IAsyncResult IOutputChannel.BeginSend(Message message, AsyncCallback callback, object state) 786IAsyncResult IOutputChannel.BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 816IAsyncResult IRequestChannel.BeginRequest(Message message, AsyncCallback callback, object state) 821IAsyncResult IRequestChannel.BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (1)
50private static Type s_asyncCallbackType = typeof(AsyncCallback);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\IMetadataExchange.cs (1)
17IAsyncResult BeginGet(Message request, AsyncCallback callback, object state);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataExchangeClient.cs (10)
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) 641internal abstract IAsyncResult BeginRetrieve(TimeoutHelper timeoutHelper, AsyncCallback callback, object state); 789internal override IAsyncResult BeginRetrieve(TimeoutHelper timeoutHelper, AsyncCallback callback, object state) 849internal AsyncMetadataLocationRetriever(WebRequest request, long maxMessageSize, XmlDictionaryReaderQuotas readerQuotas, TimeoutHelper timeoutHelper, AsyncCallback callback, object state) 946internal override IAsyncResult BeginRetrieve(TimeoutHelper timeoutHelper, AsyncCallback callback, object state) 1086internal AsyncMetadataReferenceRetriever(IMetadataExchange metadataClient, MessageVersion messageVersion, TimeoutHelper timeoutHelper, AsyncCallback callback, object state) 1155internal AsyncMetadataResolver(ResolveCallState resolveCallState, AsyncCallback callerCallback, object callerAsyncState)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceContractGenerator.cs (1)
289beginMethod.Parameters.Add(new CodeParameterDeclarationExpression(_context.ServiceContractGenerator.GetCodeTypeReference(typeof(AsyncCallback)), Strings.AsyncCallbackArgName));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceReflector.cs (1)
354private static readonly Type s_asyncCallbackType = typeof(AsyncCallback);
FrameworkFork\System.ServiceModel\System\ServiceModel\Diagnostics\TraceAsyncResult.cs (4)
12private static Action<AsyncCallback, IAsyncResult> s_waitResultCallback = new Action<AsyncCallback, IAsyncResult>(DoCallback); 14protected TraceAsyncResult(AsyncCallback callback, object state) : 37private static void DoCallback(AsyncCallback callback, IAsyncResult result)
FrameworkFork\System.ServiceModel\System\ServiceModel\Diagnostics\TraceUtility.cs (5)
553internal static AsyncCallback WrapExecuteUserCodeAsyncCallback(AsyncCallback callback) 562private AsyncCallback _callback; 564public ExecuteUserCodeAsync(AsyncCallback callback) 569public AsyncCallback Callback
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\BufferedReceiveBinder.cs (5)
17private static AsyncCallback s_tryReceiveCallback = Fx.ThunkCallback(new AsyncCallback(TryReceiveCallback)); 95public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 135public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 150public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state) 165public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ChannelDispatcher.cs (2)
421protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 532protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ChannelHandler.cs (2)
31private static AsyncCallback s_onAsyncReplyComplete = Fx.ThunkCallback(new AsyncCallback(ChannelHandler.OnAsyncReplyComplete)); 32private static AsyncCallback s_onAsyncReceiveComplete = Fx.ThunkCallback(new AsyncCallback(ChannelHandler.OnAsyncReceiveComplete));
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\DispatchOperationRuntime.cs (1)
19private static AsyncCallback s_invokeCallback = Fx.ThunkCallback(DispatchOperationRuntime.InvokeCallback);
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\DispatchRuntime.cs (1)
418public IAsyncResult InvokeBegin(object instance, object[] inputs, AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (22)
304public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 348public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 363public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state) 618public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state) 656protected override IAsyncResult OnBeginReply(Message message, TimeSpan timeout, AsyncCallback callback, object state) 668private static AsyncCallback s_onSend; 671public ReplyAsyncResult(DuplexRequestContext context, Message message, TimeSpan timeout, AsyncCallback callback, object state) 816internal AsyncDuplexRequest(Message message, DuplexChannelBinder parent, TimeSpan timeout, AsyncCallback callback, object state) 1025public ChannelFaultedAsyncResult(AsyncCallback callback, object state) 1034private static AsyncCallback s_receiveAsyncCallback; 1036private static AsyncCallback s_closeInnerChannelCallback; 1333public IAsyncResult BeginReceive(AsyncCallback callback, object state) 1338public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state) 1353public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 1368public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state) 1412public IAsyncResult BeginClose(AsyncCallback callback, object state) 1417public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 1466public IAsyncResult BeginOpen(AsyncCallback callback, object state) 1471public IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 1492public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state) 1497public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 1556public IAsyncResult BeginWaitForBackgroundClose(TimeSpan timeout, AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ErrorHandlingReceiver.cs (2)
96internal IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 182internal ErrorHandlingCompletedAsyncResult(bool data, AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\IChannelBinder.cs (4)
21IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state); 25IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state); 29IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state); 33IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state);
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\IInteractiveChannelInitializer.cs (1)
9IAsyncResult BeginDisplayInitializationUI(IClientChannel channel, AsyncCallback callback, object state);
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\IListenerBinder.cs (1)
15IAsyncResult BeginAccept(TimeSpan timeout, AsyncCallback callback, object state);
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ImmutableClientRuntime.cs (3)
149internal IAsyncResult BeginDisplayInitializationUI(ServiceChannel channel, AsyncCallback callback, object state) 246private static AsyncCallback s_callback = Fx.ThunkCallback(new AsyncCallback(DisplayInitializationUIAsyncResult.Callback)); 250AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (1)
47private static AsyncCallback s_onReplyCompleted = Fx.ThunkCallback(new AsyncCallback(OnReplyCompletedCallback));
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\InputChannelBinder.cs (5)
67public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 92public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 122public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state) 142public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state) 186protected override IAsyncResult OnBeginReply(Message message, TimeSpan timeout, AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\IOperationInvoker.cs (1)
12IAsyncResult InvokeBegin(object instance, object[] inputs, AsyncCallback callback, object state);
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ListenerBinder.cs (6)
76public IAsyncResult BeginAccept(TimeSpan timeout, AsyncCallback callback, object state) 123public IAsyncResult BeginAccept(TimeSpan timeout, AsyncCallback callback, object state) 168public IAsyncResult BeginAccept(TimeSpan timeout, AsyncCallback callback, object state) 213public IAsyncResult BeginAccept(TimeSpan timeout, AsyncCallback callback, object state) 258public IAsyncResult BeginAccept(TimeSpan timeout, AsyncCallback callback, object state) 303public IAsyncResult BeginAccept(TimeSpan timeout, AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ListenerHandler.cs (3)
17private static AsyncCallback s_waitCallback = Fx.ThunkCallback(new AsyncCallback(ListenerHandler.WaitCallback)); 96protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 381protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\OperationFormatter.cs (4)
371AsyncCallback callback, object state) 388object returnValue, bool isRequest, AsyncCallback callback, object state) 731protected override IAsyncResult OnBeginWriteBodyContents(XmlDictionaryWriter writer, AsyncCallback callback, object state) 754internal OnWriteBodyContentsAsyncResult(OperationFormatterBodyWriter operationFormatterBodyWriter, XmlDictionaryWriter writer, AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\OutputChannelBinder.cs (4)
65public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 80public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 95public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state) 120public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ProxyOperationRuntime.cs (2)
320internal object[] MapAsyncBeginInputs(MethodCall methodCall, out AsyncCallback callback, out object asyncState) 338callback = args[methodCall.Args.Length - 2] as AsyncCallback;
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ReplyChannelBinder.cs (4)
67public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 82public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 97public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state) 122public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\RequestChannelBinder.cs (4)
59public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 74public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 89public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state) 123public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\StreamFormatter.cs (2)
84internal IAsyncResult BeginSerialize(XmlDictionaryWriter writer, object[] parameters, object returnValue, AsyncCallback callback, object state) 102AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\SyncMethodInvoker.cs (1)
56public IAsyncResult InvokeBegin(object instance, object[] inputs, AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\TaskMethodInvoker.cs (1)
63public IAsyncResult InvokeBegin(object instance, object[] inputs, AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\IClientChannel.cs (1)
24IAsyncResult BeginDisplayInitializationUI(AsyncCallback callback, object state);
FrameworkFork\System.ServiceModel\System\ServiceModel\ICommunicationObject.cs (4)
23IAsyncResult BeginClose(AsyncCallback callback, object state); 24IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state); 29IAsyncResult BeginOpen(AsyncCallback callback, object state); 30IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state);
FrameworkFork\System.ServiceModel\System\ServiceModel\IDuplexContextChannel.cs (1)
12IAsyncResult BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state);
FrameworkFork\System.ServiceModel\System\ServiceModel\InstanceContext.cs (3)
228protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 238protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 301public CloseAsyncResult(TimeSpan timeout, AsyncCallback callback, object state, InstanceContext instanceContext)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\ISecurityCommunicationObject.cs (2)
12IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state); 13IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityChannel.cs (3)
63protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 74private IAsyncResult BeginCloseSecurityProtocol(TimeSpan timeout, AsyncCallback callback, object state) 105public NullSecurityProtocolCloseAsyncResult(AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityProtocol.cs (2)
45public IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) { throw ExceptionHelper.PlatformNotSupported(); } 46public IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) { throw ExceptionHelper.PlatformNotSupported(); }
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityProtocolFactory.cs (4)
609public IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 614public IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 1043public IAsyncResult BeginOpen(bool actAsInitiator, TimeSpan timeout, AsyncCallback callback, object state) 1066public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityUtils.cs (1)
1062public OperationWithTimeoutAsyncResult(Action<TimeSpan> operationWithTimeout, TimeSpan timeout, AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WrapperSecurityCommunicationObject.cs (14)
47protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 52protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 227public IAsyncResult BeginClose(AsyncCallback callback, object state) 232public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 252public IAsyncResult BeginOpen(AsyncCallback callback, object state) 257public IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 277public IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 282public IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 402public IAsyncResult BeginClose(AsyncCallback callback, object state) 407public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 427public IAsyncResult BeginOpen(AsyncCallback callback, object state) 432public IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 452public IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 457public IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityJan2004.cs (1)
281public override IAsyncResult BeginReadTokenCore(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver, AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityTokenSerializer.cs (1)
447SecurityTokenResolver tokenResolver, AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSTrustFeb2005.cs (2)
276protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 286protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
FrameworkFork\System.ServiceModel\System\ServiceModel\ServiceChannelManager.cs (3)
125public IAsyncResult BeginCloseInput(TimeSpan timeout, AsyncCallback callback, object state) 314protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 319private IAsyncResult OnBeginCloseContinue(TimeSpan timeout, AsyncCallback callback, object state)
Microsoft.AspNetCore.HttpLogging (4)
BufferingStream.cs (2)
271public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) 276public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
RequestBufferingStream.cs (1)
161public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
ResponseBufferingStream.cs (1)
96public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
Microsoft.AspNetCore.Mvc.Core (2)
Infrastructure\NonDisposableStream.cs (2)
92AsyncCallback? callback, 109AsyncCallback? callback,
Microsoft.AspNetCore.OutputCaching (1)
Streams\OutputCacheStream.cs (1)
219public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
Microsoft.AspNetCore.ResponseCaching (2)
src\aspnetcore\src\Shared\SegmentWriteStream.cs (1)
180public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
Streams\ResponseCachingStream.cs (1)
184public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
Microsoft.AspNetCore.ResponseCompression (1)
ResponseCompressionBody.cs (1)
171public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
Microsoft.AspNetCore.Server.HttpSys (10)
RequestProcessing\OpaqueStream.cs (2)
88public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) 127public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
RequestProcessing\RequestStream.cs (2)
172public override unsafe IAsyncResult BeginRead(byte[] buffer, int offset, int size, AsyncCallback? callback, object? state) 296public override IAsyncResult BeginWrite(byte[] buffer, int offset, int size, AsyncCallback? callback, object? state)
RequestProcessing\RequestStreamAsyncResult.cs (2)
19private readonly AsyncCallback? _callback; 22internal RequestStreamAsyncResult(RequestStream requestStream, object? userState, AsyncCallback? callback, byte[] buffer, int offset, int size, uint dataAlreadyRead, CancellationTokenRegistration cancellationRegistration)
RequestProcessing\ResponseBody.cs (2)
430public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) 562public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
ResponseStream.cs (2)
37public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) 73public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
Microsoft.AspNetCore.Server.IIS (8)
Core\HttpRequestStream.cs (1)
34public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
Core\HttpResponseStream.cs (1)
48public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
Core\HttpUpgradeStream.cs (2)
118public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) 128public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
Core\WrappingStream.cs (2)
90public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) 93public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
src\aspnetcore\src\Shared\ServerInfrastructure\DuplexPipeStream.cs (2)
154public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) 164public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
Microsoft.AspNetCore.Server.Kestrel.Core (11)
Internal\Http\HttpRequestStream.cs (1)
90public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
Internal\Http\HttpResponseStream.cs (1)
82public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
Internal\Http\HttpUpgradeStream.cs (2)
118public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) 128public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
Internal\Infrastructure\StatusCheckWriteStream.cs (1)
100public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
Internal\Infrastructure\WrappingStream.cs (2)
89public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) 92public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
Middleware\Internal\LoggingStream.cs (2)
228public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) 238public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
src\aspnetcore\src\Shared\ServerInfrastructure\DuplexPipeStream.cs (2)
154public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) 164public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
Microsoft.AspNetCore.TestHost (2)
AsyncStreamWrapper.cs (2)
62public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) 92public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
Microsoft.AspNetCore.WebSockets (2)
AbortStream.cs (2)
65public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) 75public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
Microsoft.CodeAnalysis (1)
SpecialType.cs (1)
247/// Indicates that the type is <see cref="AsyncCallback"/>.
Microsoft.Diagnostics.NETCore.Client (2)
DiagnosticsIpc\IpcSocket.cs (1)
73Func<AsyncCallback, object, IAsyncResult> beginConnect = (callback, state) => {
DiagnosticsServerRouter\DiagnosticsServerRouterFactory.cs (1)
520Func<AsyncCallback, object, IAsyncResult> beginConnect = (callback, state) => {
Microsoft.Extensions.AI.Abstractions (1)
Files\HostedFileDownloadStream.cs (1)
61public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) =>
Microsoft.Svcutil.NamedPipeMetadataImporter (1)
IMetadataExchange.cs (1)
18IAsyncResult BeginGet(Message request, AsyncCallback callback, object state);
mscorlib (1)
parent\ref\mscorlib.cs (1)
57[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.AsyncCallback))]
netstandard (1)
netstandard.cs (1)
50[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.AsyncCallback))]
PresentationCore (2)
System\Windows\Media\Imaging\BitmapDownload.cs (2)
448internal static AsyncCallback _readCallback; 451internal static AsyncCallback _responseCallback;
PresentationFramework (6)
MS\Internal\AppModel\BamlStream.cs (2)
115AsyncCallback callback, 129AsyncCallback callback,
MS\Internal\Navigation\BindStream.cs (2)
161AsyncCallback callback, 181AsyncCallback callback,
System\Windows\Documents\PageContentAsyncResult.cs (2)
40internal PageContentAsyncResult(AsyncCallback callback, object state, Dispatcher dispatcher, Uri baseUri, Uri source, FixedPage child) 254private AsyncCallback _callback;
ScenarioTests.Common.Tests (10)
ScenarioTestTypes.cs (2)
871public IAsyncResult BeginEcho(string message, AsyncCallback callback, object asyncState) 884public IAsyncResult BeginMessageRequestReply(Message request, AsyncCallback callback, object asyncState)
ServiceInterfaces.cs (8)
208System.IAsyncResult BeginMessageRequestReply(System.ServiceModel.Channels.Message request, System.AsyncCallback callback, object asyncState); 216System.IAsyncResult BeginEcho(string message, System.AsyncCallback callback, object asyncState); 259System.IAsyncResult BeginMessageRequestReply(System.ServiceModel.Channels.Message request, System.AsyncCallback callback, object asyncState); 267System.IAsyncResult BeginEcho(string message, System.AsyncCallback callback, object asyncState); 523IAsyncResult BeginRequest(string stringRequest, AsyncCallback callback, object asyncState); 532IAsyncResult BeginRequest(string stringRequest, AsyncCallback callback, object asyncState); 541IAsyncResult BeginRequest(string stringRequest, ref int referencedInteger, AsyncCallback callback, object asyncState); 550IAsyncResult BeginRequest(string stringRequest, ref UniqueType uniqueTypeResponse, AsyncCallback callback, object asyncState);
System.DirectoryServices.Protocols (6)
System\DirectoryServices\Protocols\ldap\LdapAsyncResult.cs (3)
11internal AsyncCallback _callback; 18public LdapAsyncResult(AsyncCallback callbackRoutine, object state, bool partialResults) 86public LdapPartialAsyncResult(int messageID, AsyncCallback callbackRoutine, object state, bool partialResults, LdapConnection con, bool partialCallback, TimeSpan requestTimeout) : base(callbackRoutine, state, partialResults)
System\DirectoryServices\Protocols\ldap\LdapConnection.cs (2)
258public IAsyncResult BeginSendRequest(DirectoryRequest request, PartialResultProcessing partialMode, AsyncCallback callback, object state) 263public IAsyncResult BeginSendRequest(DirectoryRequest request, TimeSpan requestTimeout, PartialResultProcessing partialMode, AsyncCallback callback, object state)
System\DirectoryServices\Protocols\ldap\LdapPartialResultsProcessor.cs (1)
58AsyncCallback tmpCallback = null;
System.IO.Compression (10)
System\IO\Compression\DeflateManaged\DeflateManagedStream.cs (1)
154public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? asyncCallback, object? asyncState) =>
System\IO\Compression\DeflateZLib\DeflateStream.cs (2)
423public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? asyncCallback, object? asyncState) => 842public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? asyncCallback, object? asyncState) =>
System\IO\Compression\GZipStream.cs (2)
91public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? asyncCallback, object? asyncState) => 119public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? asyncCallback, object? asyncState) =>
System\IO\Compression\PositionPreservingWriteOnlyStreamWrapper.cs (1)
44public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
System\IO\Compression\ZLibStream.cs (2)
121public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? asyncCallback, object? asyncState) 182public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? asyncCallback, object? asyncState)
System\IO\Compression\Zstandard\ZstandardStream.Compress.cs (1)
302public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
System\IO\Compression\Zstandard\ZstandardStream.Decompress.cs (1)
397public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
System.IO.Compression.Brotli (3)
System\IO\Compression\dec\BrotliStream.Decompress.cs (2)
108public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? asyncCallback, object? asyncState) => 115/// <exception cref="System.ArgumentException"><paramref name="asyncResult" /> did not originate from a <see cref="System.IO.Compression.BrotliStream.BeginRead(byte[],int,int,System.AsyncCallback,object)" /> method on the current stream.</exception>
System\IO\Compression\enc\BrotliStream.Compress.cs (1)
113public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? asyncCallback, object? asyncState) =>
System.IO.Hashing (1)
System\IO\Hashing\NonCryptographicHashAlgorithm.cs (1)
338public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) =>
System.IO.IsolatedStorage (2)
System\IO\IsolatedStorage\IsolatedStorageFileStream.cs (2)
303public override IAsyncResult BeginRead(byte[] array, int offset, int numBytes, AsyncCallback? userCallback, object? stateObject) 308public override IAsyncResult BeginWrite(byte[] array, int offset, int numBytes, AsyncCallback? userCallback, object? stateObject)
System.IO.Pipelines (2)
System\IO\Pipelines\PipeReaderStream.cs (1)
77public sealed override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) =>
System\IO\Pipelines\PipeWriterStream.cs (1)
63public sealed override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) =>
System.IO.Pipes (3)
System\IO\Pipes\NamedPipeServerStream.cs (1)
162public IAsyncResult BeginWaitForConnection(AsyncCallback? callback, object? state) =>
System\IO\Pipes\PipeStream.Unix.cs (2)
105public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) 179public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
System.IO.Ports (2)
System\IO\Ports\SerialStream.Unix.cs (2)
520public override IAsyncResult BeginRead(byte[] array, int offset, int numBytes, AsyncCallback userCallback, object stateObject) 576public override IAsyncResult BeginWrite(byte[] array, int offset, int count, AsyncCallback userCallback, object stateObject)
System.Net.Http (7)
src\runtime\src\libraries\Common\src\System\IO\DelegatingStream.cs (2)
115public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) 179public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
System\Net\Http\HttpBaseStream.cs (2)
15public sealed override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) => 21public sealed override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) =>
System\Net\Http\HttpContent.cs (1)
1138public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? asyncCallback, object? asyncState) =>
System\Net\Http\MultipartContent.cs (1)
519public override IAsyncResult BeginRead(byte[] array, int offset, int count, AsyncCallback? asyncCallback, object? asyncState) =>
System\Net\Http\StreamContent.cs (1)
162public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) =>
System.Net.Http.WinHttpHandler (2)
System\Net\Http\WinHttpRequestStream.cs (1)
140public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? asyncCallback, object? asyncState) =>
System\Net\Http\WinHttpResponseStream.cs (1)
201public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) =>
System.Net.HttpListener (18)
src\runtime\src\libraries\Common\src\System\Net\LazyAsyncResult.cs (3)
32private AsyncCallback? _asyncCallback; // Caller's callback method. 43internal LazyAsyncResult(object? myObject, object? myState, AsyncCallback? myCallBack) 70protected AsyncCallback? AsyncCallback
System\Net\HttpListenerRequest.cs (1)
244public IAsyncResult BeginGetClientCertificate(AsyncCallback? requestCallback, object? state)
System\Net\HttpRequestStream.cs (2)
30public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) 56public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
System\Net\HttpResponseStream.cs (2)
36public override IAsyncResult BeginRead(byte[] buffer, int offset, int size, AsyncCallback? callback, object? state) 57public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
System\Net\Managed\ChunkedInputStream.cs (1)
79protected override IAsyncResult BeginReadCore(byte[] buffer, int offset, int size, AsyncCallback? cback, object? state)
System\Net\Managed\HttpConnection.cs (1)
47private static readonly AsyncCallback s_onreadCallback = new AsyncCallback(OnRead);
System\Net\Managed\HttpListener.Managed.cs (1)
273public IAsyncResult BeginGetContext(AsyncCallback? callback, object? state)
System\Net\Managed\HttpListenerRequest.Managed.cs (2)
338private GetClientCertificateAsyncResult BeginGetClientCertificateCore(AsyncCallback? requestCallback, object? state) 377public GetClientCertificateAsyncResult(object myObject, object? myState, AsyncCallback? myCallBack) : base(myObject, myState, myCallBack) { }
System\Net\Managed\HttpRequestStream.Managed.cs (1)
129protected virtual IAsyncResult BeginReadCore(byte[] buffer, int offset, int size, AsyncCallback? cback, object? state)
System\Net\Managed\HttpResponseStream.Managed.cs (1)
204private IAsyncResult BeginWriteCore(byte[] buffer, int offset, int size, AsyncCallback? cback, object? state)
System\Net\Managed\HttpStreamAsyncResult.cs (1)
47internal AsyncCallback? _callback;
System\Net\Managed\ListenerAsyncResult.Managed.cs (2)
45private readonly AsyncCallback? _cb; 55public ListenerAsyncResult(HttpListener parent, AsyncCallback? cb, object? state)
System.Net.Mail (2)
System\Net\DelegatedStream.cs (2)
59public sealed override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) 68public sealed override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
System.Net.NameResolution (8)
System\Net\Dns.cs (5)
173public static IAsyncResult BeginGetHostEntry(IPAddress address, AsyncCallback? requestCallback, object? stateObject) => 176public static IAsyncResult BeginGetHostEntry(string hostNameOrAddress, AsyncCallback? requestCallback, object? stateObject) => 252public static IAsyncResult BeginGetHostAddresses(string hostNameOrAddress, AsyncCallback? requestCallback, object? state) => 278public static IAsyncResult BeginGetHostByName(string hostName, AsyncCallback? requestCallback, object? stateObject) => 347public static IAsyncResult BeginResolve(string hostName, AsyncCallback? requestCallback, object? stateObject) =>
System\Net\DnsSocket.cs (3)
59private readonly Func<EndPoint, AsyncCallback?, object?, IAsyncResult> _beginConnect; 86BeginConnectMethod = socketType.GetMethod("BeginConnect", new[] { typeof(EndPoint), typeof(AsyncCallback), typeof(object) })!, 119_beginConnect = reflection.BeginConnectMethod.CreateDelegate<Func<EndPoint, AsyncCallback?, object?, IAsyncResult>>(socket);
System.Net.NetworkInformation (2)
System\Net\NetworkInformation\IPGlobalProperties.cs (1)
68public virtual IAsyncResult BeginGetUnicastAddresses(AsyncCallback? callback, object? state)
System\Net\NetworkInformation\UnixIPGlobalProperties.cs (1)
43public override IAsyncResult BeginGetUnicastAddresses(AsyncCallback? callback, object? state)
System.Net.Quic (2)
System\Net\Quic\QuicStream.Stream.cs (2)
92public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) 155public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
System.Net.Requests (34)
src\runtime\src\libraries\Common\src\System\Net\ContextAwareResult.cs (7)
23private readonly AsyncCallback? _savedCallback; 26internal CallbackClosure(ExecutionContext context, AsyncCallback? callback) 35internal bool IsCompatible(AsyncCallback? callback) 52internal AsyncCallback? AsyncCallback 90internal ContextAwareResult(object myObject, object? myState, AsyncCallback? myCallBack) : 100internal ContextAwareResult(bool captureIdentity, bool forceCaptureContext, object? myObject, object? myState, AsyncCallback? myCallBack) : 104internal ContextAwareResult(bool captureIdentity, bool forceCaptureContext, bool threadSafeContextCopy, object? myObject, object? myState, AsyncCallback? myCallBack) :
src\runtime\src\libraries\Common\src\System\Net\LazyAsyncResult.cs (3)
32private AsyncCallback? _asyncCallback; // Caller's callback method. 43internal LazyAsyncResult(object? myObject, object? myState, AsyncCallback? myCallBack) 70protected AsyncCallback? AsyncCallback
System\Net\CommandStream.cs (2)
21private static readonly AsyncCallback s_writeCallbackDelegate = new AsyncCallback(WriteCallback); 22private static readonly AsyncCallback s_readCallbackDelegate = new AsyncCallback(ReadCallback);
System\Net\FileWebRequest.cs (4)
157public override IAsyncResult BeginGetRequestStream(AsyncCallback? callback, object? state) 218public override IAsyncResult BeginGetResponse(AsyncCallback? callback, object? state) 368public override IAsyncResult BeginRead(byte[] buffer, int offset, int size, AsyncCallback? callback, object? state) 395public override IAsyncResult BeginWrite(byte[] buffer, int offset, int size, AsyncCallback? callback, object? state)
System\Net\FtpControlStream.cs (3)
75private static readonly AsyncCallback s_acceptCallbackDelegate = new AsyncCallback(AcceptCallback); 76private static readonly AsyncCallback s_connectCallbackDelegate = new AsyncCallback(ConnectCallback); 77private static readonly AsyncCallback s_SSLHandshakeCallback = new AsyncCallback(SSLHandshakeCallback);
System\Net\FtpDataStream.cs (2)
304public override IAsyncResult BeginRead(byte[] buffer, int offset, int size, AsyncCallback? callback, object? state) 339public override IAsyncResult BeginWrite(byte[] buffer, int offset, int size, AsyncCallback? callback, object? state)
System\Net\FtpWebRequest.cs (2)
605public override IAsyncResult BeginGetResponse(AsyncCallback? callback, object? state) 764public override IAsyncResult BeginGetRequestStream(AsyncCallback? callback, object? state)
System\Net\HttpWebRequest.cs (4)
75private AsyncCallback? _requestStreamCallback; 76private AsyncCallback? _responseCallback; 1146public override IAsyncResult BeginGetRequestStream(AsyncCallback? callback, object? state) 1423public override IAsyncResult BeginGetResponse(AsyncCallback? callback, object? state)
System\Net\NetworkStreamWrapper.cs (2)
178public override IAsyncResult BeginRead(byte[] buffer, int offset, int size, AsyncCallback? callback, object? state) 198public override IAsyncResult BeginWrite(byte[] buffer, int offset, int size, AsyncCallback? callback, object? state)
System\Net\RequestBufferingStream.cs (1)
91public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? asyncCallback, object? asyncState)
System\Net\RequestStream.cs (1)
115public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? asyncCallback, object? asyncState)
System\Net\TaskExtensions.cs (1)
14AsyncCallback? callback,
System\Net\WebRequest.cs (2)
498public virtual IAsyncResult BeginGetResponse(AsyncCallback? callback, object? state) 508public virtual IAsyncResult BeginGetRequestStream(AsyncCallback? callback, object? state)
System.Net.Security (22)
System\Net\Security\NegotiateStream.cs (11)
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) => 116AsyncCallback? asyncCallback, object? asyncState) => 122AsyncCallback? asyncCallback, object? asyncState) => 142public virtual IAsyncResult BeginAuthenticateAsServer(AsyncCallback? asyncCallback, object? asyncState) => 145public virtual IAsyncResult BeginAuthenticateAsServer(ExtendedProtectionPolicy? policy, AsyncCallback? asyncCallback, object? asyncState) => 150AsyncCallback? asyncCallback, object? asyncState) => 155AsyncCallback? asyncCallback, object? asyncState) => 568public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? asyncCallback, object? asyncState) => 574public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? asyncCallback, object? asyncState) =>
System\Net\Security\SslStream.cs (11)
234public virtual IAsyncResult BeginAuthenticateAsClient(string targetHost, AsyncCallback? asyncCallback, object? asyncState) 241bool checkCertificateRevocation, AsyncCallback? asyncCallback, object? asyncState) 248AsyncCallback? asyncCallback, object? asyncState) 262internal IAsyncResult BeginAuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions, CancellationToken cancellationToken, AsyncCallback? asyncCallback, object? asyncState) => 270public virtual IAsyncResult BeginAuthenticateAsServer(X509Certificate serverCertificate, AsyncCallback? asyncCallback, object? asyncState) 279bool checkCertificateRevocation, AsyncCallback? asyncCallback, object? asyncState) 286AsyncCallback? asyncCallback, 301private IAsyncResult BeginAuthenticateAsServer(SslServerAuthenticationOptions sslServerAuthenticationOptions, CancellationToken cancellationToken, AsyncCallback? asyncCallback, object? asyncState) => 306internal IAsyncResult BeginShutdown(AsyncCallback? asyncCallback, object? asyncState) => TaskToAsyncResult.Begin(ShutdownAsync(), asyncCallback, asyncState); 854public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? asyncCallback, object? asyncState) 866public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? asyncCallback, object? asyncState)
System.Net.Sockets (32)
System\Net\Sockets\NetworkStream.cs (2)
433public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) 499public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
System\Net\Sockets\Socket.cs (21)
2459public IAsyncResult BeginConnect(EndPoint remoteEP, AsyncCallback? callback, object? state) => 2462public IAsyncResult BeginConnect(string host, int port, AsyncCallback? requestCallback, object? state) => 2465public IAsyncResult BeginConnect(IPAddress address, int port, AsyncCallback? requestCallback, object? state) => 2468public IAsyncResult BeginConnect(IPAddress[] addresses, int port, AsyncCallback? requestCallback, object? state) => 2473public IAsyncResult BeginDisconnect(bool reuseSocket, AsyncCallback? callback, object? state) => 2499public IAsyncResult BeginSend(byte[] buffer, int offset, int size, SocketFlags socketFlags, AsyncCallback? callback, object? state) 2509public IAsyncResult? BeginSend(byte[] buffer, int offset, int size, SocketFlags socketFlags, out SocketError errorCode, AsyncCallback? callback, object? state) 2527public IAsyncResult BeginSend(IList<ArraySegment<byte>> buffers, SocketFlags socketFlags, AsyncCallback? callback, object? state) 2536public IAsyncResult? BeginSend(IList<ArraySegment<byte>> buffers, SocketFlags socketFlags, out SocketError errorCode, AsyncCallback? callback, object? state) 2558public IAsyncResult BeginSendFile(string? fileName, AsyncCallback? callback, object? state) 2565public IAsyncResult BeginSendFile(string? fileName, byte[]? preBuffer, byte[]? postBuffer, TransmitFileOptions flags, AsyncCallback? callback, object? state) 2583public IAsyncResult BeginSendTo(byte[] buffer, int offset, int size, SocketFlags socketFlags, EndPoint remoteEP, AsyncCallback? callback, object? state) 2597public IAsyncResult BeginReceive(byte[] buffer, int offset, int size, SocketFlags socketFlags, AsyncCallback? callback, object? state) 2606public IAsyncResult? BeginReceive(byte[] buffer, int offset, int size, SocketFlags socketFlags, out SocketError errorCode, AsyncCallback? callback, object? state) 2624public IAsyncResult BeginReceive(IList<ArraySegment<byte>> buffers, SocketFlags socketFlags, AsyncCallback? callback, object? state) 2632public IAsyncResult? BeginReceive(IList<ArraySegment<byte>> buffers, SocketFlags socketFlags, out SocketError errorCode, AsyncCallback? callback, object? state) 2672public IAsyncResult BeginReceiveMessageFrom(byte[] buffer, int offset, int size, SocketFlags socketFlags, ref EndPoint remoteEP, AsyncCallback? callback, object? state) 2715public IAsyncResult BeginReceiveFrom(byte[] buffer, int offset, int size, SocketFlags socketFlags, ref EndPoint remoteEP, AsyncCallback? callback, object? state) 2753public IAsyncResult BeginAccept(AsyncCallback? callback, object? state) => 2791public IAsyncResult BeginAccept(int receiveSize, AsyncCallback? callback, object? state) => 2794public IAsyncResult BeginAccept(Socket? acceptSocket, int receiveSize, AsyncCallback? callback, object? state) =>
System\Net\Sockets\TCPClient.cs (3)
228public IAsyncResult BeginConnect(IPAddress address, int port, AsyncCallback? requestCallback, object? state) => 231public IAsyncResult BeginConnect(string host, int port, AsyncCallback? requestCallback, object? state) => 234public IAsyncResult BeginConnect(IPAddress[] addresses, int port, AsyncCallback? requestCallback, object? state) =>
System\Net\Sockets\TCPListener.cs (2)
209public IAsyncResult BeginAcceptSocket(AsyncCallback? callback, object? state) => 215public IAsyncResult BeginAcceptTcpClient(AsyncCallback? callback, object? state) =>
System\Net\Sockets\UDPClient.cs (4)
284public IAsyncResult BeginSend(byte[] datagram, int bytes, AsyncCallback? requestCallback, object? state) => 287public IAsyncResult BeginSend(byte[] datagram, int bytes, string? hostname, int port, AsyncCallback? requestCallback, object? state) => 290public IAsyncResult BeginSend(byte[] datagram, int bytes, IPEndPoint? endPoint, AsyncCallback? requestCallback, object? state) 364public IAsyncResult BeginReceive(AsyncCallback? requestCallback, object? state)
System.Net.WebSockets (2)
System\Net\WebSockets\WebSocketStream.cs (2)
137public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) => 157public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) =>
System.Private.CoreLib (59)
src\runtime\src\libraries\Common\src\System\Threading\Tasks\TaskToAsyncResult.cs (3)
32public static IAsyncResult Begin(Task task, AsyncCallback? callback, object? state) 113private readonly AsyncCallback? _callback; 119internal TaskAsyncResult(Task task, object? state, AsyncCallback? callback)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\BufferedStream.cs (2)
727public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) => 1141public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) =>
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\FileStream.cs (4)
532public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) 555public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) 624internal IAsyncResult BaseBeginRead(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) 629internal IAsyncResult BaseBeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Strategies\BufferedFileStreamStrategy.cs (2)
459public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) 743public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Strategies\DerivedFileStreamStrategy.cs (2)
66public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) 94public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
src\runtime\src\libraries\System.Private.CoreLib\src\System\IO\Strategies\OSFileStreamStrategy.cs (2)
247public sealed override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) => 262public sealed override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) =>
src\runtime\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) => 203byte[] buffer, int offset, int count, AsyncCallback? callback, object? state, 475public virtual IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) => 479byte[] buffer, int offset, int count, AsyncCallback? callback, object? state, 646private AsyncCallback? _callback; 659Stream stream, byte[] buffer, int offset, int count, AsyncCallback? callback) : 690AsyncCallback? callback = rwc._callback; 706AsyncCallback? callback = _callback; 1036public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) => 1042public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) => 1214public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) 1285public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\TranscodingStream.cs (2)
85public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) 88public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory_T.cs (14)
717Func<AsyncCallback, object?, IAsyncResult> beginMethod, 746Func<AsyncCallback, object?, IAsyncResult> beginMethod, 754internal static Task<TResult> FromAsyncImpl(Func<AsyncCallback, object?, IAsyncResult> beginMethod, 828Func<TArg1, AsyncCallback, object?, IAsyncResult> beginMethod, 862Func<TArg1, AsyncCallback, object?, IAsyncResult> beginMethod, 871internal static Task<TResult> FromAsyncImpl<TArg1>(Func<TArg1, AsyncCallback, object?, IAsyncResult> beginMethod, 949Func<TArg1, TArg2, AsyncCallback, object?, IAsyncResult> beginMethod, 987Func<TArg1, TArg2, AsyncCallback, object?, IAsyncResult> beginMethod, 996internal static Task<TResult> FromAsyncImpl<TArg1, TArg2>(Func<TArg1, TArg2, AsyncCallback, object?, IAsyncResult> beginMethod, 1078Func<TArg1, TArg2, TArg3, AsyncCallback, object?, IAsyncResult> beginMethod, 1120Func<TArg1, TArg2, TArg3, AsyncCallback, object?, IAsyncResult> beginMethod, 1129internal static Task<TResult> FromAsyncImpl<TArg1, TArg2, TArg3>(Func<TArg1, TArg2, TArg3, AsyncCallback, object?, IAsyncResult> beginMethod, 1195Func<TInstance, TArgs, AsyncCallback, object, IAsyncResult> beginMethod, 1231internal static readonly AsyncCallback s_completeFromAsyncResult = CompleteFromAsyncResult;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs (16)
876Func<AsyncCallback, object?, IAsyncResult> beginMethod, 906Func<AsyncCallback, object?, IAsyncResult> beginMethod, 935Func<TArg1, AsyncCallback, object?, IAsyncResult> beginMethod, 971Func<TArg1, AsyncCallback, object?, IAsyncResult> beginMethod, 1005Func<TArg1, TArg2, AsyncCallback, object?, IAsyncResult> beginMethod, 1044Func<TArg1, TArg2, AsyncCallback, object?, IAsyncResult> beginMethod, 1082Func<TArg1, TArg2, TArg3, AsyncCallback, object?, IAsyncResult> beginMethod, 1125Func<TArg1, TArg2, TArg3, AsyncCallback, object?, IAsyncResult> beginMethod, 1240Func<AsyncCallback, object?, IAsyncResult> beginMethod, 1272Func<AsyncCallback, object?, IAsyncResult> beginMethod, 1303Func<TArg1, AsyncCallback, object?, IAsyncResult> beginMethod, 1338public Task<TResult> FromAsync<TArg1, TResult>(Func<TArg1, AsyncCallback, object?, IAsyncResult> beginMethod, 1372public Task<TResult> FromAsync<TArg1, TArg2, TResult>(Func<TArg1, TArg2, AsyncCallback, object?, IAsyncResult> beginMethod, 1412Func<TArg1, TArg2, AsyncCallback, object?, IAsyncResult> beginMethod, 1451Func<TArg1, TArg2, TArg3, AsyncCallback, object?, IAsyncResult> beginMethod, 1495Func<TArg1, TArg2, TArg3, AsyncCallback, object?, IAsyncResult> beginMethod,
System.Runtime (1)
src\runtime\artifacts\obj\System.Runtime\Release\net11.0\System.Runtime.Forwards.cs (1)
45[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.AsyncCallback))]
System.Security.Cryptography (2)
System\Security\Cryptography\CryptoStream.cs (2)
251public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) => 490public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state) =>
System.ServiceModel.Federation (41)
System\IdentityModel\Security\WrapperSecurityCommunicationObject.cs (12)
50protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 55protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 234public IAsyncResult BeginClose(AsyncCallback callback, object state) 239public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 259public IAsyncResult BeginOpen(AsyncCallback callback, object state) 264public IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 386public IAsyncResult BeginClose(AsyncCallback callback, object state) 391public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 411public IAsyncResult BeginOpen(AsyncCallback callback, object state) 416public IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 436public IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 441public IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
System\Runtime\OperationWithTimeoutAsyncResult.cs (6)
20public OperationWithTimeoutAsyncResult(Action<TimeSpan> operationWithTimeout, TimeSpan timeout, AsyncCallback callback, object state) 57private static AsyncCallback s_asyncCompletionWrapperCallback; 58private AsyncCallback _callback; 68protected AsyncResult(AsyncCallback callback, object state) 122protected Action<AsyncCallback, IAsyncResult> VirtualCallback 268protected AsyncCallback PrepareAsyncCompletion(AsyncCompletion callback)
System\Runtime\TaskHelpers.cs (10)
19public static Task<TResult> ToApm<TResult>(this Task<TResult> task, AsyncCallback callback, object state) 31var callbackObj = obj as AsyncCallback; 43var tuple = obj as Tuple<TaskCompletionSource<TResult>, AsyncCallback>; 45var callbackObj = tuple.Item2; 73public static Task ToApm(this Task task, AsyncCallback callback, object state) 85var callbackObj = obj as AsyncCallback; 99var tuple = obj as Tuple<TaskCompletionSource<object>, AsyncCallback>; 101var callbackObj = tuple.Item2;
System\ServiceModel\Federation\WSTrustChannel.cs (8)
218/// The <see cref="AsyncCallback" /> delegate that receives notification of the completion of the asynchronous 226IAsyncResult ICommunicationObject.BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 235/// The <see cref="AsyncCallback" /> delegate that receives notification of the completion of the asynchronous 243IAsyncResult ICommunicationObject.BeginClose(AsyncCallback callback, object state) 255/// The <see cref="AsyncCallback" /> delegate that receives notification of the completion of the asynchronous 263IAsyncResult ICommunicationObject.BeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 272/// The <see cref="AsyncCallback" /> delegate that receives notification of the completion of the asynchronous 280IAsyncResult ICommunicationObject.BeginOpen(AsyncCallback callback, object state)
System\ServiceModel\Federation\WSTrustChannelSecurityTokenProvider.cs (5)
213protected override IAsyncResult BeginGetTokenCore(TimeSpan timeout, AsyncCallback callback, object state) 538IAsyncResult ICommunicationObject.BeginClose(AsyncCallback callback, object state) 543IAsyncResult ICommunicationObject.BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 563IAsyncResult ICommunicationObject.BeginOpen(AsyncCallback callback, object state) 568IAsyncResult ICommunicationObject.BeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
System.ServiceModel.Http (14)
System\ServiceModel\Channels\ClientWebSocketTransportDuplexSessionChannel.cs (1)
42protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\HttpChannelFactory.cs (3)
574protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 853protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 885protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\HttpsChannelFactory.cs (2)
345protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 373protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\TransportDuplexSessionChannel.cs (7)
103public IAsyncResult BeginReceive(AsyncCallback callback, object state) 108public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state) 118public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 208public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state) 371protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 701public IAsyncResult BeginCloseOutputSession(AsyncCallback callback, object state) 706public IAsyncResult BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (1)
17private static readonly AsyncCallback s_streamedWriteCallback = Fx.ThunkCallback(StreamWriteCallback);
System.ServiceModel.NetFramingBase (20)
System\ServiceModel\Channels\Connection.cs (1)
221public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
System\ServiceModel\Channels\FramingChannels.cs (1)
187protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\NetFramingTransportChannelFactory.cs (2)
216protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) => OnCloseAsync(timeout).ToApm(callback, state); 312protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\OutputChannel.cs (2)
21public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state) 26public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (2)
171protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 223protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\StreamedFramingRequestChannel.cs (2)
36protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) => Task.CompletedTask.ToApm(callback, state); 120protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) => WaitForPendingRequestsAsync(timeout).ToApm(callback, state);
System\ServiceModel\Channels\TransportChannelFactory.cs (1)
112protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\TransportDuplexSessionChannel.cs (7)
106public IAsyncResult BeginReceive(AsyncCallback callback, object state) 111public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state) 121public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 210public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state) 322protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 619public IAsyncResult BeginCloseOutputSession(AsyncCallback callback, object state) 624public IAsyncResult BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\WindowsStreamSecurityUpgradeProvider.cs (2)
69protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 88protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
System.ServiceModel.Primitives (330)
Internals\System\Runtime\AsyncResult.cs (5)
15private static AsyncCallback s_asyncCompletionWrapperCallback; 16private AsyncCallback _callback; 30protected AsyncResult(AsyncCallback callback, object state) 84protected Action<AsyncCallback, IAsyncResult> VirtualCallback 230protected AsyncCallback PrepareAsyncCompletion(AsyncCompletion callback)
Internals\System\Runtime\BufferedOutputStream.cs (2)
137public override IAsyncResult BeginRead(byte[] buffer, int offset, int size, AsyncCallback callback, object state) 147public override IAsyncResult BeginWrite(byte[] buffer, int offset, int size, AsyncCallback callback, object state)
Internals\System\Runtime\CompletedAsyncResult.cs (3)
11public CompletedAsyncResult(AsyncCallback callback, object state) 29public CompletedAsyncResult(T data, AsyncCallback callback, object state) 50public CompletedAsyncResult(TResult resultData, TParameter parameter, AsyncCallback callback, object state)
Internals\System\Runtime\Fx.cs (5)
287public static AsyncCallback ThunkCallback(AsyncCallback callback) 956internal sealed class AsyncThunk : Thunk<AsyncCallback> 958public AsyncThunk(AsyncCallback callback) : base(callback) 962public AsyncCallback ThunkFrame
Internals\System\Runtime\InputQueue.cs (6)
34public InputQueue(Func<Action<AsyncCallback, IAsyncResult>> asyncCallbackGenerator) 60private Func<Action<AsyncCallback, IAsyncResult>> AsyncCallbackGenerator 71public IAsyncResult BeginDequeue(TimeSpan timeout, AsyncCallback callback, object state) 109public IAsyncResult BeginWaitForItem(TimeSpan timeout, AsyncCallback callback, object state) 900public AsyncQueueReader(InputQueue<T> inputQueue, TimeSpan timeout, AsyncCallback callback, object state) 957public AsyncQueueWaiter(TimeSpan timeout, AsyncCallback callback, object state) : base(callback, state)
Internals\System\Runtime\ScheduleActionItemAsyncResult.cs (1)
18protected ScheduleActionItemAsyncResult(AsyncCallback callback, object state) : base(callback, state) { }
Internals\System\Runtime\TaskHelpers.cs (11)
34public static Task<TResult> ToApm<TResult>(this Task<TResult> task, AsyncCallback callback, object state) 46var callbackObj = obj as AsyncCallback; 58var tuple = obj as Tuple<TaskCompletionSource<TResult>, AsyncCallback>; 60var callbackObj = tuple.Item2; 88public static Task ToApm(this Task task, AsyncCallback callback, object state) 100var callbackObj = obj as AsyncCallback; 114var tuple = obj as Tuple<TaskCompletionSource<object>, AsyncCallback>; 116var callbackObj = tuple.Item2; 161public static Task<(TOut1, TOut2)> FromAsync<TIn, TOut1, TOut2>(Func<TIn, AsyncCallback, object, IAsyncResult> beginDelegate, EndWithOutDelegate<TOut2, TOut1> endDelegate, TIn arg1, object state)
Internals\System\Xml\XmlMtomReader.cs (3)
2162public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state) 2881public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object state) 2889public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
System\IdentityModel\Selectors\SecurityTokenProvider.cs (6)
39public IAsyncResult BeginGetToken(TimeSpan timeout, AsyncCallback callback, object state) 73protected virtual IAsyncResult BeginGetTokenCore(TimeSpan timeout, AsyncCallback callback, object state) 114public IAsyncResult BeginRenewToken(TimeSpan timeout, SecurityToken tokenToBeRenewed, AsyncCallback callback, object state) 161protected virtual IAsyncResult BeginRenewTokenCore(TimeSpan timeout, SecurityToken tokenToBeRenewed, AsyncCallback callback, object state) 193public IAsyncResult BeginCancelToken(TimeSpan timeout, SecurityToken token, AsyncCallback callback, object state) 228protected virtual IAsyncResult BeginCancelTokenCore(TimeSpan timeout, SecurityToken token, AsyncCallback callback, object state)
System\ServiceModel\ChannelFactory.cs (2)
275protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 293protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\BodyWriter.cs (2)
98protected virtual IAsyncResult OnBeginWriteBodyContents(XmlDictionaryWriter writer, AsyncCallback callback, object state) 141public IAsyncResult BeginWriteBodyContents(XmlDictionaryWriter writer, AsyncCallback callback, object state)
System\ServiceModel\Channels\ChannelFactoryBase.cs (2)
62protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 195protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\ClientReliableDuplexSessionChannel.cs (5)
676protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 1104protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 1109protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 1282public IAsyncResult BeginCloseOutputSession(AsyncCallback callback, object state) 1287public IAsyncResult BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\CloseCollectionAsyncResult.cs (2)
16private static AsyncCallback s_nestedCallback = Fx.ThunkCallback(new AsyncCallback(Callback)); 19public CloseCollectionAsyncResult(TimeSpan timeout, AsyncCallback otherCallback, object state, IList<ICommunicationObject> collection)
System\ServiceModel\Channels\CommunicationObject.cs (8)
192public IAsyncResult BeginClose(AsyncCallback callback, object state) 197public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 202public IAsyncResult BeginOpen(AsyncCallback callback, object state) 207public IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 987protected abstract IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state); 993protected abstract IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state); 1151public static IAsyncResult OnBeginClose(CommunicationObject communicationObject, TimeSpan timeout, AsyncCallback callback, object state) 1166public static IAsyncResult OnBeginOpen(CommunicationObject communicationObject, TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\DelegatingStream.cs (2)
87public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object state) => ReadAsync(buffer, offset, count).ToApm(callback, state); 99public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state) => WriteAsync(buffer, offset, count).ToApm(callback, state);
System\ServiceModel\Channels\DuplexChannel.cs (6)
41public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state) 46public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 113public IAsyncResult BeginReceive(AsyncCallback callback, object state) 118public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state) 145public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 172public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\IChannelAcceptor.cs (2)
12IAsyncResult BeginAcceptChannel(TimeSpan timeout, AsyncCallback callback, object state); 16IAsyncResult BeginWaitForChannel(TimeSpan timeout, AsyncCallback callback, object state);
System\ServiceModel\Channels\IChannelListener.cs (3)
15IAsyncResult BeginWaitForChannel(TimeSpan timeout, AsyncCallback callback, object state); 24IAsyncResult BeginAcceptChannel(AsyncCallback callback, object state); 25IAsyncResult BeginAcceptChannel(TimeSpan timeout, AsyncCallback callback, object state);
System\ServiceModel\Channels\IDuplexSession.cs (2)
14IAsyncResult BeginCloseOutputSession(AsyncCallback callback, object state); 15IAsyncResult BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state);
System\ServiceModel\Channels\IInputChannel.cs (4)
16IAsyncResult BeginReceive(AsyncCallback callback, object state); 17IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state); 21IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state); 25IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state);
System\ServiceModel\Channels\InputQueueChannel.cs (1)
141protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\IOutputChannel.cs (2)
16IAsyncResult BeginSend(Message message, AsyncCallback callback, object state); 17IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state);
System\ServiceModel\Channels\IReplyChannel.cs (4)
14IAsyncResult BeginReceiveRequest(AsyncCallback callback, object state); 15IAsyncResult BeginReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state); 19IAsyncResult BeginTryReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state); 23IAsyncResult BeginWaitForRequest(TimeSpan timeout, AsyncCallback callback, object state);
System\ServiceModel\Channels\IRequestChannel.cs (2)
17IAsyncResult BeginRequest(Message message, AsyncCallback callback, object state); 18IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state);
System\ServiceModel\Channels\LayeredChannel.cs (2)
58protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) => throw ExceptionHelper.PlatformNotSupported(); 69protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) => throw ExceptionHelper.PlatformNotSupported();
System\ServiceModel\Channels\LayeredChannelFactory.cs (10)
37protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 47protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 157public IAsyncResult BeginReceive(AsyncCallback callback, object state) 162public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state) 172public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 225public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state) 278protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) => throw ExceptionHelper.PlatformNotSupported(); 291protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) => throw ExceptionHelper.PlatformNotSupported(); 336public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state) 341public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\LifetimeManager.cs (1)
229protected virtual IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\Message.cs (7)
457public IAsyncResult BeginWriteBodyContents(XmlDictionaryWriter writer, AsyncCallback callback, object state) 476protected virtual IAsyncResult OnBeginWriteBodyContents(XmlDictionaryWriter writer, AsyncCallback callback, object state) 764public IAsyncResult BeginWriteMessage(XmlDictionaryWriter writer, AsyncCallback callback, object state) 823protected virtual IAsyncResult OnBeginWriteMessage(XmlDictionaryWriter writer, AsyncCallback callback, object state) 878public OnWriteMessageAsyncResult(XmlDictionaryWriter writer, Message message, AsyncCallback callback, object state) 1199protected override IAsyncResult OnBeginWriteMessage(XmlDictionaryWriter writer, AsyncCallback callback, object state) 1211protected override IAsyncResult OnBeginWriteBodyContents(XmlDictionaryWriter writer, AsyncCallback callback, object state)
System\ServiceModel\Channels\MessageEncoder.cs (1)
108public virtual IAsyncResult BeginWriteMessage(Message message, Stream stream, AsyncCallback callback, object state)
System\ServiceModel\Channels\MtomMessageEncoder.cs (1)
529public override IAsyncResult BeginWriteMessage(Message message, Stream stream, AsyncCallback callback, object state)
System\ServiceModel\Channels\OpenCollectionAsyncResult.cs (2)
16private static AsyncCallback s_nestedCallback = Fx.ThunkCallback(new AsyncCallback(Callback)); 20public OpenCollectionAsyncResult(TimeSpan timeout, AsyncCallback otherCallback, object state, IList<ICommunicationObject> collection)
System\ServiceModel\Channels\OutputChannel.cs (2)
21public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state) 26public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\ReliableChannelBinder.cs (3)
32private AsyncCallback _onCloseChannelComplete; 1889protected override IAsyncResult OnBeginReply(Message message, TimeSpan timeout, AsyncCallback callback, object state) 1934AsyncCallback callback, object state)
System\ServiceModel\Channels\ReliableChannelFactory.cs (2)
77protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 101protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\ReliableOutputSessionChannel.cs (2)
199protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 204protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\ReliableRequestSessionChannel.cs (2)
208protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 213protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\RequestChannel.cs (2)
203public IAsyncResult BeginRequest(Message message, AsyncCallback callback, object state) 208public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\RequestContext.cs (2)
20public abstract IAsyncResult BeginReply(Message message, AsyncCallback callback, object state); 21public abstract IAsyncResult BeginReply(Message message, TimeSpan timeout, AsyncCallback callback, object state);
System\ServiceModel\Channels\RequestContextBase.cs (3)
177protected abstract IAsyncResult OnBeginReply(Message message, TimeSpan timeout, AsyncCallback callback, object state); 220public override IAsyncResult BeginReply(Message message, AsyncCallback callback, object state) 225public override IAsyncResult BeginReply(Message message, TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\SecurityChannelFactory.cs (10)
114protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 213protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 342public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state) 347public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 412public IAsyncResult BeginRequest(Message message, AsyncCallback callback, object state) 417public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state) 549public IAsyncResult BeginReceive(AsyncCallback callback, object state) 554public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state) 564public virtual IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 658public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\ServiceChannel.cs (23)
447private IAsyncResult BeginEnsureDisplayUI(AsyncCallback callback, object state) 486private IAsyncResult BeginEnsureOpened(TimeSpan timeout, AsyncCallback callback, object state) 666internal static IAsyncResult BeginCall(ServiceChannel channel, ProxyOperationRuntime operation, object[] ins, AsyncCallback callback, object asyncState) 673internal IAsyncResult BeginCall(string action, bool oneway, ProxyOperationRuntime operation, object[] ins, AsyncCallback callback, object asyncState) 678internal IAsyncResult BeginCall(string action, bool oneway, ProxyOperationRuntime operation, object[] ins, TimeSpan timeout, AsyncCallback callback, object asyncState) 1212public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state) 1217public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 1239public IAsyncResult BeginRequest(Message message, AsyncCallback callback, object state) 1244public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state) 1280protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 1322protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 1410IAsyncResult IDuplexContextChannel.BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state) 1585public IAsyncResult BeginDisplayInitializationUI(AsyncCallback callback, object state) 1691private static AsyncCallback s_ensureInteractiveInitCallback = Fx.ThunkCallback(EnsureInteractiveInitCallback); 1692private static AsyncCallback s_ensureOpenCallback = Fx.ThunkCallback(EnsureOpenCallback); 1693private static AsyncCallback s_sendCallback = Fx.ThunkCallback(SendCallback); 1697AsyncCallback userCallback, object userState) 1948IAsyncResult BeginCall(ServiceChannel channel, TimeSpan timeout, AsyncCallback callback, object state); 1983IAsyncResult ICallOnce.BeginCall(ServiceChannel channel, TimeSpan timeout, AsyncCallback callback, object state) 2016IAsyncResult ICallOnce.BeginCall(ServiceChannel channel, TimeSpan timeout, AsyncCallback callback, object state) 2122AsyncCallback callback, object state) 2334AsyncCallback callback, object state) 2382internal CallOnceCompletedAsyncResult(AsyncCallback callback, object state)
System\ServiceModel\Channels\ServiceChannelFactory.cs (3)
262protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 442protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 459protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\ServiceChannelProxy.cs (11)
369AsyncCallback callback; 588IAsyncResult ICommunicationObject.BeginClose(AsyncCallback callback, object state) 593IAsyncResult ICommunicationObject.BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 613IAsyncResult ICommunicationObject.BeginOpen(AsyncCallback callback, object state) 618IAsyncResult ICommunicationObject.BeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 656IAsyncResult IClientChannel.BeginDisplayInitializationUI(AsyncCallback callback, object state) 745IAsyncResult IOutputChannel.BeginSend(Message message, AsyncCallback callback, object state) 750IAsyncResult IOutputChannel.BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 780IAsyncResult IRequestChannel.BeginRequest(Message message, AsyncCallback callback, object state) 785IAsyncResult IRequestChannel.BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state) 795public IAsyncResult BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\TextMessageEncoder.cs (1)
601public override IAsyncResult BeginWriteMessage(Message message, Stream stream, AsyncCallback callback, object state)
System\ServiceModel\Channels\TransportChannelFactory.cs (1)
115protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\ClientBase.cs (16)
51private static AsyncCallback s_onAsyncCallCompleted = Fx.ThunkCallback(new AsyncCallback(OnAsyncCallCompleted)); 614IAsyncResult ICommunicationObject.BeginClose(AsyncCallback callback, object state) 619IAsyncResult ICommunicationObject.BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 629IAsyncResult ICommunicationObject.BeginOpen(AsyncCallback callback, object state) 634IAsyncResult ICommunicationObject.BeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 793protected delegate IAsyncResult BeginOperationDelegate(object[] inValues, AsyncCallback asyncCallback, object state); 936protected IAsyncResult BeginInvoke(string methodName, object[] args, AsyncCallback callback, object state) 1006IAsyncResult IClientChannel.BeginDisplayInitializationUI(AsyncCallback callback, object state) 1108IAsyncResult ICommunicationObject.BeginClose(AsyncCallback callback, object state) 1113IAsyncResult ICommunicationObject.BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 1133IAsyncResult ICommunicationObject.BeginOpen(AsyncCallback callback, object state) 1138IAsyncResult ICommunicationObject.BeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 1178IAsyncResult IOutputChannel.BeginSend(Message message, AsyncCallback callback, object state) 1183IAsyncResult IOutputChannel.BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 1213IAsyncResult IRequestChannel.BeginRequest(Message message, AsyncCallback callback, object state) 1218IAsyncResult IRequestChannel.BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Description\ServiceReflector.cs (1)
391private static readonly Type s_asyncCallbackType = typeof(AsyncCallback);
System\ServiceModel\Diagnostics\TraceAsyncResult.cs (4)
12private static Action<AsyncCallback, IAsyncResult> s_waitResultCallback = new Action<AsyncCallback, IAsyncResult>(DoCallback); 14protected TraceAsyncResult(AsyncCallback callback, object state) : 37private static void DoCallback(AsyncCallback callback, IAsyncResult result)
System\ServiceModel\Diagnostics\TraceUtility.cs (9)
32public static Func<Action<AsyncCallback, IAsyncResult>> asyncCallbackGenerator; 353internal static AsyncCallback WrapExecuteUserCodeAsyncCallback(AsyncCallback callback) 362private AsyncCallback _callback; 364public ExecuteUserCodeAsync(AsyncCallback callback) 369public AsyncCallback Callback 391asyncCallbackGenerator = new Func<Action<AsyncCallback, IAsyncResult>>(CallbackGenerator); 406internal static Action<AsyncCallback, IAsyncResult> CallbackGenerator() 413return delegate (AsyncCallback callback, IAsyncResult result)
System\ServiceModel\Dispatcher\BufferedReceiveBinder.cs (5)
15private static AsyncCallback s_tryReceiveCallback = Fx.ThunkCallback(new AsyncCallback(TryReceiveCallback)); 91public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 131public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 146public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state) 161public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Dispatcher\ChannelDispatcher.cs (2)
402protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 513protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Dispatcher\ChannelHandler.cs (2)
28private static AsyncCallback s_onAsyncReplyComplete = Fx.ThunkCallback(new AsyncCallback(ChannelHandler.OnAsyncReplyComplete)); 29private static AsyncCallback s_onAsyncReceiveComplete = Fx.ThunkCallback(new AsyncCallback(ChannelHandler.OnAsyncReceiveComplete));
System\ServiceModel\Dispatcher\DispatchOperationRuntime.cs (1)
14private static AsyncCallback s_invokeCallback = Fx.ThunkCallback(DispatchOperationRuntime.InvokeCallback);
System\ServiceModel\Dispatcher\DispatchRuntime.cs (1)
407public IAsyncResult InvokeBegin(object instance, object[] inputs, AsyncCallback callback, object state)
System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (22)
294public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 340public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 355public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state) 620public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state) 658protected override IAsyncResult OnBeginReply(Message message, TimeSpan timeout, AsyncCallback callback, object state) 670private static AsyncCallback s_onSend; 673public ReplyAsyncResult(DuplexRequestContext context, Message message, TimeSpan timeout, AsyncCallback callback, object state) 817internal AsyncDuplexRequest(Message message, DuplexChannelBinder parent, TimeSpan timeout, AsyncCallback callback, object state) 1044public ChannelFaultedAsyncResult(AsyncCallback callback, object state) 1053private static AsyncCallback s_receiveAsyncCallback; 1055private static AsyncCallback s_closeInnerChannelCallback; 1352public IAsyncResult BeginReceive(AsyncCallback callback, object state) 1357public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state) 1372public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 1387public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state) 1431public IAsyncResult BeginClose(AsyncCallback callback, object state) 1436public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 1485public IAsyncResult BeginOpen(AsyncCallback callback, object state) 1490public IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 1511public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state) 1516public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 1575public IAsyncResult BeginWaitForBackgroundClose(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Dispatcher\ErrorHandlingReceiver.cs (2)
97internal IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 183internal ErrorHandlingCompletedAsyncResult(bool data, AsyncCallback callback, object state)
System\ServiceModel\Dispatcher\IChannelBinder.cs (4)
22IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state); 26IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state); 30IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state); 34IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state);
System\ServiceModel\Dispatcher\IInteractiveChannelInitializer.cs (1)
10IAsyncResult BeginDisplayInitializationUI(IClientChannel channel, AsyncCallback callback, object state);
System\ServiceModel\Dispatcher\IListenerBinder.cs (1)
16IAsyncResult BeginAccept(TimeSpan timeout, AsyncCallback callback, object state);
System\ServiceModel\Dispatcher\ImmutableClientRuntime.cs (3)
134internal IAsyncResult BeginDisplayInitializationUI(ServiceChannel channel, AsyncCallback callback, object state) 235private static AsyncCallback s_callback = Fx.ThunkCallback(new AsyncCallback(DisplayInitializationUIAsyncResult.Callback)); 239AsyncCallback callback, object state)
System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (1)
39private static AsyncCallback s_onReplyCompleted = Fx.ThunkCallback(new AsyncCallback(OnReplyCompletedCallback));
System\ServiceModel\Dispatcher\InputChannelBinder.cs (5)
62public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 87public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 117public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state) 137public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state) 181protected override IAsyncResult OnBeginReply(Message message, TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Dispatcher\IOperationInvoker.cs (1)
12IAsyncResult InvokeBegin(object instance, object[] inputs, AsyncCallback callback, object state);
System\ServiceModel\Dispatcher\ListenerBinder.cs (6)
86public IAsyncResult BeginAccept(TimeSpan timeout, AsyncCallback callback, object state) 133public IAsyncResult BeginAccept(TimeSpan timeout, AsyncCallback callback, object state) 178public IAsyncResult BeginAccept(TimeSpan timeout, AsyncCallback callback, object state) 223public IAsyncResult BeginAccept(TimeSpan timeout, AsyncCallback callback, object state) 268public IAsyncResult BeginAccept(TimeSpan timeout, AsyncCallback callback, object state) 313public IAsyncResult BeginAccept(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Dispatcher\ListenerHandler.cs (2)
87protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 325protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Dispatcher\OperationFormatter.cs (4)
390AsyncCallback callback, object state) 407object returnValue, bool isRequest, AsyncCallback callback, object state) 782protected override IAsyncResult OnBeginWriteBodyContents(XmlDictionaryWriter writer, AsyncCallback callback, object state) 802internal OnWriteBodyContentsAsyncResult(OperationFormatterBodyWriter operationFormatterBodyWriter, XmlDictionaryWriter writer, AsyncCallback callback, object state)
System\ServiceModel\Dispatcher\OutputChannelBinder.cs (4)
64public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 79public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 94public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state) 119public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Dispatcher\ProxyOperationRuntime.cs (2)
305internal object[] MapAsyncBeginInputs(MethodCall methodCall, out AsyncCallback callback, out object asyncState) 323callback = args[methodCall.Args.Length - 2] as AsyncCallback;
System\ServiceModel\Dispatcher\ReplyChannelBinder.cs (4)
62public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 77public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 92public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state) 117public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Dispatcher\RequestChannelBinder.cs (4)
60public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 75public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 90public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state) 124public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Dispatcher\StreamFormatter.cs (2)
124internal IAsyncResult BeginSerialize(XmlDictionaryWriter writer, object[] parameters, object returnValue, AsyncCallback callback, object state) 142AsyncCallback callback, object state)
System\ServiceModel\Dispatcher\SyncMethodInvoker.cs (1)
48public IAsyncResult InvokeBegin(object instance, object[] inputs, AsyncCallback callback, object state)
System\ServiceModel\Dispatcher\TaskMethodInvoker.cs (1)
58public IAsyncResult InvokeBegin(object instance, object[] inputs, AsyncCallback callback, object state)
System\ServiceModel\IClientChannel.cs (1)
18IAsyncResult BeginDisplayInitializationUI(AsyncCallback callback, object state);
System\ServiceModel\ICommunicationObject.cs (4)
24IAsyncResult BeginClose(AsyncCallback callback, object state); 25IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state); 30IAsyncResult BeginOpen(AsyncCallback callback, object state); 31IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state);
System\ServiceModel\IDuplexContextChannel.cs (1)
13IAsyncResult BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state);
System\ServiceModel\InstanceContext.cs (2)
212protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 222protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Security\SecuritySessionClientSettings.cs (12)
468protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 1307protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 1471IAsyncResult IRequestChannel.BeginRequest(Message message, AsyncCallback callback, object state) => ((IRequestChannel)this).BeginRequest(message, DefaultSendTimeout, callback, state); 1473IAsyncResult IRequestChannel.BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state) => RequestAsync(message, timeout).ToApm(callback, state); 1585public IAsyncResult BeginReceive(AsyncCallback callback, object state) => ReceiveAsync().ToApm(callback, state); 1587public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state) => ReceiveAsync(timeout).ToApm(callback, state); 1591public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) => TryReceiveAsync(timeout).ToApm(callback, state); 1643public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state) => SendAsync(message).ToApm(callback, state); 1645public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) => SendAsync(message, timeout).ToApm(callback, state); 1717public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state) => WaitForMessageAsync(timeout).ToApm(callback, state); 1820public IAsyncResult BeginCloseOutputSession(AsyncCallback callback, object state) => CloseOutputSessionAsync().ToApm(callback, state); 1822public IAsyncResult BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state) => CloseOutputSessionAsync(timeout).ToApm(callback, state);
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (2)
744protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 760protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Security\SecurityUtils.cs (1)
1097public OperationWithTimeoutAsyncResult(Action<TimeSpan> operationWithTimeout, TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Security\SspiSecurityTokenProvider.cs (1)
40protected override IAsyncResult BeginGetTokenCore(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Security\WrapperSecurityCommunicationObject.cs (12)
45protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 50protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 210public IAsyncResult BeginClose(AsyncCallback callback, object state) 215public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 240public IAsyncResult BeginOpen(AsyncCallback callback, object state) 245public IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 367public IAsyncResult BeginClose(AsyncCallback callback, object state) 372public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 392public IAsyncResult BeginOpen(AsyncCallback callback, object state) 397public IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 417public IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 422public IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\ServiceChannelManager.cs (1)
241protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
System.ServiceModel.Primitives.Tests (20)
Channels\CommunicationObjectTest.cs (2)
362mco.OnBeginOpenOverride = (TimeSpan t, AsyncCallback c, object s) => 389mco.OnBeginCloseOverride = (TimeSpan t, AsyncCallback c, object s) =>
IdentityModel\SecurityTokenProviderTest.cs (3)
160protected override IAsyncResult BeginGetTokenCore(TimeSpan timeout, AsyncCallback callback, object state) 178protected override IAsyncResult BeginRenewTokenCore(TimeSpan timeout, SecurityToken tokenToBeRenewed, AsyncCallback callback, object state) 197protected override IAsyncResult BeginCancelTokenCore(TimeSpan timeout, SecurityToken token, AsyncCallback callback, object state)
ServiceModel\ThrowingChannelBase.cs (2)
41protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) => throw _exception; 43protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) => InnerChannel.BeginOpen(timeout, callback, state);
ServiceModel\ThrowingOnCloseBindingElement.cs (13)
77protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 104protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 160private static Task ToApm(Task task, AsyncCallback callback, object state) 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); 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); 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); 259public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) => InnerChannel.BeginTryReceive(timeout, callback, state); 262public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state) => InnerChannel.BeginWaitForMessage(timeout, callback, state); 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);
System.ServiceModel.UnixDomainSocket (2)
System\ServiceModel\Channels\UnixPosixIdentitySecurityUpgradeProvider.cs (2)
38protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 57protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
System.Transactions.Local (17)
System\Transactions\CommittableTransaction.cs (1)
46public IAsyncResult BeginCommit(AsyncCallback? asyncCallback, object? asyncState)
System\Transactions\InternalTransaction.cs (1)
150internal AsyncCallback? _asyncCallback;
System\Transactions\TransactionState.cs (15)
178internal virtual void BeginCommit(InternalTransaction tx, bool asyncCommit, AsyncCallback? asyncCallback, object? asyncState) 684internal override void BeginCommit(InternalTransaction tx, bool asyncCommit, AsyncCallback? asyncCallback, object? asyncState) 1428internal override void BeginCommit(InternalTransaction tx, bool asyncCommit, AsyncCallback? asyncCallback, object? asyncState) 1842internal override void BeginCommit(InternalTransaction tx, bool asyncCommit, AsyncCallback? asyncCallback, object? asyncState) 2410internal override void BeginCommit(InternalTransaction tx, bool asyncCommit, AsyncCallback? asyncCallback, object? asyncState) 2471internal override void BeginCommit(InternalTransaction tx, bool asyncCommit, AsyncCallback? asyncCallback, object? asyncState) 2707internal override void BeginCommit(InternalTransaction tx, bool asyncCommit, AsyncCallback? asyncCallback, object? asyncState) 2963internal override void BeginCommit(InternalTransaction tx, bool asyncCommit, AsyncCallback? asyncCallback, object? asyncState) 3347internal override void BeginCommit(InternalTransaction tx, bool asyncCommit, AsyncCallback? asyncCallback, object? asyncState) 3514internal override void BeginCommit(InternalTransaction tx, bool asyncCommit, AsyncCallback? asyncCallback, object? asyncState) 3678internal override void BeginCommit(InternalTransaction tx, bool asyncCommit, AsyncCallback? asyncCallback, object? asyncState) 3774internal override void BeginCommit(InternalTransaction tx, bool asyncCommit, AsyncCallback? asyncCallback, object? asyncState) 3858internal override void BeginCommit(InternalTransaction tx, bool asyncCommit, AsyncCallback? asyncCallback, object? asyncState) 4064internal override void BeginCommit(InternalTransaction tx, bool asyncCommit, AsyncCallback? asyncCallback, object? asyncState) 4666internal override void BeginCommit(InternalTransaction tx, bool asyncCommit, AsyncCallback? asyncCallback, object? asyncState)
UnitTests.Common (37)
IMockCommunicationObject.cs (4)
18Func<TimeSpan, AsyncCallback, object, IAsyncResult> OnBeginCloseOverride { get; set; } 19Func<TimeSpan, AsyncCallback, object, IAsyncResult> OnBeginOpenOverride { get; set; } 40IAsyncResult DefaultOnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state); 43IAsyncResult DefaultOnBeginClose(TimeSpan timeout, AsyncCallback callback, object state);
MockAsyncResult.cs (2)
10public MockAsyncResult(TimeSpan timeout, AsyncCallback callback, object state) 24public AsyncCallback Callback { get; set; }
MockChannelBase.cs (6)
58public Func<TimeSpan, AsyncCallback, object, IAsyncResult> OnBeginCloseOverride { get; set; } 59public Func<TimeSpan, AsyncCallback, object, IAsyncResult> OnBeginOpenOverride { 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)
MockChannelFactory.cs (6)
57public Func<TimeSpan, AsyncCallback, object, IAsyncResult> OnBeginCloseOverride { get; set; } 58public Func<TimeSpan, AsyncCallback, object, IAsyncResult> OnBeginOpenOverride { 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)
MockCommunicationObject.cs (10)
53public Func<TimeSpan, AsyncCallback, object, IAsyncResult> OnBeginCloseOverride { get; set; } 54public Func<TimeSpan, AsyncCallback, object, IAsyncResult> OnBeginOpenOverride { 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) 253mco.OnBeginOpenOverride = (TimeSpan t, AsyncCallback c, object s) => 282mco.OnBeginCloseOverride = (TimeSpan t, AsyncCallback c, object s) => 337mco.OnBeginOpenOverride = (TimeSpan t, AsyncCallback c, object s) => 366mco.OnBeginCloseOverride = (TimeSpan t, AsyncCallback c, object s) =>
MockInteractiveChannelInitializer.cs (3)
19public Func<IClientChannel, AsyncCallback, object, IAsyncResult> BeginDisplayInitializationUIOverride { get; set; } 22public IAsyncResult BeginDisplayInitializationUI(IClientChannel channel, AsyncCallback callback, object state) 27public IAsyncResult DefaultBeginDisplayInitializationUI(IClientChannel channel, AsyncCallback callback, object state)
MockRequestChannel.cs (4)
19public Func<Message,TimeSpan,AsyncCallback,object, IAsyncResult> BeginRequestOverride { 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)
ServiceInterfaces.cs (2)
129System.IAsyncResult BeginMessageRequestReply(System.ServiceModel.Channels.Message request, System.AsyncCallback callback, object asyncState); 137System.IAsyncResult BeginEcho(string message, System.AsyncCallback callback, object asyncState);