1 interface inheriting from IAsyncResult
System.ServiceModel (1)
System\ServiceModel\Channels\RequestChannel.cs (1)
451interface IAsyncRequest : IAsyncResult, IRequestBase
32 implementations of IAsyncResult
mscorlib (5)
system\io\filestream.cs (1)
78unsafe internal sealed class FileStreamAsyncResult : IAsyncResult
system\io\stream.cs (1)
991internal sealed class SynchronousAsyncResult : IAsyncResult {
system\runtime\remoting\asyncresult.cs (1)
21public class AsyncResult : IAsyncResult, IMessageSink
system\threading\Tasks\Task.cs (1)
146public class Task : IThreadPoolWorkItem, IAsyncResult, IDisposable
system\threading\Tasks\TaskToApm.cs (1)
159private sealed class TaskWrapperAsyncResult : IAsyncResult
PresentationFramework (1)
src\Framework\System\Windows\Documents\PageContentAsyncResult.cs (1)
36internal sealed class PageContentAsyncResult : IAsyncResult
System (5)
net\System\Net\_LazyAsyncResult.cs (1)
15internal class LazyAsyncResult : IAsyncResult
net\System\Net\HttpListener.cs (1)
2672class DisconnectAsyncResult : IAsyncResult {
services\io\system\io\FileSystemWatcher.cs (1)
91private sealed class FSWAsyncResult : IAsyncResult
sys\System\IO\compression\DeflateStreamAsyncResult.cs (1)
4internal class DeflateStreamAsyncResult : IAsyncResult {
sys\system\io\ports\SerialStream.cs (1)
1931unsafe internal sealed class SerialStreamAsyncResult : IAsyncResult
System.Core (2)
System\IO\Pipes\Pipe.cs (1)
1415unsafe internal sealed class PipeAsyncResult : IAsyncResult {
System\IO\Pipes\PipeStream.cs (1)
1277unsafe internal sealed class PipeStreamAsyncResult : IAsyncResult {
System.Data.Services.Client (1)
System\Data\Services\Client\BaseAsyncResult.cs (1)
24internal abstract class BaseAsyncResult : IAsyncResult
System.IdentityModel (2)
System\IdentityModel\AsyncResult.cs (1)
15public abstract class AsyncResult : IAsyncResult, IDisposable
System\IdentityModel\Selectors\SecurityTokenProvider.cs (1)
165internal protected class SecurityTokenAsyncResult : IAsyncResult
System.IO.Log (2)
System\IO\Log\FileRecordSequenceCompletedAsyncResult.cs (1)
20sealed class FileRecordSequenceCompletedAsyncResult : IAsyncResult
System\IO\Log\OverlappedAsyncResult.cs (1)
23unsafe abstract class OverlappedAsyncResult : IAsyncResult
System.Messaging (1)
System\Messaging\MessageQueue.cs (1)
3669private class AsynchronousRequest : IAsyncResult
System.Runtime.Remoting (2)
channels\core\basicasyncresult.cs (1)
23internal class BasicAsyncResult : IAsyncResult
channels\ipc\ipcport.cs (1)
332internal unsafe class PipeAsyncResult: IAsyncResult
System.ServiceModel (2)
System\ServiceModel\Channels\BufferedOutputAsyncStream.cs (1)
977class PooledAsyncResult : IAsyncResult
System\ServiceModel\Channels\OverlappedContext.cs (1)
458class RootedHolder : IAsyncResult
System.ServiceModel.Internals (1)
System\Runtime\AsyncResult.cs (1)
14abstract class AsyncResult : IAsyncResult
System.Transactions (1)
System\Transactions\CommittableTransaction.cs (1)
20public sealed class CommittableTransaction : Transaction, IAsyncResult
System.Web (3)
Hosting\AsyncResultBase.cs (1)
19internal abstract class AsyncResultBase : IAsyncResult {
HttpAsyncResult.cs (1)
18internal class HttpAsyncResult : IAsyncResult {
TaskWrapperAsyncResult.cs (1)
18internal sealed class TaskWrapperAsyncResult : IAsyncResult {
System.Web.Services (2)
System\Web\Services\Protocols\ClientProtocol.cs (1)
533public class WebClientAsyncResult : IAsyncResult {
System\Web\Services\Protocols\WebServiceHandler.cs (1)
431class CompletedAsyncResult : IAsyncResult {
System.Windows.Forms (1)
winforms\Managed\System\WinForms\Control.cs (1)
20034private class ThreadMethodEntry : IAsyncResult {
System.Workflow.Runtime (1)
System\Activities\Statements\Interop.cs (1)
1826class CompletedAsyncResult : IAsyncResult
5811 references to IAsyncResult
mscorlib (179)
system\asynccallback.cs (1)
16public delegate void AsyncCallback(IAsyncResult ar);
system\io\bufferedstream.cs (6)
566public override IAsyncResult BeginRead(Byte[] buffer, Int32 offset, Int32 count, AsyncCallback callback, Object state) { 628private IAsyncResult BeginReadFromUnderlyingStream(Byte[] buffer, Int32 offset, Int32 count, AsyncCallback callback, Object state, 637public override Int32 EndRead(IAsyncResult asyncResult) { 995public override IAsyncResult BeginWrite(Byte[] buffer, Int32 offset, Int32 count, AsyncCallback callback, Object state) { 1053private IAsyncResult BeginWriteToUnderlyingStream(Byte[] buffer, Int32 offset, Int32 count, AsyncCallback callback, Object state, 1061public override void EndWrite(IAsyncResult asyncResult) {
system\io\filestream.cs (11)
1378IAsyncResult asyncResult = BeginWriteCore(_buffer, 0, _writePos, null, null); 1579IAsyncResult result = BeginReadCore(buffer, offset, count, null, null, 0); 1797IAsyncResult result = BeginWriteCore(_buffer, 0, _writePos, null, null); 1835IAsyncResult result = BeginWriteCore(buffer, offset, count, null, null); 1870public override IAsyncResult BeginRead(byte[] array, int offset, int numBytes, AsyncCallback userCallback, Object stateObject) 1957IAsyncResult bufferRead = BeginReadCore(_buffer, 0, _bufferSize, null, null, 0); 2116public unsafe override int EndRead(IAsyncResult asyncResult) 2182public override IAsyncResult BeginWrite(byte[] array, int offset, int numBytes, AsyncCallback userCallback, Object stateObject) 2373public unsafe override void EndWrite(IAsyncResult asyncResult) 2751private static void EndReadTask(IAsyncResult iar) 2787private static void EndWriteTask(IAsyncResult iar)
system\io\isolatedstorage\isolatedstoragefilestream.cs (4)
694public override IAsyncResult BeginRead(byte[] buffer, int offset, 700public override int EndRead(IAsyncResult asyncResult) { 712public override IAsyncResult BeginWrite(byte[] buffer, int offset, 745public override void EndWrite(IAsyncResult asyncResult) {
system\io\stream.cs (26)
298public virtual IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, Object state) 300Contract.Ensures(Contract.Result<IAsyncResult>() != null); 305internal IAsyncResult BeginReadInternal(byte[] buffer, int offset, int count, AsyncCallback callback, Object state, bool serializeAsynchronously) 307Contract.Ensures(Contract.Result<IAsyncResult>() != null); 363public virtual int EndRead(IAsyncResult asyncResult) 445public virtual IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, Object state) 447Contract.Ensures(Contract.Result<IAsyncResult>() != null); 452internal IAsyncResult BeginWriteInternal(byte[] buffer, int offset, int count, AsyncCallback callback, Object state, bool serializeAsynchronously) 454Contract.Ensures(Contract.Result<IAsyncResult>() != null); 550public virtual void EndWrite(IAsyncResult asyncResult) 793internal IAsyncResult BlockingBeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, Object state) 795Contract.Ensures(Contract.Result<IAsyncResult>() != null); 819internal static int BlockingEndRead(IAsyncResult asyncResult) 826internal IAsyncResult BlockingBeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, Object state) 828Contract.Ensures(Contract.Result<IAsyncResult>() != null); 852internal static void BlockingEndWrite(IAsyncResult asyncResult) 906public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, Object state) 913public override int EndRead(IAsyncResult asyncResult) 923public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, Object state) 930public override void EndWrite(IAsyncResult asyncResult) 1042internal static Int32 EndRead(IAsyncResult asyncResult) { 1057internal static void EndWrite(IAsyncResult asyncResult) { 1226public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, Object state) 1248public override int EndRead(IAsyncResult asyncResult) 1284public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, Object state) 1306public override void EndWrite(IAsyncResult asyncResult)
system\runtime\remoting\channelsinkstacks.cs (2)
219void ServerCallback(IAsyncResult ar); 409public void ServerCallback(IAsyncResult ar)
system\runtime\remoting\lease.cs (3)
363IAsyncResult iar = ar.BeginInvoke(this, new AsyncCallback(this.SponsorCallback), null); 457SponsorCallback((IAsyncResult)obj); 462internal void SponsorCallback(IAsyncResult iar)
system\runtime\remoting\message.cs (1)
125public extern IAsyncResult GetAsyncResult();
system\runtime\remoting\remotingservices.cs (2)
2060Type beginReturnType = typeof(IAsyncResult); 2083endParameters.Add(typeof(IAsyncResult));
system\threading\overlapped.cs (4)
151internal IAsyncResult m_asyncResult; 304public Overlapped(int offsetLo, int offsetHi, IntPtr hEvent, IAsyncResult ar) 315public Overlapped(int offsetLo, int offsetHi, int hEvent, IAsyncResult ar) : this(offsetLo, offsetHi, new IntPtr(hEvent), ar) 319public IAsyncResult AsyncResult
system\threading\Tasks\BeginEndAwaitableAdapter.cs (3)
60private IAsyncResult _asyncResult; 145public IAsyncResult GetResult() { 150IAsyncResult result = _asyncResult;
system\threading\Tasks\FutureFactory.cs (56)
534IAsyncResult iar, 535Func<IAsyncResult, TResult> endFunction, 536Action<IAsyncResult> endAction, 611public Task<TResult> FromAsync(IAsyncResult asyncResult, Func<IAsyncResult, TResult> endMethod) 638IAsyncResult asyncResult, 639Func<IAsyncResult, TResult> endMethod, 673IAsyncResult asyncResult, 674Func<IAsyncResult, TResult> endMethod, 686IAsyncResult asyncResult, 687Func<IAsyncResult, TResult> endFunction, 688Action<IAsyncResult> endAction, 775Func<AsyncCallback, object, IAsyncResult> beginMethod, 776Func<IAsyncResult, TResult> endMethod, object state) 804Func<AsyncCallback, object, IAsyncResult> beginMethod, 805Func<IAsyncResult, TResult> endMethod, object state, TaskCreationOptions creationOptions) 812internal static Task<TResult> FromAsyncImpl(Func<AsyncCallback, object, IAsyncResult> beginMethod, 813Func<IAsyncResult, TResult> endFunction, Action<IAsyncResult> endAction, 846var asyncResult = beginMethod(iar => 860var asyncResult = beginMethod(iar => 906Func<TArg1, AsyncCallback, object, IAsyncResult> beginMethod, 907Func<IAsyncResult, TResult> endMethod, 940Func<TArg1, AsyncCallback, object, IAsyncResult> beginMethod, 941Func<IAsyncResult, TResult> endMethod, 949internal static Task<TResult> FromAsyncImpl<TArg1>(Func<TArg1, AsyncCallback, object, IAsyncResult> beginMethod, 950Func<IAsyncResult, TResult> endFunction, Action<IAsyncResult> endAction, 982var asyncResult = beginMethod(arg1, iar => 996var asyncResult = beginMethod(arg1, iar => 1047Func<TArg1, TArg2, AsyncCallback, object, IAsyncResult> beginMethod, 1048Func<IAsyncResult, TResult> endMethod, 1085Func<TArg1, TArg2, AsyncCallback, object, IAsyncResult> beginMethod, 1086Func<IAsyncResult, TResult> endMethod, 1094internal static Task<TResult> FromAsyncImpl<TArg1, TArg2>(Func<TArg1, TArg2, AsyncCallback, object, IAsyncResult> beginMethod, 1095Func<IAsyncResult, TResult> endFunction, Action<IAsyncResult> endAction, 1127var asyncResult = beginMethod(arg1, arg2, iar => 1141var asyncResult = beginMethod(arg1, arg2, iar => 1195Func<TArg1, TArg2, TArg3, AsyncCallback, object, IAsyncResult> beginMethod, 1196Func<IAsyncResult, TResult> endMethod, 1237Func<TArg1, TArg2, TArg3, AsyncCallback, object, IAsyncResult> beginMethod, 1238Func<IAsyncResult, TResult> endMethod, 1246internal static Task<TResult> FromAsyncImpl<TArg1, TArg2, TArg3>(Func<TArg1, TArg2, TArg3, AsyncCallback, object, IAsyncResult> beginMethod, 1247Func<IAsyncResult, TResult> endFunction, Action<IAsyncResult> endAction, 1279var asyncResult = beginMethod(arg1, arg2, arg3, iar => 1293var asyncResult = beginMethod(arg1, arg2, arg3, iar => 1331Func<TInstance, TArgs, AsyncCallback, object, IAsyncResult> beginMethod, 1332Func<TInstance, IAsyncResult, TResult> endMethod) 1345var asyncResult = beginMethod(thisRef, args, FromAsyncTrimPromise<TInstance>.s_completeFromAsyncResult, promise); 1372private Func<TInstance, IAsyncResult, TResult> m_endMethod; 1377internal FromAsyncTrimPromise(TInstance thisRef, Func<TInstance, IAsyncResult, TResult> endMethod) : base() 1390internal static void CompleteFromAsyncResult(IAsyncResult asyncResult) 1428TInstance thisRef, Func<TInstance, IAsyncResult, TResult> endMethod, IAsyncResult asyncResult,
system\threading\Tasks\Task.cs (3)
1585/// should be preferred over using <see cref="IAsyncResult.AsyncWaitHandle"/> for similar 1591WaitHandle IAsyncResult.AsyncWaitHandle 1619bool IAsyncResult.CompletedSynchronously
system\threading\Tasks\TaskFactory.cs (46)
858IAsyncResult asyncResult, 859Action<IAsyncResult> endMethod) 886IAsyncResult asyncResult, 887Action<IAsyncResult> endMethod, 919IAsyncResult asyncResult, 920Action<IAsyncResult> endMethod, 930IAsyncResult asyncResult, 931Action<IAsyncResult> endMethod, 957Func<AsyncCallback, object, IAsyncResult> beginMethod, 958Action<IAsyncResult> endMethod, 987Func<AsyncCallback, object, IAsyncResult> beginMethod, 988Action<IAsyncResult> endMethod, object state, TaskCreationOptions creationOptions) 1016Func<TArg1, AsyncCallback, object, IAsyncResult> beginMethod, 1017Action<IAsyncResult> endMethod, 1052Func<TArg1, AsyncCallback, object, IAsyncResult> beginMethod, 1053Action<IAsyncResult> endMethod, 1086Func<TArg1, TArg2, AsyncCallback, object, IAsyncResult> beginMethod, 1087Action<IAsyncResult> endMethod, 1125Func<TArg1, TArg2, AsyncCallback, object, IAsyncResult> beginMethod, 1126Action<IAsyncResult> endMethod, 1163Func<TArg1, TArg2, TArg3, AsyncCallback, object, IAsyncResult> beginMethod, 1164Action<IAsyncResult> endMethod, 1206Func<TArg1, TArg2, TArg3, AsyncCallback, object, IAsyncResult> beginMethod, 1207Action<IAsyncResult> endMethod, 1236IAsyncResult asyncResult, Func<IAsyncResult, TResult> endMethod) 1266IAsyncResult asyncResult, Func<IAsyncResult, TResult> endMethod, TaskCreationOptions creationOptions) 1300IAsyncResult asyncResult, Func<IAsyncResult, TResult> endMethod, TaskCreationOptions creationOptions, TaskScheduler scheduler) 1327Func<AsyncCallback, object, IAsyncResult> beginMethod, 1328Func<IAsyncResult, TResult> endMethod, object state) 1359Func<AsyncCallback, object, IAsyncResult> beginMethod, 1360Func<IAsyncResult, TResult> endMethod, object state, TaskCreationOptions creationOptions) 1390Func<TArg1, AsyncCallback, object, IAsyncResult> beginMethod, 1391Func<IAsyncResult, TResult> endMethod, TArg1 arg1, object state) 1425public Task<TResult> FromAsync<TArg1, TResult>(Func<TArg1, AsyncCallback, object, IAsyncResult> beginMethod, 1426Func<IAsyncResult, TResult> endMethod, TArg1 arg1, object state, TaskCreationOptions creationOptions) 1459public Task<TResult> FromAsync<TArg1, TArg2, TResult>(Func<TArg1, TArg2, AsyncCallback, object, IAsyncResult> beginMethod, 1460Func<IAsyncResult, TResult> endMethod, TArg1 arg1, TArg2 arg2, object state) 1499Func<TArg1, TArg2, AsyncCallback, object, IAsyncResult> beginMethod, 1500Func<IAsyncResult, TResult> endMethod, TArg1 arg1, TArg2 arg2, object state, TaskCreationOptions creationOptions) 1538Func<TArg1, TArg2, TArg3, AsyncCallback, object, IAsyncResult> beginMethod, 1539Func<IAsyncResult, TResult> endMethod, TArg1 arg1, TArg2 arg2, TArg3 arg3, object state) 1582Func<TArg1, TArg2, TArg3, AsyncCallback, object, IAsyncResult> beginMethod, 1583Func<IAsyncResult, TResult> endMethod, TArg1 arg1, TArg2 arg2, TArg3 arg3, object state, TaskCreationOptions creationOptions)
system\threading\Tasks\TaskToApm.cs (11)
45public static IAsyncResult Begin(Task task, AsyncCallback callback, object state) 51IAsyncResult asyncResult; 64asyncResult = task.AsyncState == state ? (IAsyncResult)task : new TaskWrapperAsyncResult(task, state, completedSynchronously: false); 73public static void End(IAsyncResult asyncResult) 98public static TResult End<TResult>(IAsyncResult asyncResult) 125private static void InvokeCallbackWhenTaskCompletes(Task antecedent, AsyncCallback callback, IAsyncResult asyncResult) 186object IAsyncResult.AsyncState { get { return m_state; } } 187bool IAsyncResult.CompletedSynchronously { get { return m_completedSynchronously; } } 188bool IAsyncResult.IsCompleted { get { return this.Task.IsCompleted; } } 189WaitHandle IAsyncResult.AsyncWaitHandle { get { return ((IAsyncResult)this.Task).AsyncWaitHandle; } }
PresentationCore (6)
Core\CSharp\MS\Internal\IO\Packaging\ByteRangeDownloader.cs (1)
584private void ResponseCallback(IAsyncResult ar)
Core\CSharp\MS\Internal\IO\Packaging\NetStream.cs (1)
541private void ReadCallBack(IAsyncResult ar)
Core\CSharp\MS\Internal\WpfWebRequestHelper.cs (1)
257internal static WebResponse EndGetResponse(WebRequest request, IAsyncResult ar)
Core\CSharp\System\IO\Packaging\PackWebResponse.cs (1)
814private void ResponseCallback(IAsyncResult ar)
Core\CSharp\System\Windows\Media\Imaging\BitmapDownload.cs (2)
319private static void ResponseCallback(IAsyncResult result) 353private static void ReadCallback(IAsyncResult result)
PresentationFramework (15)
src\Framework\MS\Internal\AppModel\BamlStream.cs (4)
129public override IAsyncResult BeginRead( 143public override IAsyncResult BeginWrite( 166IAsyncResult asyncResult 176IAsyncResult asyncResult
src\Framework\MS\Internal\Navigation\BindStream.cs (4)
164public override IAsyncResult BeginRead( 184public override IAsyncResult BeginWrite( 243IAsyncResult asyncResult 254IAsyncResult asyncResult
src\Framework\System\Windows\Controls\SoundPlayerAction.cs (4)
175IAsyncResult asyncResult = downloadStreamCaller.BeginInvoke(m_lastRequestedAbsoluteUri, 195private void LoadStreamCallback(IAsyncResult asyncResult) 210IAsyncResult asyncResult = (IAsyncResult)asyncResultArg;
src\Framework\System\Windows\Documents\PageContent.cs (1)
525private void _RequestPageCallback(IAsyncResult ar)
src\Framework\System\Windows\Navigation\NavigationService.cs (2)
3012private void HandleWebResponseOnRightDispatcher(IAsyncResult ar) 3052private void HandleWebResponse(IAsyncResult ar)
SMSvcHost (11)
System\ServiceModel\Activation\MessageQueue.cs (3)
301IAsyncResult dispatchAsyncResult = null; 328void DispatchSessionCompletedCallback(IAsyncResult result) 338void CompleteDispatchSession(IAsyncResult result)
System\ServiceModel\Activation\MsmqActivation.cs (1)
619void OnPeekCompleted(IAsyncResult result)
System\ServiceModel\Activation\WorkerProcess.cs (7)
92internal IAsyncResult BeginDispatchSession(ListenerSessionConnection session, AsyncCallback callback, object state) 97internal bool EndDispatchSession(IAsyncResult result) 373static void CloseCallback(IAsyncResult asyncResult) 428IAsyncResult result = this.session.WorkerProcess.ConnectionDuplicator.BeginDuplicate(duplicateContext, 438static void DispatchSessionCompletedCallback(IAsyncResult result) 465void CompleteDuplicateSession(IAsyncResult result) 481public static DispatchSessionAsyncResult End(IAsyncResult result)
System (516)
compmod\system\componentmodel\ISynchronizeInvoke.cs (2)
27IAsyncResult BeginInvoke(Delegate method, object[] args); 34object EndInvoke(IAsyncResult result);
net\System\Net\_ChunkParser.cs (6)
118public IAsyncResult ReadAsync(object caller, byte[] userBuffer, int userBufferOffset, 126IAsyncResult localResult = userAsyncResult; 332IAsyncResult ar = dataSource.BeginRead(buffer, bufferFillLength, readSize, ReadCallback, null); 403private void CheckAsyncResult(IAsyncResult ar) 425public void ReadCallback(IAsyncResult ar) 498IAsyncResult ar = dataSource.BeginRead(userBuffer, userBufferOffset + currentOperationBytesRead,
net\System\Net\_CommandStream.cs (2)
428private static void ReadCallback(IAsyncResult asyncResult) { 456private static void WriteCallback(IAsyncResult asyncResult) {
net\System\Net\_Connection.cs (5)
293private IAsyncResult m_LastAsyncResult; 3199private static void ReadCallbackWrapper(IAsyncResult asyncResult) 3213private void ReadCallback(IAsyncResult asyncResult) 3732private static void TunnelThroughProxyWrapper(IAsyncResult result){ 3815IAsyncResult asyncResult = connectRequest.BeginGetResponse(m_TunnelCallback, o);
net\System\Net\_ConnectStream.cs (19)
861public override IAsyncResult BeginWrite(byte[] buffer, int offset, int size, AsyncCallback callback, object state ) { 885IAsyncResult result = InternalWrite(true, buffer, offset, size, callback, state); 896private IAsyncResult InternalWrite(bool async, byte[] buffer, int offset, int size, AsyncCallback callback, object state ) { 1192private void WriteCallback(IAsyncResult asyncResult) 1198private void ProcessWriteCallback(IAsyncResult asyncResult, LazyAsyncResult userResult) 1291public override void EndWrite(IAsyncResult asyncResult) { 1626public override IAsyncResult BeginRead(byte[] buffer, int offset, int size, AsyncCallback callback, object state) { 1687IAsyncResult result = 1725private IAsyncResult BeginReadWithoutValidation(byte[] buffer, int offset, int size, AsyncCallback callback, object state) { 1789IAsyncResult asyncResult = m_Connection.BeginRead(buffer, offset, bytesToRead, callback, state); 1860private void ReadCallback(IAsyncResult asyncResult) { 1906public override int EndRead(IAsyncResult asyncResult) { 2097private static void WriteHeadersCallback(IAsyncResult ar) 2189IAsyncResult ar = m_Connection.UnsafeBeginWrite(writeBuffer,0,writeBufferLength, m_WriteHeadersCallback, state); 2460void ResumeClose_Part2_Wrapper(IAsyncResult ar) 3165public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, Object state) 3171public override int EndRead(IAsyncResult asyncResult) 3176public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, Object state) 3182public override void EndWrite(IAsyncResult asyncResult)
net\System\Net\_FtpControlStream.cs (3)
119private static void AcceptCallback(IAsyncResult asyncResult) { 142private static void ConnectCallback(IAsyncResult asyncResult) { 159private static void SSLHandshakeCallback(IAsyncResult asyncResult)
net\System\Net\_FtpDataStream.cs (5)
210private void AsyncReadCallback(IAsyncResult ar) 237public override IAsyncResult BeginRead(byte[] buffer, int offset, int size, AsyncCallback callback, Object state) { 254public override int EndRead(IAsyncResult ar) { 275public override IAsyncResult BeginWrite(byte[] buffer, int offset, int size, AsyncCallback callback, Object state) { 290public override void EndWrite(IAsyncResult asyncResult) {
net\System\Net\_ListenerRequestStream.cs (4)
188public override IAsyncResult BeginRead(byte[] buffer, int offset, int size, AsyncCallback callback, object state) { 288public override int EndRead(IAsyncResult asyncResult) { 327public override IAsyncResult BeginWrite(byte[] buffer, int offset, int size, AsyncCallback callback, object state) { 331public override void EndWrite(IAsyncResult asyncResult) {
net\System\Net\_ListenerResponseStream.cs (4)
119public override IAsyncResult BeginRead(byte[] buffer, int offset, int size, AsyncCallback callback, object state) { 123public override int EndRead(IAsyncResult asyncResult) { 234public override IAsyncResult BeginWrite(byte[] buffer, int offset, int size, AsyncCallback callback, object state) { 327public override void EndWrite(IAsyncResult asyncResult) {
net\System\Net\_PooledStream.cs (8)
691public override IAsyncResult BeginRead(byte[] buffer, int offset, int size, AsyncCallback callback, Object state) { 695internal virtual IAsyncResult UnsafeBeginRead(byte[] buffer, int offset, int size, AsyncCallback callback, Object state) 705public override int EndRead(IAsyncResult asyncResult) { 716public override IAsyncResult BeginWrite(byte[] buffer, int offset, int size, AsyncCallback callback, Object state) { 721internal virtual IAsyncResult UnsafeBeginWrite(byte[] buffer, int offset, int size, AsyncCallback callback, Object state) { 732public override void EndWrite(IAsyncResult asyncResult) { 742internal IAsyncResult BeginMultipleWrite(BufferOffsetSize[] buffers, AsyncCallback callback, object state) { 771internal void EndMultipleWrite(IAsyncResult asyncResult) {
net\System\Net\_StreamFramer.cs (10)
186public IAsyncResult BeginReadMessage(AsyncCallback asyncCallback, object stateObject) { 198IAsyncResult result = Transport.BeginRead(m_ReadHeaderBuffer, 0, m_ReadHeaderBuffer.Length, 208private void ReadFrameCallback(IAsyncResult transportResult) 243private void ReadFrameComplete(IAsyncResult transportResult) 318public byte[] EndReadMessage(IAsyncResult asyncResult) { 378public IAsyncResult BeginWriteMessage(byte[] message, AsyncCallback asyncCallback, object stateObject) { 402IAsyncResult result = Transport.BeginWrite(m_WriteHeaderBuffer, 0, m_WriteHeaderBuffer.Length, 412private void BeginWriteCallback(IAsyncResult transportResult) { 440private void BeginWriteComplete(IAsyncResult transportResult) 462public void EndWriteMessage(IAsyncResult asyncResult) {
net\System\Net\_TLSstream.cs (13)
161public override IAsyncResult BeginRead(byte[] buffer, int offset, int size, AsyncCallback asyncCallback, object asyncState) { 189internal override IAsyncResult UnsafeBeginRead(byte[] buffer, int offset, int size, AsyncCallback asyncCallback, object asyncState) 195public override int EndRead(IAsyncResult asyncResult) { 269public override IAsyncResult BeginWrite( byte[] buffer, int offset, int size, AsyncCallback asyncCallback, object asyncState) { 296internal override IAsyncResult UnsafeBeginWrite( byte[] buffer, int offset, int size, AsyncCallback asyncCallback, object asyncState) { 302public override void EndWrite(IAsyncResult asyncResult) { 372internal override IAsyncResult BeginMultipleWrite(BufferOffsetSize[] buffers, AsyncCallback callback, object state) { 398internal override IAsyncResult UnsafeBeginMultipleWrite(BufferOffsetSize[] buffers, AsyncCallback callback, object state) { 403internal override void EndMultipleWrite(IAsyncResult asyncResult) 563private void WakeupPendingIO(IAsyncResult ar) 645IAsyncResult result; 667private static void CompleteIOCallback(IAsyncResult result) 691private static void CompleteIO(IAsyncResult result)
net\System\Net\Cache\_CacheStreams.cs (22)
112public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, Object state) { 116public override void EndWrite(IAsyncResult asyncResult) { 170private void ReadCallback(IAsyncResult transportResult) { 195IAsyncResult ar = WrappedStream.BeginRead(userResult.Buffer, userResult.Offset, userResult.Count, m_ReadCallback, userResult); 214public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, Object state) { 229IAsyncResult ar = m_HeadStream.BeginRead(buffer, offset, count, m_ReadCallback, userResult); 261public override int EndRead(IAsyncResult asyncResult) { 428public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, Object state) { 432public override void EndWrite(IAsyncResult asyncResult) { 525private void ReadCallback(IAsyncResult transportResult) { 538private void ReadComplete(IAsyncResult transportResult) 667public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, Object state) { 688IAsyncResult result = WrappedStream.BeginRead(userResult.Buffer, userResult.Offset, userResult.Count, m_ReadCallback, userResult); 702public override int EndRead(IAsyncResult asyncResult) { 938public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, Object state) { 942public override void EndWrite(IAsyncResult asyncResult) { 954public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, Object state) { 958public override int EndRead(IAsyncResult asyncResult) { 1142public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, Object state) { 1149public override void EndWrite(IAsyncResult asyncResult) { 1170public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, Object state) { 1180public override int EndRead(IAsyncResult asyncResult) {
net\System\Net\Cache\_SingleItemRequestCache.cs (8)
346public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, Object state) 354public override int EndRead(IAsyncResult asyncResult) 379public override IAsyncResult BeginWrite(byte[] buffer, int offset, int size, AsyncCallback callback, Object state) 383public override void EndWrite(IAsyncResult asyncResult) 501public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, Object state) 504public override int EndRead(IAsyncResult asyncResult) 516public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, Object state) 523public override void EndWrite(IAsyncResult asyncResult)
net\System\Net\Cache\IERequestCache.cs (4)
666public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, Object state) 688public override int EndRead(IAsyncResult asyncResult) 875public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, Object state) 902public override void EndWrite(IAsyncResult asyncResult)
net\System\Net\DNS.cs (19)
697private static IAsyncResult HostResolutionBeginHelper(string hostName, bool justReturnParsedIp, bool flowContext, bool includeIPv6, bool throwOnIPAny, AsyncCallback requestCallback, object state) 752private static IAsyncResult HostResolutionBeginHelper(IPAddress address, bool flowContext, bool includeIPv6, AsyncCallback requestCallback, object state) 787private static IPHostEntry HostResolutionEndHelper(IAsyncResult asyncResult) 824public static IAsyncResult BeginGetHostByName(string hostName, AsyncCallback requestCallback, object stateObject) { 827IAsyncResult asyncResult = HostResolutionBeginHelper(hostName, true, true, false, false, requestCallback, stateObject); 839public static IPHostEntry EndGetHostByName(IAsyncResult asyncResult) { 948public static IAsyncResult BeginGetHostEntry(string hostNameOrAddress, AsyncCallback requestCallback, object stateObject) { 951IAsyncResult asyncResult = HostResolutionBeginHelper(hostNameOrAddress, false, true, true, true, requestCallback, stateObject); 960public static IAsyncResult BeginGetHostEntry(IPAddress address, AsyncCallback requestCallback, object stateObject) { 963IAsyncResult asyncResult = HostResolutionBeginHelper(address, true, true, requestCallback, stateObject); 970public static IPHostEntry EndGetHostEntry(IAsyncResult asyncResult) { 981public static IAsyncResult BeginGetHostAddresses(string hostNameOrAddress, AsyncCallback requestCallback, object state) { 984IAsyncResult asyncResult = HostResolutionBeginHelper(hostNameOrAddress, true, true, true, true, requestCallback, state); 991public static IPAddress[] EndGetHostAddresses(IAsyncResult asyncResult) { 1001internal static IAsyncResult UnsafeBeginGetHostAddresses(string hostName, AsyncCallback requestCallback, object state) 1005IAsyncResult asyncResult = HostResolutionBeginHelper(hostName, true, false, true, true, requestCallback, state); 1017public static IAsyncResult BeginResolve(string hostName, AsyncCallback requestCallback, object stateObject) 1021IAsyncResult asyncResult = HostResolutionBeginHelper(hostName, false, true, false, false, requestCallback, stateObject); 1029public static IPHostEntry EndResolve(IAsyncResult asyncResult)
net\System\Net\filewebrequest.cs (10)
214public override IAsyncResult BeginGetRequestStream(AsyncCallback callback, object state) 259public override IAsyncResult BeginGetResponse(AsyncCallback callback, object state) 296public override Stream EndGetRequestStream(IAsyncResult asyncResult) 330public override WebResponse EndGetResponse(IAsyncResult asyncResult) 371IAsyncResult result; 400IAsyncResult result; 626public override IAsyncResult BeginRead(byte[] buffer, int offset, int size, AsyncCallback callback, Object state) { 637public override int EndRead(IAsyncResult ar) { 647public override IAsyncResult BeginWrite(byte[] buffer, int offset, int size, AsyncCallback callback, Object state) { 658public override void EndWrite(IAsyncResult ar) {
net\System\Net\FtpWebRequest.cs (4)
712public override IAsyncResult BeginGetResponse(AsyncCallback callback, object state) 802public override WebResponse EndGetResponse(IAsyncResult asyncResult) { 951public override IAsyncResult BeginGetRequestStream(AsyncCallback callback, object state) { 1003public override Stream EndGetRequestStream(IAsyncResult asyncResult) {
net\System\Net\HttpListener.cs (2)
1249public IAsyncResult BeginGetContext(AsyncCallback callback, object state) { 1279public HttpListenerContext EndGetContext(IAsyncResult asyncResult) {
net\System\Net\HttpListenerRequest.cs (2)
616public IAsyncResult BeginGetClientCertificate(AsyncCallback requestCallback, object state) { 621public X509Certificate2 EndGetClientCertificate(IAsyncResult asyncResult) {
net\System\Net\HttpListenerResponse.cs (1)
438private void NonBlockingCloseCallback(IAsyncResult asyncResult) {
net\System\Net\HttpWebRequest.cs (5)
1345public override IAsyncResult BeginGetRequestStream(AsyncCallback callback, object state) { 1449public override Stream EndGetRequestStream(IAsyncResult asyncResult) { 1457public Stream EndGetRequestStream(IAsyncResult asyncResult, out TransportContext context) 1908public override IAsyncResult BeginGetResponse(AsyncCallback callback, object state) { 2048public override WebResponse EndGetResponse(IAsyncResult asyncResult) {
net\System\Net\HttpWebResponse.cs (4)
745public override IAsyncResult BeginRead(byte[] buffer, int offset, int size, AsyncCallback callback, Object state) { 773public override int EndRead(IAsyncResult asyncResult) { 851public override IAsyncResult BeginRead(byte[] buffer, int offset, int size, AsyncCallback callback, Object state) { 879public override int EndRead(IAsyncResult asyncResult) {
net\System\Net\mail\Base64Stream.cs (12)
102public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object state) 118public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state) 333public override int EndRead(IAsyncResult asyncResult) 342public override void EndWrite(IAsyncResult asyncResult) 438bool CompleteRead(IAsyncResult result) 467IAsyncResult result = this.parent.BaseStream.BeginRead(this.buffer, this.offset, this.count, onRead, this); 473static void OnRead(IAsyncResult result) 492internal static int End(IAsyncResult result) 527IAsyncResult result = this.parent.BaseStream.BeginWrite(this.parent.WriteState.Buffer, 0, this.parent.WriteState.Length, onWrite, this); 540void CompleteWrite(IAsyncResult result) 546static void OnWrite(IAsyncResult result) 565internal static void End(IAsyncResult result)
net\System\Net\mail\BaseWriter.cs (4)
129internal IAsyncResult BeginGetContentStream(AsyncCallback callback, object state) 143internal Stream EndGetContentStream(IAsyncResult result) 164IAsyncResult result = this.stream.BeginWrite(this.bufferBuilder.GetBuffer(), 0, 180protected static void OnWrite(IAsyncResult result)
net\System\Net\mail\BufferedReadStream.cs (5)
46public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object state) 53public override int EndRead(IAsyncResult asyncResult) 240IAsyncResult result = parent.BaseStream.BeginRead(buffer, offset, count, onRead, this); 249internal static int End(IAsyncResult result) 256static void OnRead(IAsyncResult result)
net\System\Net\mail\DelegatedStream.cs (6)
92public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object state) 97IAsyncResult result = null; 108public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state) 113IAsyncResult result = null; 131public override int EndRead(IAsyncResult asyncResult) 140public override void EndWrite(IAsyncResult asyncResult)
net\System\Net\mail\EightBitStream.cs (3)
68public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state) 79IAsyncResult result; 93public override void EndWrite(IAsyncResult asyncResult)
net\System\Net\mail\MailMessage.cs (2)
405internal IAsyncResult BeginSend(BaseWriter writer, bool sendEnvelope, bool allowUnicode, 411internal void EndSend(IAsyncResult asyncResult) {
net\System\Net\mail\Message.cs (4)
239internal void EmptySendCallback(IAsyncResult result) 267internal virtual IAsyncResult BeginSend(BaseWriter writer, bool sendEnvelope, bool allowUnicode, 278IAsyncResult newResult = writer.BeginGetContentStream(EmptySendCallback, new EmptySendContext(writer,result)); 286internal virtual void EndSend(IAsyncResult asyncResult){
net\System\Net\mail\MimeBasePart.cs (2)
221internal virtual IAsyncResult BeginSend(BaseWriter writer, AsyncCallback callback, 226internal void EndSend(IAsyncResult asyncResult) {
net\System\Net\mail\MimeMultiPart.cs (13)
45internal void Complete(IAsyncResult result, Exception e){ 68internal void MimeWriterCloseCallback(IAsyncResult result) 84void MimeWriterCloseCallbackHandler(IAsyncResult result) { 90internal void MimePartSentCallback(IAsyncResult result) 106void MimePartSentCallbackHandler(IAsyncResult result) 114IAsyncResult sendResult = part.BeginSend(context.writer, mimePartSentCallback, allowUnicode, context); 121IAsyncResult closeResult = ((MimeWriter)context.writer).BeginClose(new AsyncCallback(MimeWriterCloseCallback), context); 129internal void ContentStreamCallback(IAsyncResult result) 145void ContentStreamCallbackHandler(IAsyncResult result) 154IAsyncResult sendResult = part.BeginSend(context.writer, mimePartSentCallback, allowUnicode, context); 161IAsyncResult closeResult = ((MimeWriter)context.writer).BeginClose(new AsyncCallback(MimeWriterCloseCallback),context); 168internal override IAsyncResult BeginSend(BaseWriter writer, AsyncCallback callback, bool allowUnicode, 176IAsyncResult contentResult = writer.BeginGetContentStream(new AsyncCallback(ContentStreamCallback), context);
net\System\Net\mail\MimePart.cs (12)
129internal void Complete(IAsyncResult result, Exception e){ 154internal void ReadCallback(IAsyncResult result) 171internal void ReadCallbackHandler(IAsyncResult result){ 175IAsyncResult writeResult = context.outputStream.BeginWrite(context.buffer, 0, context.bytesLeft, writeCallback, context); 186internal void WriteCallback(IAsyncResult result) 204internal void WriteCallbackHandler(IAsyncResult result){ 207IAsyncResult readResult = Stream.BeginRead(context.buffer, 0, context.buffer.Length, readCallback, context); 230internal void ContentStreamCallbackHandler(IAsyncResult result){ 238IAsyncResult readResult = Stream.BeginRead(context.buffer, 0, context.buffer.Length,readCallback, context); 245internal void ContentStreamCallback(IAsyncResult result) 281internal override IAsyncResult BeginSend(BaseWriter writer, AsyncCallback callback, bool allowUnicode, 291IAsyncResult contentResult = writer.BeginGetContentStream(new AsyncCallback(ContentStreamCallback),context);
net\System\Net\mail\MimeWriter.cs (2)
45internal IAsyncResult BeginClose(AsyncCallback callback, object state) 56internal void EndClose(IAsyncResult result)
net\System\Net\mail\MultiAsyncResult.cs (1)
57internal static object End(IAsyncResult result)
net\System\Net\mail\QEncodedStream.cs (6)
82public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state) 296public override void EndWrite(IAsyncResult asyncResult) 374void CompleteWrite(IAsyncResult result) 380internal static void End(IAsyncResult result) 387static void OnWrite(IAsyncResult result) 411IAsyncResult result = this.parent.BaseStream.BeginWrite(this.parent.WriteState.Buffer, 0, this.parent.WriteState.Length, onWrite, this);
net\System\Net\mail\QuotedPrintableStream.cs (6)
105public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state) 329public override void EndWrite(IAsyncResult asyncResult) 406void CompleteWrite(IAsyncResult result) 412internal static void End(IAsyncResult result) 419static void OnWrite(IAsyncResult result) 443IAsyncResult result = this.parent.BaseStream.BeginWrite(this.parent.WriteState.Buffer, 0, this.parent.WriteState.Length, onWrite, this);
net\System\Net\mail\SmtpClient.cs (5)
806void Complete(Exception exception, IAsyncResult result) { 844static void ContextSafeCompleteCallback(IAsyncResult ar) 856void SendMessageCallback(IAsyncResult result) { 870void SendMailCallback(IAsyncResult result) { 903void ConnectCallback(IAsyncResult result) {
net\System\Net\mail\SmtpCommands.cs (27)
16internal static IAsyncResult BeginSend(SmtpConnection conn, AsyncCallback callback, object state) 20IAsyncResult writeResult = conn.BeginFlush(onWrite, multiResult); 30IAsyncResult result = reader.BeginReadLine(onReadLine, multiResult); 42internal static object EndSend(IAsyncResult result, out string response) 54static void OnReadLine(IAsyncResult result) 75static void OnWrite(IAsyncResult result) 109internal static IAsyncResult BeginSend(SmtpConnection conn, AsyncCallback callback, object state) 113IAsyncResult writeResult = conn.BeginFlush(onWrite, multiResult); 121IAsyncResult readLinesResult = reader.BeginReadLines(onReadLines, multiResult); 133internal static LineInfo[] EndSend(IAsyncResult result) 141static void OnReadLines(IAsyncResult result) 161static void OnWrite(IAsyncResult result) 188internal static IAsyncResult BeginSend(SmtpConnection conn, string type, string message, AsyncCallback callback, object state) 194internal static IAsyncResult BeginSend(SmtpConnection conn, string message, AsyncCallback callback, object state) 210internal static LineInfo EndSend(IAsyncResult result) 245internal static IAsyncResult BeginSend(SmtpConnection conn, AsyncCallback callback, object state) 272internal static void EndSend(IAsyncResult result) 360internal static IAsyncResult BeginSend(SmtpConnection conn, string domain, AsyncCallback callback, object state) 388internal static string[] EndSend(IAsyncResult result) 414internal static IAsyncResult BeginSend(SmtpConnection conn, string domain, AsyncCallback callback, object state) 439internal static void EndSend(IAsyncResult result) 469internal static IAsyncResult BeginSend(SmtpConnection conn, AsyncCallback callback, object state) 496internal static void EndSend(IAsyncResult result) 525internal static IAsyncResult BeginSend(SmtpConnection conn, byte[] command, MailAddress from, 554internal static void EndSend(IAsyncResult result) 589internal static IAsyncResult BeginSend(SmtpConnection conn, string to, AsyncCallback callback, object state) 625internal static bool EndSend(IAsyncResult result, out string response)
net\System\Net\mail\smtpconnection.cs (17)
164internal IAsyncResult BeginGetConnection(ServicePoint servicePoint, ContextAwareResult outerResult, AsyncCallback callback, object state) 180internal IAsyncResult BeginFlush(AsyncCallback callback, object state) 185internal void EndFlush(IAsyncResult result) 553internal void EndGetConnection(IAsyncResult result) 650internal static void End(IAsyncResult result) 719IAsyncResult result = reader.BeginReadLine(handshakeCallback, this); 747static void HandshakeCallback(IAsyncResult result) //3 784IAsyncResult result = EHelloCommand.BeginSend(connection, connection.client.clientDomain, sendEHelloCallback, this); 822static void SendEHelloCallback(IAsyncResult result)//5 886IAsyncResult result = HelloCommand.BeginSend(connection, connection.client.clientDomain, sendHelloCallback, this); 898static void SendHelloCallback(IAsyncResult result) //7 918IAsyncResult result = StartTlsCommand.BeginSend(connection, SendStartTlsCallback, this); 939static void SendStartTlsCallback(IAsyncResult result) //7 987IAsyncResult result = AuthCommand.BeginSend(connection, connection.authenticationModules[currentModule].AuthenticationType, auth.Message, authenticateCallback, this); 1022static void AuthenticateCallback(IAsyncResult result) //9 1068IAsyncResult result = AuthCommand.BeginSend(connection, auth.Message, authenticateContinueCallback, this); 1090static void AuthenticateContinueCallback(IAsyncResult result) //11
net\System\Net\mail\SmtpReplyReader.cs (4)
17internal IAsyncResult BeginReadLines(AsyncCallback callback, object state) 22internal IAsyncResult BeginReadLine(AsyncCallback callback, object state) 34internal LineInfo[] EndReadLines(IAsyncResult result) 39internal LineInfo EndReadLine(IAsyncResult result)
net\System\Net\mail\SmtpReplyReaderFactory.cs (7)
54internal IAsyncResult BeginReadLines(SmtpReplyReader caller, AsyncCallback callback, object state) 61internal IAsyncResult BeginReadLine(SmtpReplyReader caller, AsyncCallback callback, object state) 87internal LineInfo[] EndReadLines(IAsyncResult result) 92internal LineInfo EndReadLine(IAsyncResult result) 412internal static LineInfo[] End(IAsyncResult result) 423IAsyncResult result = parent.bufferedStream.BeginRead(parent.byteBuffer, 0, parent.byteBuffer.Length, readCallback, this); 432static void ReadCallback(IAsyncResult result)
net\System\Net\mail\SmtpTransport.cs (11)
218internal IAsyncResult BeginGetConnection(ServicePoint servicePoint, ContextAwareResult outerResult, AsyncCallback callback, object state) 221IAsyncResult result = null; 243internal void EndGetConnection(IAsyncResult result) 256internal IAsyncResult BeginSendMail(MailAddress sender, MailAddressCollection recipients, 292internal MailWriter EndSendMail(IAsyncResult result) 389internal static MailWriter End(IAsyncResult result) 407IAsyncResult result = MailCommand.BeginSend(connection, SmtpCommands.Mail, from, allowUnicode, 418static void SendMailFromCompleted(IAsyncResult result) 455static void SendToCollectionCompleted(IAsyncResult result) 497IAsyncResult result = DataCommand.BeginSend(connection, sendDataCompleted, this); 518static void SendDataCompleted(IAsyncResult result)
net\System\Net\NetworkInformation\IPGlobalProperties.cs (2)
80public virtual IAsyncResult BeginGetUnicastAddresses(AsyncCallback callback, object state) 85public virtual UnicastIPAddressInformationCollection EndGetUnicastAddresses(IAsyncResult asyncResult)
net\System\Net\NetworkInformation\SystemIPGlobalProperties.cs (2)
398public override IAsyncResult BeginGetUnicastAddresses(AsyncCallback callback, object state){ 409public override UnicastIPAddressInformationCollection EndGetUnicastAddresses(IAsyncResult asyncResult){
net\System\Net\SecureProtocols\_FixedSizeReader.cs (2)
85IAsyncResult ar = _Transport.BeginRead(_Request.Buffer, _Request.Offset+_TotalRead, _Request.Count-_TotalRead, _ReadCallback, this); 134private static void ReadCallback(IAsyncResult transportResult)
net\System\Net\SecureProtocols\_NegoState.cs (6)
416internal void EndProcessAuthentication(IAsyncResult result) 583IAsyncResult ar = _Framer.BeginWriteMessage(message, _WriteCallback, lazyResult); 621IAsyncResult ar = _Framer.BeginReadMessage(_ReadCallback, lazyResult); 723IAsyncResult ar = _Framer.BeginWriteMessage(message, _WriteCallback, lazyResult); 737private static void WriteCallback(IAsyncResult transportResult) 773private static void ReadCallback(IAsyncResult transportResult)
net\System\Net\SecureProtocols\_NegoStream.cs (2)
179IAsyncResult ar = InnerStream.BeginWrite(outBuffer, 0, encryptedBytes, _WriteCallback, asyncRequest); 383private static void WriteCallback(IAsyncResult transportResult)
net\System\Net\SecureProtocols\_SslState.cs (7)
694internal void EndProcessAuthentication(IAsyncResult result) 784IAsyncResult ar = InnerStream.BeginWrite(message.Payload, 0, message.Size, _WriteCallback, asyncRequest); 980IAsyncResult ar = InnerStream.BeginWrite(message.Payload, 0, message.Size, _WriteCallback, asyncRequest); 1019private static void WriteCallback(IAsyncResult transportResult) 1331internal IAsyncResult BeginShutdown(AsyncCallback asyncCallback, object asyncState) 1339internal void EndShutdown(IAsyncResult result) 1721private void RehandshakeCompleteCallback(IAsyncResult result)
net\System\Net\SecureProtocols\_SslStream.cs (9)
127internal IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback asyncCallback, object asyncState) 136internal int EndRead(IAsyncResult asyncResult) 169internal IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback asyncCallback, object asyncState) 179internal IAsyncResult BeginWrite(BufferOffsetSize[] buffers, AsyncCallback asyncCallback, object asyncState) 188internal void EndWrite(IAsyncResult asyncResult) 442IAsyncResult ar = ((NetworkStream)(_SslState.InnerStream)).BeginMultipleWrite(buffers, _MulitpleWriteCallback, asyncRequest); 602IAsyncResult ar = _SslState.InnerStream.BeginWrite(outBuffer, 0, encryptedBytes, _WriteCallback, asyncRequest); 898private static void WriteCallback(IAsyncResult transportResult) 932private static void MulitpleWriteCallback(IAsyncResult transportResult)
net\System\Net\SecureProtocols\NegotiateStream.cs (15)
106public virtual IAsyncResult BeginAuthenticateAsClient(AsyncCallback asyncCallback, object asyncState) 114public virtual IAsyncResult BeginAuthenticateAsClient(NetworkCredential credential, string targetName, AsyncCallback asyncCallback, object asyncState) 122public virtual IAsyncResult BeginAuthenticateAsClient(NetworkCredential credential, ChannelBinding binding, string targetName, AsyncCallback asyncCallback, object asyncState) 130public virtual IAsyncResult BeginAuthenticateAsClient(NetworkCredential credential, 143public virtual IAsyncResult BeginAuthenticateAsClient(NetworkCredential credential, 165public virtual void EndAuthenticateAsClient(IAsyncResult asyncResult) 213public virtual IAsyncResult BeginAuthenticateAsServer(AsyncCallback asyncCallback, object asyncState) 219public virtual IAsyncResult BeginAuthenticateAsServer(ExtendedProtectionPolicy policy, AsyncCallback asyncCallback, object asyncState) 225public virtual IAsyncResult BeginAuthenticateAsServer(NetworkCredential credential, 235public virtual IAsyncResult BeginAuthenticateAsServer(NetworkCredential credential, 256public virtual void EndAuthenticateAsServer(IAsyncResult asyncResult) 569public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback asyncCallback, object asyncState) 589public override int EndRead(IAsyncResult asyncResult) 635public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback asyncCallback, object asyncState) 656public override void EndWrite(IAsyncResult asyncResult)
net\System\Net\SecureProtocols\SslStream.cs (14)
144public virtual IAsyncResult BeginAuthenticateAsClient(string targetHost, AsyncCallback asyncCallback, object asyncState) 151public virtual IAsyncResult BeginAuthenticateAsClient(string targetHost, X509CertificateCollection clientCertificates, 161public virtual IAsyncResult BeginAuthenticateAsClient(string targetHost, X509CertificateCollection clientCertificates, 173public virtual void EndAuthenticateAsClient(IAsyncResult asyncResult) 203public virtual IAsyncResult BeginAuthenticateAsServer(X509Certificate serverCertificate, AsyncCallback asyncCallback, object asyncState) 213public virtual IAsyncResult BeginAuthenticateAsServer(X509Certificate serverCertificate, bool clientCertificateRequired, 222public virtual IAsyncResult BeginAuthenticateAsServer(X509Certificate serverCertificate, bool clientCertificateRequired, 234public virtual void EndAuthenticateAsServer(IAsyncResult asyncResult) 239internal virtual IAsyncResult BeginShutdown(AsyncCallback asyncCallback, object asyncState) 244internal virtual void EndShutdown(IAsyncResult asyncResult) 516public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback asyncCallback, object asyncState) { 521public override int EndRead(IAsyncResult asyncResult) { 528public override IAsyncResult BeginWrite( byte[] buffer, int offset, int count, AsyncCallback asyncCallback, object asyncState) { 533public override void EndWrite(IAsyncResult asyncResult) {
net\System\Net\ServicePoint.cs (3)
1230private static void ConnectSocketCallback(IAsyncResult asyncResult) { 1358ref IPAddress address, ConnectSocketState state, IAsyncResult asyncResult, out Exception exception) { 1424IAsyncResult asyncResultCopy = asyncResult;
net\System\Net\Sockets\_MultipleConnectAsync.cs (3)
61IAsyncResult result = Dns.BeginGetHostAddresses(endPoint.Host, new AsyncCallback(DnsCallback), null); 74private void DnsCallback(IAsyncResult result) 85private bool DoDnsCallback(IAsyncResult result, bool sync)
net\System\Net\Sockets\NetworkStream.cs (15)
716public override IAsyncResult BeginRead(byte[] buffer, int offset, int size, AsyncCallback callback, Object state) { 746IAsyncResult asyncResult = 773internal virtual IAsyncResult UnsafeBeginRead(byte[] buffer, int offset, int size, AsyncCallback callback, Object state) 793IAsyncResult asyncResult = chkStreamSocket.UnsafeBeginReceive( 837public override int EndRead(IAsyncResult asyncResult) { 901public override IAsyncResult BeginWrite(byte[] buffer, int offset, int size, AsyncCallback callback, Object state) { 934IAsyncResult asyncResult = 963internal virtual IAsyncResult UnsafeBeginWrite(byte[] buffer, int offset, int size, AsyncCallback callback, Object state) { 985IAsyncResult asyncResult = 1022public override void EndWrite(IAsyncResult asyncResult) { 1109internal virtual IAsyncResult BeginMultipleWrite( 1136IAsyncResult asyncResult = 1163internal virtual IAsyncResult UnsafeBeginMultipleWrite( 1190IAsyncResult asyncResult = 1217internal virtual void EndMultipleWrite(IAsyncResult asyncResult) {
net\System\Net\Sockets\Socket.cs (53)
2674public IAsyncResult BeginSendFile( 2722public IAsyncResult BeginConnect(EndPoint remoteEP, AsyncCallback callback, object state) 2840internal IAsyncResult UnsafeBeginConnect(EndPoint remoteEP, AsyncCallback callback, object state) 3078public IAsyncResult BeginConnect(string host, int port, AsyncCallback requestCallback, object state){ 3120public IAsyncResult BeginConnect(IPAddress address, int port, AsyncCallback requestCallback, object state){ 3138IAsyncResult result = BeginConnect(new IPEndPoint(address,port),requestCallback,state); 3144public IAsyncResult BeginConnect(IPAddress[] addresses, int port, AsyncCallback requestCallback, object state) 3202public IAsyncResult BeginDisconnect(bool reuseSocket, AsyncCallback callback, object state) 3327public void EndConnect(IAsyncResult asyncResult) 3347public void EndDisconnect(IAsyncResult asyncResult) { 3425public IAsyncResult BeginSend(byte[] buffer, int offset, int size, SocketFlags socketFlags, AsyncCallback callback, object state) 3428IAsyncResult result = BeginSend(buffer, offset, size, socketFlags, out errorCode, callback, state); 3436public IAsyncResult BeginSend(byte[] buffer, int offset, int size, SocketFlags socketFlags, out SocketError errorCode, AsyncCallback callback, object state) 3482internal IAsyncResult UnsafeBeginSend(byte[] buffer, int offset, int size, SocketFlags socketFlags, AsyncCallback callback, object state) 3564public IAsyncResult BeginSendFile( 3688public IAsyncResult BeginSend(IList<ArraySegment<byte>> buffers, SocketFlags socketFlags, AsyncCallback callback, object state) 3691IAsyncResult result = BeginSend(buffers, socketFlags, out errorCode, callback, state); 3700public IAsyncResult BeginSend(IList<ArraySegment<byte>> buffers, SocketFlags socketFlags, out SocketError errorCode, AsyncCallback callback, object state) 3811public int EndSend(IAsyncResult asyncResult) { 3821public int EndSend(IAsyncResult asyncResult, out SocketError errorCode) { 3882public void EndSendFile(IAsyncResult asyncResult) { 3964public IAsyncResult BeginSendTo(byte[] buffer, int offset, int size, SocketFlags socketFlags, EndPoint remoteEP, AsyncCallback callback, object state) 4091public int EndSendTo(IAsyncResult asyncResult) { 4179public IAsyncResult BeginReceive(byte[] buffer, int offset, int size, SocketFlags socketFlags, AsyncCallback callback, object state) 4182IAsyncResult result = BeginReceive(buffer, offset, size, socketFlags, out errorCode, callback, state); 4191public IAsyncResult BeginReceive(byte[] buffer, int offset, int size, SocketFlags socketFlags, out SocketError errorCode, AsyncCallback callback, object state) 4234internal IAsyncResult UnsafeBeginReceive(byte[] buffer, int offset, int size, SocketFlags socketFlags, AsyncCallback callback, object state) 4316public IAsyncResult BeginReceive(IList<ArraySegment<byte>> buffers, SocketFlags socketFlags, AsyncCallback callback, object state) 4319IAsyncResult result = BeginReceive(buffers, socketFlags, out errorCode, callback, state); 4328public IAsyncResult BeginReceive(IList<ArraySegment<byte>> buffers, SocketFlags socketFlags, out SocketError errorCode, AsyncCallback callback, object state) 4456public int EndReceive(IAsyncResult asyncResult) { 4466public int EndReceive(IAsyncResult asyncResult, out SocketError errorCode) { 4531public IAsyncResult BeginReceiveMessageFrom(byte[] buffer, int offset, int size, SocketFlags socketFlags, ref EndPoint remoteEP, AsyncCallback callback, object state) { 4657public int EndReceiveMessageFrom(IAsyncResult asyncResult, ref SocketFlags socketFlags, ref EndPoint endPoint, out IPPacketInformation ipPacketInformation) { 4767public IAsyncResult BeginReceiveFrom(byte[] buffer, int offset, int size, SocketFlags socketFlags, ref EndPoint remoteEP, AsyncCallback callback, object state) { 4914public int EndReceiveFrom(IAsyncResult asyncResult, ref EndPoint endPoint) { 5016public IAsyncResult BeginAccept(AsyncCallback callback, object state) { 5341public IAsyncResult BeginAccept(int receiveSize, AsyncCallback callback, object state) { 5351public IAsyncResult BeginAccept(Socket acceptSocket, int receiveSize, AsyncCallback callback, object state) { 5473public Socket EndAccept(IAsyncResult asyncResult) { 5543public Socket EndAccept( out byte[] buffer, IAsyncResult asyncResult) { 5557public Socket EndAccept( out byte[] buffer, out int bytesTransferred, IAsyncResult asyncResult) { 6077IAsyncResult dnsResult = Dns.UnsafeBeginGetHostAddresses(host, new AsyncCallback(DnsCallback), result); 6093private void InternalEndConnect(IAsyncResult asyncResult) 6876private IAsyncResult BeginConnectEx(EndPoint remoteEP, bool flowContext, AsyncCallback callback, object state) 7035private static void DnsCallback(IAsyncResult result){ 7058private static bool DoDnsCallback(IAsyncResult result, MultipleAddressConnectAsyncResult context) 7107IAsyncResult connectResult = context.socket.UnsafeBeginConnect(endPoint, 7126private static void MultipleAddressConnectCallback(IAsyncResult result) 7161context.socket.InternalEndConnect((IAsyncResult) result); 7191internal IAsyncResult BeginMultipleSend(BufferOffsetSize[] buffers, SocketFlags socketFlags, AsyncCallback callback, object state) { 7204internal IAsyncResult UnsafeBeginMultipleSend(BufferOffsetSize[] buffers, SocketFlags socketFlags, AsyncCallback callback, object state) 7271internal int EndMultipleSend(IAsyncResult asyncResult) {
net\System\Net\Sockets\TCPClient.cs (7)
363public IAsyncResult BeginConnect(string host, int port, AsyncCallback requestCallback, object state) 366IAsyncResult result = Client.BeginConnect(host, port, requestCallback, state); 372public IAsyncResult BeginConnect(IPAddress address, int port, AsyncCallback requestCallback, object state) 375IAsyncResult result = Client.BeginConnect(address, port, requestCallback, state); 381public IAsyncResult BeginConnect(IPAddress[] addresses, int port, AsyncCallback requestCallback, object state) 385IAsyncResult result = Client.BeginConnect(addresses, port, requestCallback, state); 390public void EndConnect(IAsyncResult asyncResult){
net\System\Net\Sockets\TCPListener.cs (6)
269public IAsyncResult BeginAcceptSocket(AsyncCallback callback, object state) 275IAsyncResult result = m_ServerSocket.BeginAccept(callback,state); 280public Socket EndAcceptSocket(IAsyncResult asyncResult){ 303public IAsyncResult BeginAcceptTcpClient(AsyncCallback callback, object state) 308IAsyncResult result = m_ServerSocket.BeginAccept(callback,state); 313public TcpClient EndAcceptTcpClient(IAsyncResult asyncResult){
net\System\Net\Sockets\UDPClient.cs (6)
608public IAsyncResult BeginSend(byte[] datagram, int bytes, IPEndPoint endPoint, AsyncCallback requestCallback, object state) { 642public IAsyncResult BeginSend(byte[] datagram, int bytes, string hostname, int port, AsyncCallback requestCallback, object state) { 671public IAsyncResult BeginSend(byte[] datagram, int bytes, AsyncCallback requestCallback, object state) { 676public int EndSend(IAsyncResult asyncResult){ 733public IAsyncResult BeginReceive(AsyncCallback requestCallback, object state) { 758public byte[] EndReceive(IAsyncResult asyncResult, ref IPEndPoint remoteEP){
net\System\Net\webclient.cs (12)
314protected virtual WebResponse GetWebResponse(WebRequest request, IAsyncResult result) { 1206static private void DownloadBitsResponseCallback(IAsyncResult result) { 1236static private void DownloadBitsReadCallback(IAsyncResult result) { 1241static private void DownloadBitsReadCallbackState(DownloadBitsState state, IAsyncResult result) { 1471static private void UploadBitsRequestCallback(IAsyncResult result) { 1500static private void UploadBitsWriteCallback(IAsyncResult result) { 1797private void OpenReadAsyncCallback(IAsyncResult result) { 1868private void OpenWriteAsyncCallback(IAsyncResult result) { 3050public override IAsyncResult BeginRead(byte[] buffer, int offset, int size, AsyncCallback callback, object state) { 3055public override IAsyncResult BeginWrite(byte[] buffer, int offset, int size, AsyncCallback callback, object state ) { 3071public override int EndRead(IAsyncResult result) { 3075public override void EndWrite(IAsyncResult result) {
net\System\Net\WebRequest.cs (4)
829public virtual IAsyncResult BeginGetResponse(AsyncCallback callback, object state) { 837public virtual WebResponse EndGetResponse(IAsyncResult asyncResult) { 846public virtual IAsyncResult BeginGetRequestStream(AsyncCallback callback, Object state) { 855public virtual Stream EndGetRequestStream(IAsyncResult asyncResult) {
net\System\Net\WebSockets\WebSocketConnectionStream.cs (6)
458private static readonly Func<IList<ArraySegment<byte>>, AsyncCallback, object, IAsyncResult> s_BeginMultipleWrite = 459new Func<IList<ArraySegment<byte>>, AsyncCallback, object, IAsyncResult>(BeginMultipleWrite); 460private static readonly Action<IAsyncResult> s_EndMultipleWrite = 461new Action<IAsyncResult>(EndMultipleWrite); 597private static IAsyncResult BeginMultipleWrite(IList<ArraySegment<byte>> sendBuffers, AsyncCallback callback, object asyncState) 616private static void EndMultipleWrite(IAsyncResult asyncResult)
net\System\Net\WebSockets\WebSocketHttpListenerDuplexStream.cs (4)
329public override IAsyncResult BeginRead(byte[] buffer, 338public override int EndRead(IAsyncResult asyncResult) 578public override IAsyncResult BeginWrite(byte[] buffer, 587public override void EndWrite(IAsyncResult asyncResult)
services\monitoring\system\diagnosticts\AsyncStreamReader.cs (1)
153private void ReadBuffer(IAsyncResult ar) {
sys\system\configuration\ClientSettingsStore.cs (4)
464public override IAsyncResult BeginRead(byte[] buffer, int offset, int numBytes, 469public override int EndRead(IAsyncResult asyncResult) { 474public override IAsyncResult BeginWrite(byte[] buffer, int offset, int numBytes, 487public override void EndWrite(IAsyncResult asyncResult) {
sys\System\IO\compression\DeflateStream.cs (8)
378public override IAsyncResult BeginRead(byte[] array, int offset, int count, AsyncCallback asyncCallback, object asyncState) { 426private void ReadCallback(IAsyncResult baseStreamResult) { 465public override int EndRead(IAsyncResult asyncResult) { 523IAsyncResult result = _stream.BeginWrite(array, offset, count, null, null); 642public override IAsyncResult BeginWrite(byte[] array, int offset, int count, AsyncCallback asyncCallback, object asyncState) { 673private void WriteCallback(IAsyncResult asyncResult) { 690public override void EndWrite(IAsyncResult asyncResult) { 708private void CheckEndXxxxLegalStateAndParams(IAsyncResult asyncResult) {
sys\System\IO\compression\GZipStream.cs (4)
110public override IAsyncResult BeginRead(byte[] array, int offset, int count, AsyncCallback asyncCallback, object asyncState) { 117public override int EndRead(IAsyncResult asyncResult) { 127public override IAsyncResult BeginWrite(byte[] array, int offset, int count, AsyncCallback asyncCallback, object asyncState) { 134public override void EndWrite(IAsyncResult asyncResult) {
sys\system\io\ports\SerialStream.cs (10)
869public override IAsyncResult BeginRead(byte[] array, int offset,int numBytes, AsyncCallback userCallback, object stateObject) 883IAsyncResult result; 900public override IAsyncResult BeginWrite(byte[] array, int offset, int numBytes, 917IAsyncResult result; 948public unsafe override int EndRead(IAsyncResult asyncResult) 1016public unsafe override void EndWrite(IAsyncResult asyncResult) { 1101IAsyncResult result = BeginReadCore(array, offset, count, null, null); 1129IAsyncResult result = BeginReadCore(tempBuf, 0, 1, null, null); 1189IAsyncResult result = BeginWriteCore(array, offset, count, null, null); 1231IAsyncResult result = BeginWriteCore(tempBuf, 0, 1, null, null);
System.Activities (269)
System\Activities\AsyncCodeActivity.cs (13)
75protected abstract IAsyncResult BeginExecute(AsyncCodeActivityContext context, AsyncCallback callback, object state); 76protected abstract void EndExecute(AsyncCodeActivityContext context, IAsyncResult result); 93IAsyncResult result = BeginExecute(context, AsyncCodeActivity.OnExecuteComplete, asyncContext); 122void IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result) 127internal static void CompleteAsynchronousExecution(IAsyncResult result) 217IAsyncResult result; 219public CompleteAsyncCodeActivityData(AsyncOperationContext context, IAsyncResult result) 233IAsyncResult result; 236public CompleteAsyncCodeActivityWorkItem(AsyncOperationContext asyncContext, ActivityInstance instance, IAsyncResult result) 347protected abstract IAsyncResult BeginExecute(AsyncCodeActivityContext context, AsyncCallback callback, object state); 348protected abstract TResult EndExecute(AsyncCodeActivityContext context, IAsyncResult result); 365IAsyncResult result = BeginExecute(context, AsyncCodeActivity.OnExecuteComplete, asyncContext); 394void IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
System\Activities\AsyncOperationContext.cs (2)
111IAsyncResult result = this.executor.BeginResumeBookmark(Bookmark.AsyncOperationCompletionBookmark, 129static void OnResumeAsyncCodeActivityBookmark(IAsyncResult result)
System\Activities\DurableInstancing\PersistenceIOParticipant.cs (8)
24protected virtual IAsyncResult BeginOnSave(IDictionary<XName, object> readWriteValues, IDictionary<XName, object> writeOnlyValues, TimeSpan timeout, AsyncCallback callback, object state) 30protected virtual void EndOnSave(IAsyncResult result) 37protected virtual IAsyncResult BeginOnLoad(IDictionary<XName, object> readWriteValues, TimeSpan timeout, AsyncCallback callback, object state) 43protected virtual void EndOnLoad(IAsyncResult result) 50internal override IAsyncResult InternalBeginOnSave(IDictionary<XName, object> readWriteValues, IDictionary<XName, object> writeOnlyValues, TimeSpan timeout, AsyncCallback callback, object state) 55internal override void InternalEndOnSave(IAsyncResult result) 60internal override IAsyncResult InternalBeginOnLoad(IDictionary<XName, object> readWriteValues, TimeSpan timeout, AsyncCallback callback, object state) 65internal override void InternalEndOnLoad(IAsyncResult result)
System\Activities\DurableInstancing\PersistenceParticipant.cs (8)
88IAsyncResult IPersistencePipelineModule.BeginOnSave(IDictionary<XName, object> readWriteValues, IDictionary<XName, object> writeOnlyValues, TimeSpan timeout, AsyncCallback callback, object state) 93void IPersistencePipelineModule.EndOnSave(IAsyncResult result) 98IAsyncResult IPersistencePipelineModule.BeginOnLoad(IDictionary<XName, object> readWriteValues, TimeSpan timeout, AsyncCallback callback, object state) 103void IPersistencePipelineModule.EndOnLoad(IAsyncResult result) 113internal virtual IAsyncResult InternalBeginOnSave(IDictionary<XName, object> readWriteValues, IDictionary<XName, object> writeOnlyValues, TimeSpan timeout, AsyncCallback callback, object state) 118internal virtual void InternalEndOnSave(IAsyncResult result) 123internal virtual IAsyncResult InternalBeginOnLoad(IDictionary<XName, object> readWriteValues, TimeSpan timeout, AsyncCallback callback, object state) 128internal virtual void InternalEndOnLoad(IAsyncResult result)
System\Activities\Expressions\InvokeMethod.cs (2)
139protected override IAsyncResult BeginExecute(AsyncCodeActivityContext context, AsyncCallback callback, object state) 144protected override TResult EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
System\Activities\Hosting\WorkflowInstance.cs (14)
470protected internal abstract IAsyncResult OnBeginResumeBookmark(Bookmark bookmark, object value, TimeSpan timeout, AsyncCallback callback, object state); 471protected internal abstract BookmarkResumptionResult OnEndResumeBookmark(IAsyncResult result); 473protected internal abstract IAsyncResult OnBeginPersist(AsyncCallback callback, object state); 474protected internal abstract void OnEndPersist(IAsyncResult result); 478protected internal abstract IAsyncResult OnBeginAssociateKeys(ICollection<InstanceKey> keys, AsyncCallback callback, object state); 479protected internal abstract void OnEndAssociateKeys(IAsyncResult result); 481internal IAsyncResult BeginFlushTrackingRecordsInternal(AsyncCallback callback, object state) 486internal void EndFlushTrackingRecordsInternal(IAsyncResult result) 499protected IAsyncResult BeginFlushTrackingRecords(TimeSpan timeout, AsyncCallback callback, object state) 511protected void EndFlushTrackingRecords(IAsyncResult result) 523protected virtual IAsyncResult OnBeginFlushTrackingRecords(AsyncCallback callback, object state) 528protected virtual void OnEndFlushTrackingRecords(IAsyncResult result) 1118public IAsyncResult BeginFlushTrackingRecords(TimeSpan timeout, AsyncCallback callback, object state) 1123public void EndFlushTrackingRecords(IAsyncResult result)
System\Activities\Hosting\WorkflowInstanceProxy.cs (3)
35public IAsyncResult BeginResumeBookmark(Bookmark bookmark, object value, AsyncCallback callback, object state) 40public IAsyncResult BeginResumeBookmark(Bookmark bookmark, object value, TimeSpan timeout, AsyncCallback callback, object state) 47public BookmarkResumptionResult EndResumeBookmark(IAsyncResult result)
System\Activities\IAsyncCodeActivity.cs (1)
10void FinishExecution(AsyncCodeActivityContext context, IAsyncResult result);
System\Activities\Runtime\ActivityExecutor.cs (20)
994public IAsyncResult BeginTrackPendingRecords(AsyncCallback callback, object state) 1000public void EndTrackPendingRecords(IAsyncResult result) 1980internal IAsyncResult BeginAssociateKeys(ICollection<InstanceKey> keysToAssociate, AsyncCallback callback, object state) 1985internal void EndAssociateKeys(IAsyncResult result) 2640internal IAsyncResult BeginResumeBookmark(Bookmark bookmark, object value, TimeSpan timeout, AsyncCallback callback, object state) 2645internal BookmarkResumptionResult EndResumeBookmark(IAsyncResult result) 3180IAsyncResult result = null; 3204void OnPersistComplete(IAsyncResult result) 3935IAsyncResult result = new TransactionalPersistAsyncResult(this.executor, PersistCompleteCallback, this); 4000static void OnPersistComplete(IAsyncResult result) 4035bool FinishPersist(IAsyncResult result) 4074IAsyncResult result = committableTransaction.BeginCommit(CommitCompleteCallback, this); 4092static void OnCommitComplete(IAsyncResult result) 4127bool FinishCommit(IAsyncResult result) 4239IAsyncResult result = null; 4262public static void End(IAsyncResult result) 4267static bool OnPersistComplete(IAsyncResult result) 4460IAsyncResult result; 4471static bool OnAssociated(IAsyncResult result) 4478public static void End(IAsyncResult result)
System\Activities\Runtime\WorkItem.cs (4)
163static void OnAssociateComplete(IAsyncResult result) 189static void OnTrackingComplete(IAsyncResult result) 291IAsyncResult result = executor.BeginAssociateKeys(keysToAssociate, associateCallback, new CallbackData(executor, this)); 326IAsyncResult result = executor.BeginTrackPendingRecords(
System\Activities\Statements\DurableTimerExtension.cs (3)
158IAsyncResult result = null; 180static void OnResumeBookmarkComplete(IAsyncResult result) 293protected override IAsyncResult BeginOnSave(IDictionary<XName, object> readWriteValues, IDictionary<XName, object> writeOnlyValues, TimeSpan timeout, AsyncCallback callback, object state)
System\Activities\Statements\InvokeMethod.cs (2)
155protected override IAsyncResult BeginExecute(AsyncCodeActivityContext context, AsyncCallback callback, object state) 160protected override void EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
System\Activities\Statements\MethodExecutor.cs (4)
44protected abstract IAsyncResult BeginMakeMethodCall(AsyncCodeActivityContext context, object target, AsyncCallback callback, object state); 45protected abstract void EndMakeMethodCall(AsyncCodeActivityContext context, IAsyncResult result); 104public IAsyncResult BeginExecuteMethod(AsyncCodeActivityContext context, AsyncCallback callback, object state) 120public void EndExecuteMethod(AsyncCodeActivityContext context, IAsyncResult result)
System\Activities\Statements\MethodResolver.cs (10)
250Type[] endMethodParameterTypes = { typeof(IAsyncResult) }; 254if (this.beginMethod != null && !this.beginMethod.ReturnType.Equals(typeof(IAsyncResult))) 593protected override IAsyncResult BeginMakeMethodCall(AsyncCodeActivityContext context, object target, AsyncCallback callback, object state) 604protected override void EndMakeMethodCall(AsyncCodeActivityContext context, IAsyncResult result) 651protected override IAsyncResult BeginMakeMethodCall(AsyncCodeActivityContext context, object target, AsyncCallback callback, object state) 665return (IAsyncResult)this.InvokeAndUnwrapExceptions(this.beginFunc, target, instance.ActualParameters); 668protected override void EndMakeMethodCall(AsyncCodeActivityContext context, IAsyncResult result) 710protected override IAsyncResult BeginMakeMethodCall(AsyncCodeActivityContext context, object target, AsyncCallback callback, object state) 720protected override void EndMakeMethodCall(AsyncCodeActivityContext context, IAsyncResult result) 747public static InvokeMethodInstanceData End(IAsyncResult result)
System\Activities\Statements\StateMachineExtension.cs (2)
48IAsyncResult asyncResult = this.instance.BeginResumeBookmark(bookmark, null, Fx.ThunkCallback(new AsyncCallback(StateMachineExtension.OnResumeBookmarkCompleted)), this.instance); 55static void OnResumeBookmarkCompleted(IAsyncResult result)
System\Activities\Tracking\EtwTrackingParticipant.cs (2)
79protected internal override IAsyncResult BeginTrack(TrackingRecord record, TimeSpan timeout, AsyncCallback callback, object state) 85protected internal override void EndTrack(IAsyncResult result)
System\Activities\Tracking\TrackingParticipant.cs (3)
23protected internal virtual IAsyncResult BeginTrack(TrackingRecord record, TimeSpan timeout, AsyncCallback callback, object state) 29protected internal virtual void EndTrack(IAsyncResult result) 54public static void End(IAsyncResult result)
System\Activities\Tracking\TrackingProvider.cs (5)
201public IAsyncResult BeginFlushPendingRecords(TimeSpan timeout, AsyncCallback callback, object state) 206public void EndFlushPendingRecords(IAsyncResult result) 352static bool OnTrackingComplete(IAsyncResult result) 395IAsyncResult result = participant.BeginTrack(preparedRecord, this.timeoutHelper.RemainingTime(), PrepareAsyncCompletion(trackingCompleteCallback), this); 422public static void End(IAsyncResult result)
System\Activities\WorkflowApplication.cs (147)
352static void EventFrame(IAsyncResult result) 922IAsyncResult result = this.Controller.BeginFlushTrackingRecords(ActivityDefaults.TrackingTimeout, Fx.ThunkCallback(new AsyncCallback(OnAbortTrackingComplete)), reason); 948void OnAbortTrackingComplete(IAsyncResult result) 1064public IAsyncResult BeginTerminate(string reason, AsyncCallback callback, object state) 1069public IAsyncResult BeginTerminate(Exception reason, AsyncCallback callback, object state) 1074public IAsyncResult BeginTerminate(string reason, TimeSpan timeout, AsyncCallback callback, object state) 1084public IAsyncResult BeginTerminate(Exception reason, TimeSpan timeout, AsyncCallback callback, object state) 1098public void EndTerminate(IAsyncResult result) 1154public IAsyncResult BeginCancel(AsyncCallback callback, object state) 1159public IAsyncResult BeginCancel(TimeSpan timeout, AsyncCallback callback, object state) 1168public void EndCancel(IAsyncResult result) 1291internal static IAsyncResult BeginInvoke(Activity activity, IDictionary<string, object> inputs, WorkflowInstanceExtensionManager extensions, TimeSpan timeout, SynchronizationContext syncContext, AsyncInvokeContext invokeContext, AsyncCallback callback, object state) 1298internal static IDictionary<string, object> EndInvoke(IAsyncResult result) 1358public IAsyncResult BeginRun(AsyncCallback callback, object state) 1363public IAsyncResult BeginRun(TimeSpan timeout, AsyncCallback callback, object state) 1368IAsyncResult BeginInternalRun(TimeSpan timeout, bool isUserRun, AsyncCallback callback, object state) 1377public void EndRun(IAsyncResult result) 1455public static IAsyncResult BeginCreateDefaultInstanceOwner(InstanceStore instanceStore, WorkflowIdentity definitionIdentity, 1461public static IAsyncResult BeginCreateDefaultInstanceOwner(InstanceStore instanceStore, WorkflowIdentity definitionIdentity, 1477public static void EndCreateDefaultInstanceOwner(IAsyncResult asyncResult) 1506public static IAsyncResult BeginDeleteDefaultInstanceOwner(InstanceStore instanceStore, AsyncCallback callback, object state) 1511public static IAsyncResult BeginDeleteDefaultInstanceOwner(InstanceStore instanceStore, TimeSpan timeout, AsyncCallback callback, object state) 1526public static void EndDeleteDefaultInstanceOwner(IAsyncResult asyncResult) 1602public static IAsyncResult BeginGetRunnableInstance(InstanceStore instanceStore, AsyncCallback callback, object state) 1607public static IAsyncResult BeginGetRunnableInstance(InstanceStore instanceStore, TimeSpan timeout, AsyncCallback callback, object state) 1623public static WorkflowApplicationInstance EndGetRunnableInstance(IAsyncResult asyncResult) 1649public static IAsyncResult BeginGetInstance(Guid instanceId, InstanceStore instanceStore, AsyncCallback callback, object state) 1654public static IAsyncResult BeginGetInstance(Guid instanceId, InstanceStore instanceStore, TimeSpan timeout, AsyncCallback callback, object state) 1670public static WorkflowApplicationInstance EndGetInstance(IAsyncResult asyncResult) 2045internal static IAsyncResult BeginDiscardInstance(PersistenceManagerBase persistanceManager, TimeSpan timeout, AsyncCallback callback, object state) 2052internal static void EndDiscardInstance(IAsyncResult asyncResult) 2084public IAsyncResult BeginLoadRunnableInstance(AsyncCallback callback, object state) 2089public IAsyncResult BeginLoadRunnableInstance(TimeSpan timeout, AsyncCallback callback, object state) 2121public IAsyncResult BeginLoad(Guid instanceId, AsyncCallback callback, object state) 2126public IAsyncResult BeginLoad(Guid instanceId, TimeSpan timeout, AsyncCallback callback, object state) 2155public IAsyncResult BeginLoad(WorkflowApplicationInstance instance, AsyncCallback callback, object state) 2160public IAsyncResult BeginLoad(WorkflowApplicationInstance instance, TimeSpan timeout, 2166public IAsyncResult BeginLoad(WorkflowApplicationInstance instance, DynamicUpdateMap updateMap, 2172public IAsyncResult BeginLoad(WorkflowApplicationInstance instance, DynamicUpdateMap updateMap, TimeSpan timeout, 2204public void EndLoad(IAsyncResult result) 2209public void EndLoadRunnableInstance(IAsyncResult result) 2255IAsyncResult BeginInternalPersist(PersistenceOperation operation, TimeSpan timeout, bool isInternalPersist, AsyncCallback callback, object state) 2260void EndInternalPersist(IAsyncResult result) 2439public IAsyncResult BeginPersist(AsyncCallback callback, object state) 2445public IAsyncResult BeginPersist(TimeSpan timeout, AsyncCallback callback, object state) 2455public void EndPersist(IAsyncResult result) 2493protected internal override IAsyncResult OnBeginPersist(AsyncCallback callback, object state) 2498protected internal override void OnEndPersist(IAsyncResult result) 2503protected internal override IAsyncResult OnBeginAssociateKeys(ICollection<InstanceKey> keys, AsyncCallback callback, object state) 2508protected internal override void OnEndAssociateKeys(IAsyncResult result) 2640public IAsyncResult BeginResumeBookmark(string bookmarkName, object value, AsyncCallback callback, object state) 2651public IAsyncResult BeginResumeBookmark(string bookmarkName, object value, TimeSpan timeout, AsyncCallback callback, object state) 2662public IAsyncResult BeginResumeBookmark(Bookmark bookmark, object value, AsyncCallback callback, object state) 2668public IAsyncResult BeginResumeBookmark(Bookmark bookmark, object value, TimeSpan timeout, AsyncCallback callback, object state) 2677public BookmarkResumptionResult EndResumeBookmark(IAsyncResult result) 2682protected internal override IAsyncResult OnBeginResumeBookmark(Bookmark bookmark, object value, TimeSpan timeout, AsyncCallback callback, object state) 2688protected internal override BookmarkResumptionResult OnEndResumeBookmark(IAsyncResult result) 2845public IAsyncResult BeginUnload(AsyncCallback callback, object state) 2851public IAsyncResult BeginUnload(TimeSpan timeout, AsyncCallback callback, object state) 2861public void EndUnload(IAsyncResult result) 3113public static IDictionary<string, object> End(IAsyncResult result) 3219IAsyncResult result = this.instance.BeginInternalRun(this.timeoutHelper.RemainingTime(), false, PrepareAsyncCompletion(resumedCallback), this); 3247public static BookmarkResumptionResult End(IAsyncResult result) 3276static bool OnResumed(IAsyncResult result) 3392IAsyncResult result = this.instance.Controller.BeginFlushTrackingRecords(this.timeoutHelper.RemainingTime(), PrepareAsyncCompletion(trackingCompleteCallback), this); 3413static bool OnTrackingComplete(IAsyncResult result) 3593IAsyncResult result = this.instance.persistenceManager.BeginInitialize(this.instance.DefinitionIdentity, this.timeoutHelper.RemainingTime(), 3603static bool OnProviderInitialized(IAsyncResult result) 3614IAsyncResult result = this.instance.persistenceManager.BeginEnsureReadyness(this.timeoutHelper.RemainingTime(), 3624static bool OnProviderReadynessEnsured(IAsyncResult result) 3631public static void End(IAsyncResult result) 3671IAsyncResult result = this.instance.Controller.BeginFlushTrackingRecords(flushTrackingRecordsTimeout, PrepareAsyncCompletion(trackingCompleteCallback), this); 3678static bool OnTrackingComplete(IAsyncResult result) 3720IAsyncResult result = null; 3749static bool OnPersisted(IAsyncResult result) 3772IAsyncResult result = null; 3812static bool OnSaved(IAsyncResult result) 3837IAsyncResult completeResult = null; 3857static bool OnCompleteContext(IAsyncResult result) 3872IAsyncResult deleteOwnerResult = null; 3886static bool OnOwnerDeleted(IAsyncResult result) 3993IAsyncResult trackingResult = this.instance.Controller.BeginFlushTrackingRecords(this.timeoutHelper.RemainingTime(), trackingCompleteCallback, this); 4051static void OnTrackingComplete(IAsyncResult result) 4104public static void End(IAsyncResult result) 4134public static void End(IAsyncResult result) 4167public static void End(IAsyncResult result) 4218IAsyncResult result; 4249public static void End(IAsyncResult result) 4254static bool OnInstanceUnlocked(IAsyncResult result) 4261static bool OnOwnerDeleted(IAsyncResult result) 4386public static void End(IAsyncResult result) 4391public static WorkflowApplicationInstance EndAndCreateInstance(IAsyncResult result) 4484IAsyncResult result = this.persistenceManager.BeginInitialize(definitionIdentity, this.timeoutHelper.RemainingTime(), PrepareAsyncCompletion(providerRegisteredCallback), this); 4493static bool OnProviderRegistered(IAsyncResult result) 4503IAsyncResult result = null; 4547static bool OnLoadComplete(IAsyncResult result) 4553bool LoadValues(IAsyncResult result) 4555IAsyncResult loadResult = null; 4628static bool OnLoadPipeline(IAsyncResult result) 4659IAsyncResult completeResult; 4671static bool OnCompleteContext(IAsyncResult result) 4900public Func<IAsyncResult, WorkflowApplication, bool, bool> NextCallback 4927Func<IAsyncResult, WorkflowApplication, bool, bool> stage1Callback; 4928Func<IAsyncResult, WorkflowApplication, bool, bool> stage2Callback; 4934Func<IAsyncResult, WorkflowApplication, bool, bool> Stage1Callback 4940this.stage1Callback = new Func<IAsyncResult, WorkflowApplication, bool, bool>(OnStage1Complete); 4947Func<IAsyncResult, WorkflowApplication, bool, bool> Stage2Callback 4953this.stage2Callback = new Func<IAsyncResult, WorkflowApplication, bool, bool>(OnStage2Complete); 4962IAsyncResult result = null; 4980bool OnStage1Complete(IAsyncResult lastResult, WorkflowApplication application, bool isStillSync) 4987IAsyncResult result = null; 5052bool OnStage2Complete(IAsyncResult lastResult, WorkflowApplication instance, bool isStillSync) 5065Func<IAsyncResult, WorkflowApplication, bool, bool> stage1Callback; 5066Func<IAsyncResult, WorkflowApplication, bool, bool> stage2Callback; 5072Func<IAsyncResult, WorkflowApplication, bool, bool> Stage1Callback 5078this.stage1Callback = new Func<IAsyncResult, WorkflowApplication, bool, bool>(OnStage1Complete); 5085Func<IAsyncResult, WorkflowApplication, bool, bool> Stage2Callback 5091this.stage2Callback = new Func<IAsyncResult, WorkflowApplication, bool, bool>(OnStage2Complete); 5100IAsyncResult result = null; 5115bool OnStage1Complete(IAsyncResult lastResult, WorkflowApplication instance, bool isStillSync) 5168IAsyncResult result = null; 5188bool OnStage2Complete(IAsyncResult lastResult, WorkflowApplication instance, bool isStillSync) 5206Func<IAsyncResult, WorkflowApplication, bool, bool> stage1Callback; 5212Func<IAsyncResult, WorkflowApplication, bool, bool> Stage1Callback 5218this.stage1Callback = new Func<IAsyncResult, WorkflowApplication, bool, bool>(OnStage1Complete); 5227IAsyncResult result = null; 5246bool OnStage1Complete(IAsyncResult lastResult, WorkflowApplication instance, bool isStillSync) 5251bool OnStage1Complete(IAsyncResult lastResult, WorkflowApplication instance, Exception exception, Activity source, string sourceInstanceId) 5333IAsyncResult result; 5345public static void End(IAsyncResult result, out InstanceStore instanceStore, out InstanceView commandResult) 5352static bool OnCommandCompleted(IAsyncResult result) 5708public IAsyncResult BeginInitialize(WorkflowIdentity definitionIdentity, TimeSpan timeout, AsyncCallback callback, object state) 5714IAsyncResult result = null; 5733public void EndInitialize(IAsyncResult result) 5770public IAsyncResult BeginDeleteOwner(TimeSpan timeout, AsyncCallback callback, object state) 5772IAsyncResult result = null; 5792public void EndDeleteOwner(IAsyncResult result) 5821public IAsyncResult BeginEnsureReadyness(TimeSpan timeout, AsyncCallback callback, object state) 5833public void EndEnsureReadyness(IAsyncResult result) 5983public IAsyncResult BeginSave(IDictionary<XName, InstanceValue> instance, PersistenceOperation operation, TimeSpan timeout, AsyncCallback callback, object state) 5988public void EndSave(IAsyncResult result) 5994public IAsyncResult BeginLoad(TimeSpan timeout, AsyncCallback callback, object state) 5999public IDictionary<XName, InstanceValue> EndLoad(IAsyncResult result) 6012public IAsyncResult BeginTryLoad(TimeSpan timeout, AsyncCallback callback, object state) 6017public bool EndTryLoad(IAsyncResult result, out IDictionary<XName, InstanceValue> data) 6049public IAsyncResult BeginUnlock(TimeSpan timeout, AsyncCallback callback, object state) 6059public void EndUnlock(IAsyncResult result)
System\Activities\WorkflowApplicationInstance.cs (3)
89public IAsyncResult BeginAbandon(AsyncCallback callback, object state) 94public IAsyncResult BeginAbandon(TimeSpan timeout, AsyncCallback callback, object state) 102public void EndAbandon(IAsyncResult asyncResult)
System\Activities\WorkflowInvoker.cs (11)
164public IAsyncResult BeginInvoke(AsyncCallback callback, object state) 170public IAsyncResult BeginInvoke(TimeSpan timeout, AsyncCallback callback, object state) 178public IAsyncResult BeginInvoke(IDictionary<string, object> inputs, AsyncCallback callback, object state) 184public IAsyncResult BeginInvoke(IDictionary<string, object> inputs, TimeSpan timeout, AsyncCallback callback, object state) 208IAsyncResult result = context.WorkflowApplication.BeginCancel(TimeSpan.MaxValue, cancelCallback, context); 217public IDictionary<string, object> EndInvoke(IAsyncResult result) 360IAsyncResult BeginInvoke(Activity workflow, IDictionary<string, object> inputs, TimeSpan timeout, WorkflowInstanceExtensionManager extensions, AsyncCallback callback, object state) 373IAsyncResult BeginInvoke(Activity workflow, TimeSpan timeout, WorkflowInstanceExtensionManager extensions, AsyncCallback callback, object state) 380void CancelCallback(IAsyncResult result) 407IAsyncResult result = WorkflowApplication.BeginInvoke(this.workflow, inputs, this.extensions, timeout, SynchronizationContext.Current, context, invokeCallback, context); 428void InvokeCallback(IAsyncResult result)
System\Activities\WorkflowPersistenceContext.cs (2)
73public bool TryBeginComplete(AsyncCallback callback, object state, out IAsyncResult result) 92public void EndComplete(IAsyncResult result)
System.Activities.DurableInstancing (21)
System\Activities\DurableInstancing\LoadRetryAsyncResult.cs (3)
60public static bool End(IAsyncResult result) 80static void OnTryCommandCallback(IAsyncResult result) 130void CompleteTryCommand(IAsyncResult result)
System\Activities\DurableInstancing\PersistenceTask.cs (1)
106void CommandCompletedCallback(IAsyncResult result)
System\Activities\DurableInstancing\SqlCommandAsyncResult.cs (5)
83public static SqlDataReader End(IAsyncResult result) 94static bool OnExecuteReader(IAsyncResult result) 100static bool OnRetryCommand(IAsyncResult childPtr) 149bool CompleteExecuteReader(IAsyncResult result) 264IAsyncResult result;
System\Activities\DurableInstancing\SqlWorkflowInstanceStore.cs (7)
330protected internal override IAsyncResult BeginTryCommand(InstancePersistenceContext context, InstancePersistenceCommand command, TimeSpan timeout, AsyncCallback callback, object state) 355internal IAsyncResult BeginTryCommandSkipRetry(InstancePersistenceContext context, InstancePersistenceCommand command, TimeSpan timeout, AsyncCallback callback, object state) 375protected internal override bool EndTryCommand(IAsyncResult result) 391internal IAsyncResult BeginTryCommandInternalWithVersionCheck(InstancePersistenceContext context, InstancePersistenceCommand command, TimeSpan timeout, AsyncCallback callback, object state, Version targetVersion) 398internal IAsyncResult BeginTryCommandInternal(InstancePersistenceContext context, InstancePersistenceCommand command, TimeSpan timeout, AsyncCallback callback, object state) 403internal IAsyncResult BeginTryCommandInternal(InstancePersistenceContext context, InstancePersistenceCommand command, Transaction transaction, TimeSpan timeout, AsyncCallback callback, object state) 661void UnlockInstanceCallback(IAsyncResult result)
System\Activities\DurableInstancing\SqlWorkflowInstanceStoreAsyncResult.cs (4)
106public static bool End(IAsyncResult result) 171static bool OnBindReclaimed(IAsyncResult result) 185static bool SqlCommandAsyncResultCallback(IAsyncResult result) 222IAsyncResult bindReclaimedAsyncResult = thisPtr.InstancePersistenceContext.BeginBindReclaimedLock(reclaimLockAtVersion, thisPtr.TimeoutHelper.RemainingTime(), thisPtr.PrepareAsyncCompletion(SqlWorkflowInstanceStoreAsyncResult.onBindReclaimed), thisPtr);
System\Activities\DurableInstancing\TestVersionAndRunAsyncResult.cs (1)
121static void InstanceCommandCompleteCallback(IAsyncResult result)
System.Core (9)
System\IO\Pipes\Pipe.cs (3)
602IAsyncResult result = BeginWaitForConnection(null, null); 648public unsafe IAsyncResult BeginWaitForConnection(AsyncCallback callback, Object state) { 713public unsafe void EndWaitForConnection(IAsyncResult asyncResult) {
System\IO\Pipes\PipeStream.cs (6)
212IAsyncResult result = BeginReadCore(buffer, offset, count, null, null); 240public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, Object state) { 359public unsafe override int EndRead(IAsyncResult asyncResult) { 454IAsyncResult result = BeginWriteCore(buffer, offset, count, null, null); 471public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, Object state) { 564public unsafe override void EndWrite(IAsyncResult asyncResult) {
System.Data (41)
fx\src\data\System\Data\SqlClient\SqlCommand.cs (28)
1237public IAsyncResult BeginExecuteNonQuery() { 1243public IAsyncResult BeginExecuteNonQuery(AsyncCallback callback, object stateObject) { 1249private IAsyncResult BeginExecuteNonQueryAsync(AsyncCallback callback, object stateObject) { 1253private IAsyncResult BeginExecuteNonQueryInternal(CommandBehavior behavior, AsyncCallback callback, object stateObject, int timeout, bool inRetry, bool asyncWrite = false) { 1403private void WaitForAsyncResults(IAsyncResult asyncResult, bool isInternal) { 1423public int EndExecuteNonQuery(IAsyncResult asyncResult) { 1441private int EndExecuteNonQueryAsync(IAsyncResult asyncResult) { 1466private int EndExecuteNonQueryInternal(IAsyncResult asyncResult) { 1501private object InternalEndExecuteNonQuery(IAsyncResult asyncResult, string endMethod, bool isInternal) { 1728public IAsyncResult BeginExecuteXmlReader() { 1734public IAsyncResult BeginExecuteXmlReader(AsyncCallback callback, object stateObject) { 1740private IAsyncResult BeginExecuteXmlReaderAsync(AsyncCallback callback, object stateObject) { 1744private IAsyncResult BeginExecuteXmlReaderInternal(CommandBehavior behavior, AsyncCallback callback, object stateObject, int timeout, bool inRetry, bool asyncWrite = false) { 1857public XmlReader EndExecuteXmlReader(IAsyncResult asyncResult) { 1866private XmlReader EndExecuteXmlReaderAsync(IAsyncResult asyncResult) { 1891private XmlReader EndExecuteXmlReaderInternal(IAsyncResult asyncResult) { 1951public IAsyncResult BeginExecuteReader() { 1956public IAsyncResult BeginExecuteReader(AsyncCallback callback, object stateObject) { 1993public IAsyncResult BeginExecuteReader(CommandBehavior behavior) { 1998public IAsyncResult BeginExecuteReader(AsyncCallback callback, object stateObject, CommandBehavior behavior) { 2063public SqlDataReader EndExecuteReader(IAsyncResult asyncResult) { 2072private SqlDataReader EndExecuteReaderAsync(IAsyncResult asyncResult) { 2097private SqlDataReader EndExecuteReaderInternal(IAsyncResult asyncResult) { 2133private IAsyncResult BeginExecuteReaderAsync(CommandBehavior behavior, AsyncCallback callback, object stateObject) { 2137private IAsyncResult BeginExecuteReaderInternal(CommandBehavior behavior, AsyncCallback callback, object stateObject, int timeout, bool inRetry, bool asyncWrite = false) { 2198private bool TriggerInternalEndAndRetryIfNecessary(CommandBehavior behavior, object stateObject, int timeout, string endMethod, bool usedCache, bool inRetry, bool asyncWrite, TaskCompletionSource<object> globalCompletion, TaskCompletionSource<object> localCompletion, Func<IAsyncResult, string, bool, object> endFunc, Func<CommandBehavior, AsyncCallback, object, int, bool, bool, IAsyncResult> retryFunc) { 2354private SqlDataReader InternalEndExecuteReader(IAsyncResult asyncResult, string endMethod, bool isInternal) {
fx\src\data\System\Data\SqlClient\SqlConnection.cs (1)
1378((IAsyncResult)completion.Item2).AsyncWaitHandle.WaitOne();
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (2)
813((IAsyncResult)currentTask).AsyncWaitHandle.WaitOne(); 818((IAsyncResult)networkPacketTaskSource.Task).AsyncWaitHandle.WaitOne();
fx\src\data\System\Data\SqlClient\SqlDependencyListener.cs (1)
314private void AsyncResultCallback(IAsyncResult asyncResult) {
fx\src\data\System\Data\SqlClient\SqlSequentialStream.cs (3)
116public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object state) 132public override int EndRead(IAsyncResult asyncResult) 294((IAsyncResult)currentTask).AsyncWaitHandle.WaitOne();
fx\src\data\System\Data\SqlClient\SqlSequentialTextReader.cs (1)
295((IAsyncResult)currentTask).AsyncWaitHandle.WaitOne();
fx\src\data\System\Data\SQLTypes\SQLFileStream.cs (5)
306public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, Object state) 314public override int EndRead(IAsyncResult asyncResult) 323public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, Object state) 328IAsyncResult asyncResult = m_fs.BeginWrite(buffer, offset, count, callback, state); 345public override void EndWrite(IAsyncResult asyncResult)
System.Data.Services (1)
parent\Client\System\Data\Services\Client\BatchStream.cs (1)
199public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
System.Data.Services.Client (50)
System\Data\Services\Client\BaseAsyncResult.cs (9)
207internal static T EndExecute<T>(object source, string method, IAsyncResult asyncResult) where T : BaseAsyncResult 293internal static IAsyncResult InvokeAsync(Func<AsyncCallback, object, IAsyncResult> asyncAction, AsyncCallback callback, object state) 295IAsyncResult asyncResult = asyncAction(BaseAsyncResult.GetDataServiceAsyncCallback(callback), state); 316internal static IAsyncResult InvokeAsync(Func<byte[], int, int, AsyncCallback, object, IAsyncResult> asyncAction, byte[] buffer, int offset, int length, AsyncCallback callback, object state) 318IAsyncResult asyncResult = asyncAction(buffer, offset, length, BaseAsyncResult.GetDataServiceAsyncCallback(callback), state); 415private static IAsyncResult PostInvokeAsync(IAsyncResult asyncResult, AsyncCallback callback)
System\Data\Services\Client\BatchStream.cs (1)
199public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
System\Data\Services\Client\DataServiceContext.cs (22)
524public void CancelRequest(IAsyncResult asyncResult) 614public IAsyncResult BeginLoadProperty(object entity, string propertyName, AsyncCallback callback, object state) 628public IAsyncResult BeginLoadProperty(object entity, string propertyName, Uri nextLinkUri, AsyncCallback callback, object state) 644public IAsyncResult BeginLoadProperty(object entity, string propertyName, DataServiceQueryContinuation continuation, AsyncCallback callback, object state) 657public QueryOperationResponse EndLoadProperty(IAsyncResult asyncResult) 792public IAsyncResult BeginGetReadStream(object entity, DataServiceRequestArgs args, AsyncCallback callback, object state) 807public DataServiceStreamResponse EndGetReadStream(IAsyncResult asyncResult) 964public IAsyncResult BeginExecuteBatch(AsyncCallback callback, object state, params DataServiceRequest[] queries) 978public DataServiceResponse EndExecuteBatch(IAsyncResult asyncResult) 1011public IAsyncResult BeginExecute<TElement>(Uri requestUri, AsyncCallback callback, object state) 1026public IAsyncResult BeginExecute<T>(DataServiceQueryContinuation<T> continuation, AsyncCallback callback, object state) 1043public IEnumerable<TElement> EndExecute<TElement>(IAsyncResult asyncResult) 1092public IAsyncResult BeginSaveChanges(AsyncCallback callback, object state) 1108public IAsyncResult BeginSaveChanges(SaveChangesOptions options, AsyncCallback callback, object state) 1130public DataServiceResponse EndSaveChanges(IAsyncResult asyncResult) 4249IAsyncResult asyncResult = BaseAsyncResult.InvokeAsync(httpWebRequest.BeginGetRequestStream, this.AsyncEndGetRequestStream, pereq); 4316IAsyncResult asyncResult = null; 5706private void AsyncEndGetRequestStream(IAsyncResult asyncResult) 5775private void AsyncRequestContentEndRead(IAsyncResult asyncResult) 5855private void AsyncEndWrite(IAsyncResult asyncResult) 5902private void AsyncEndGetResponse(IAsyncResult asyncResult) 5988private void AsyncEndRead(IAsyncResult asyncResult)
System\Data\Services\Client\DataServiceQuery.cs (4)
65public IAsyncResult BeginExecute(AsyncCallback callback, object state) 75public IEnumerable EndExecute(IAsyncResult asyncResult) 95internal abstract IAsyncResult BeginExecuteInternal(AsyncCallback callback, object state); 102internal abstract IEnumerable EndExecuteInternal(IAsyncResult asyncResult);
System\Data\Services\Client\DataServiceQueryOfT.cs (4)
122public new IAsyncResult BeginExecute(AsyncCallback callback, object state) 132public new IEnumerable<TElement> EndExecute(IAsyncResult asyncResult) 261internal override IAsyncResult BeginExecuteInternal(AsyncCallback callback, object state) 271internal override IEnumerable EndExecuteInternal(IAsyncResult asyncResult)
System\Data\Services\Client\DataServiceRequest.cs (2)
119internal static IEnumerable<TElement> EndExecute<TElement>(object source, DataServiceContext context, IAsyncResult asyncResult) 253internal IAsyncResult BeginExecute(object source, DataServiceContext context, AsyncCallback callback, object state)
System\Data\Services\Client\GetReadStreamResult.cs (3)
20/// Class which implements the <see cref="IAsyncResult"/> for the GetReadStream operation. 61IAsyncResult asyncResult; 168private static void AsyncEndGetResponse(IAsyncResult asyncResult)
System\Data\Services\Client\QueryResult.cs (5)
127internal static QueryResult EndExecute<TElement>(object source, IAsyncResult asyncResult) 165IAsyncResult asyncResult; 541private static void AsyncEndGetResponse(IAsyncResult asyncResult) 616IAsyncResult asyncResult; 648private static void AsyncEndRead(IAsyncResult asyncResult)
System.IdentityModel (34)
System\IdentityModel\AsyncResult.cs (2)
21/// <param name="result">The <see cref="IAsyncResult"/> representing the status of an asynchronous operation.</param> 22public static void End(IAsyncResult result)
System\IdentityModel\SecurityTokenService.cs (17)
29IAsyncResult _result; 56public FederatedAsyncState(RST request, ClaimsPrincipal principal, IAsyncResult result) 107public IAsyncResult Result 148public virtual IAsyncResult BeginCancel(ClaimsPrincipal principal, RST request, AsyncCallback callback, object state) 163protected virtual IAsyncResult BeginGetScope(ClaimsPrincipal principal, RST request, AsyncCallback callback, object state) 177public virtual IAsyncResult BeginIssue(ClaimsPrincipal principal, RST request, AsyncCallback callback, object state) 213public virtual IAsyncResult BeginRenew(ClaimsPrincipal principal, RST request, AsyncCallback callback, object state) 227public virtual IAsyncResult BeginValidate(ClaimsPrincipal principal, RST request, AsyncCallback callback, object state) 575public virtual RSTR EndCancel(IAsyncResult result) 587protected virtual Scope EndGetScope(IAsyncResult result) 597public virtual RSTR EndIssue(IAsyncResult result) 617public virtual RSTR EndRenew(IAsyncResult result) 627public virtual RSTR EndValidate(IAsyncResult result) 661protected virtual IAsyncResult BeginGetOutputClaimsIdentity(ClaimsPrincipal principal, RequestSecurityToken request, Scope scope, AsyncCallback callback, object state) 673protected virtual ClaimsIdentity EndGetOutputClaimsIdentity(IAsyncResult result) 791void OnGetScopeComplete(IAsyncResult result) 900void OnGetOutputClaimsIdentityComplete(IAsyncResult result)
System\IdentityModel\Selectors\SecurityTokenProvider.cs (13)
36public IAsyncResult BeginGetToken(TimeSpan timeout, AsyncCallback callback, object state) 41public SecurityToken EndGetToken(IAsyncResult result) 69public IAsyncResult BeginRenewToken(TimeSpan timeout, SecurityToken tokenToBeRenewed, AsyncCallback callback, object state) 78public SecurityToken EndRenewToken(IAsyncResult result) 101public IAsyncResult BeginCancelToken(TimeSpan timeout, SecurityToken token, AsyncCallback callback, object state) 110public void EndCancelToken(IAsyncResult result) 132protected virtual IAsyncResult BeginGetTokenCore(TimeSpan timeout, AsyncCallback callback, object state) 138protected virtual SecurityToken EndGetTokenCore(IAsyncResult result) 143protected virtual IAsyncResult BeginRenewTokenCore(TimeSpan timeout, SecurityToken tokenToBeRenewed, AsyncCallback callback, object state) 149protected virtual SecurityToken EndRenewTokenCore(IAsyncResult result) 154protected virtual IAsyncResult BeginCancelTokenCore(TimeSpan timeout, SecurityToken token, AsyncCallback callback, object state) 160protected virtual void EndCancelTokenCore(IAsyncResult result) 229public static SecurityToken End(IAsyncResult result)
System\IdentityModel\TypedAsyncResult.cs (2)
70/// <param name="result">The <see cref="IAsyncResult"/> representing the status of an asynchronous operation.</param> 72public new static T End( IAsyncResult result )
System.IO.Log (39)
System\IO\Log\FileRecordSequence.cs (13)
235public IAsyncResult BeginAppend( 252public IAsyncResult BeginAppend( 270public IAsyncResult BeginAppend( 283public IAsyncResult BeginAppend( 296public IAsyncResult BeginFlush( 305public IAsyncResult BeginReserveAndAppend( 325public IAsyncResult BeginReserveAndAppend( 346public IAsyncResult BeginWriteRestartArea( 360public IAsyncResult BeginWriteRestartArea( 386IAsyncResult result) 405IAsyncResult result) 423IAsyncResult result) 441IAsyncResult result)
System\IO\Log\IRecordSequence.cs (13)
46IAsyncResult BeginAppend( 53IAsyncResult BeginAppend( 61IAsyncResult BeginAppend( 68IAsyncResult BeginAppend( 77IAsyncResult BeginFlush( 82IAsyncResult BeginReserveAndAppend( 91IAsyncResult BeginReserveAndAppend( 101IAsyncResult BeginWriteRestartArea( 107IAsyncResult BeginWriteRestartArea( 117IAsyncResult result); 120IAsyncResult result); 123IAsyncResult result); 126IAsyncResult result);
System\IO\Log\LogRecordSequence.cs (13)
368public IAsyncResult BeginAppend( 384public IAsyncResult BeginAppend( 402public IAsyncResult BeginAppend( 420public IAsyncResult BeginAppend( 472public IAsyncResult BeginFlush( 500public IAsyncResult BeginReserveAndAppend( 520public IAsyncResult BeginReserveAndAppend( 573public IAsyncResult BeginWriteRestartArea( 587public IAsyncResult BeginWriteRestartArea( 639IAsyncResult result) 658IAsyncResult result) 670IAsyncResult result) 689IAsyncResult result)
System.Messaging (22)
System\Messaging\MessageQueue.cs (16)
1455public IAsyncResult BeginPeek() 1468public IAsyncResult BeginPeek(TimeSpan timeout) 1483public IAsyncResult BeginPeek(TimeSpan timeout, object stateObject) 1497public IAsyncResult BeginPeek(TimeSpan timeout, object stateObject, AsyncCallback callback) 1503public IAsyncResult BeginPeek(TimeSpan timeout, Cursor cursor, PeekAction action, object state, AsyncCallback callback) 1522public IAsyncResult BeginReceive() 1536public IAsyncResult BeginReceive(TimeSpan timeout) 1550public IAsyncResult BeginReceive(TimeSpan timeout, object stateObject) 1563public IAsyncResult BeginReceive(TimeSpan timeout, object stateObject, AsyncCallback callback) 1569public IAsyncResult BeginReceive(TimeSpan timeout, Cursor cursor, object state, AsyncCallback callback) 1770public Message EndPeek(IAsyncResult asyncResult) 1783public Message EndReceive(IAsyncResult asyncResult) 1789private Message EndAsyncOperation(IAsyncResult asyncResult) 2242private void OnRequestCompleted(IAsyncResult asyncResult) 2509private unsafe IAsyncResult ReceiveAsync(TimeSpan timeout, CursorHandle cursorHandle, int action, AsyncCallback callback, object stateObject) 2589return (IAsyncResult)request;
System\Messaging\PeekCompletedEventArgs.cs (3)
22private IAsyncResult result; 28internal PeekCompletedEventArgs(MessageQueue sender, IAsyncResult result) 39public IAsyncResult AsyncResult
System\Messaging\ReceiveCompletedEventArgs.cs (3)
21private IAsyncResult result; 27internal ReceiveCompletedEventArgs(MessageQueue sender, IAsyncResult result) 38public IAsyncResult AsyncResult
System.Net (16)
net\HttpPolicyDownloaderProtocol.cs (2)
29public void DownloadCallback(IAsyncResult ar) { } 34public void ReadCallback(IAsyncResult ar) { }
net\UdpAnySourceMulticastClient.cs (8)
19public IAsyncResult BeginJoinGroup(AsyncCallback callback, object state) { throw new SocketException((int)(SocketError.AccessDenied)); } 24public IAsyncResult BeginReceiveFromGroup(byte[] buffer, int offset, int count, AsyncCallback callback, object state) { throw new SocketException((int)(SocketError.AccessDenied)); } 29public IAsyncResult BeginSendTo(byte[] buffer, int offset, int count, IPEndPoint remoteEndPoint, AsyncCallback callback, object state) { throw new SocketException((int)(SocketError.AccessDenied)); } 34public IAsyncResult BeginSendToGroup(byte[] buffer, int offset, int count, AsyncCallback callback, object state) { throw new SocketException((int)(SocketError.AccessDenied)); } 49public void EndJoinGroup(IAsyncResult result) { } 54public int EndReceiveFromGroup(IAsyncResult result, out IPEndPoint source) { throw new SocketException((int)(SocketError.AccessDenied)); } 59public void EndSendTo(IAsyncResult result) { } 64public void EndSendToGroup(IAsyncResult result) { }
net\UdpSingleSourceMulticastClient.cs (6)
19public IAsyncResult BeginJoinGroup(AsyncCallback callback, object state) { throw new SocketException((int)(SocketError.AccessDenied)); } 24public IAsyncResult BeginReceiveFromSource(byte[] buffer, int offset, int count, AsyncCallback callback, object state) { throw new SocketException((int)(SocketError.AccessDenied)); } 29public IAsyncResult BeginSendToSource(byte[] buffer, int offset, int count, int remotePort, AsyncCallback callback, object state) { throw new SocketException((int)(SocketError.AccessDenied)); } 39public void EndJoinGroup(IAsyncResult result) { } 44public int EndReceiveFromSource(IAsyncResult result, out int sourcePort) { throw new SocketException((int)(SocketError.AccessDenied)); } 49public void EndSendToSource(IAsyncResult result) { }
System.Runtime.DurableInstancing (45)
System\Runtime\DurableInstancing\InstanceHandle.cs (7)
472internal IAsyncResult BeginAcquireExecutionContext(Transaction hostTransaction, TimeSpan timeout, AsyncCallback callback, object state) 475IAsyncResult result = null; 491internal InstancePersistenceContext EndAcquireExecutionContext(IAsyncResult result) 771internal static IAsyncResult BeginWaitForEvents(InstanceHandle handle, TimeSpan timeout, AsyncCallback callback, object state) 776internal static List<InstancePersistenceEvent> EndWaitForEvents(IAsyncResult result) 886public static InstancePersistenceContext End(IAsyncResult result) 1095internal static List<InstancePersistenceEvent> End(IAsyncResult result)
System\Runtime\DurableInstancing\InstancePersistenceContext.cs (15)
217public IAsyncResult BeginBindReclaimedLock(long instanceVersion, TimeSpan timeout, AsyncCallback callback, object state) 223public void EndBindReclaimedLock(IAsyncResult result) 715public IAsyncResult BeginExecute(InstancePersistenceCommand command, TimeSpan timeout, AsyncCallback callback, object state) 742public void EndExecute(IAsyncResult result) 824internal static IAsyncResult BeginOuterExecute(InstanceHandle initialInstanceHandle, InstancePersistenceCommand command, Transaction transaction, TimeSpan timeout, AsyncCallback callback, object state) 843internal static InstanceView EndOuterExecute(IAsyncResult result) 965IAsyncResult result = this.initialInstanceHandle.BeginAcquireExecutionContext(transaction, this.timeoutHelper.RemainingTime(), PrepareAsyncCompletion(ExecuteAsyncResult.onAcquireContext), this); 1165public static InstanceView End(IAsyncResult result) 1172static bool OnAcquireContext(IAsyncResult result) 1282IAsyncResult result; 1343IAsyncResult result = null; 1362static bool OnTryCommand(IAsyncResult result) 1369bool DoEndCommand(IAsyncResult result) 1457static bool OnCommit(IAsyncResult result) 1683public static void End(IAsyncResult result)
System\Runtime\DurableInstancing\InstanceStore.cs (6)
88public IAsyncResult BeginExecute(InstanceHandle handle, InstancePersistenceCommand command, TimeSpan timeout, AsyncCallback callback, object state) 109public InstanceView EndExecute(IAsyncResult result) 126public IAsyncResult BeginWaitForEvents(InstanceHandle handle, TimeSpan timeout, AsyncCallback callback, object state) 143public List<InstancePersistenceEvent> EndWaitForEvents(IAsyncResult result) 241protected internal virtual IAsyncResult BeginTryCommand(InstancePersistenceContext context, InstancePersistenceCommand command, TimeSpan timeout, AsyncCallback callback, object state) 248protected internal virtual bool EndTryCommand(IAsyncResult result)
System\Runtime\IPersistencePipelineModule.cs (4)
21IAsyncResult BeginOnSave(IDictionary<XName, object> readWriteValues, IDictionary<XName, object> writeOnlyValues, TimeSpan timeout, AsyncCallback callback, object state); 22void EndOnSave(IAsyncResult result); 24IAsyncResult BeginOnLoad(IDictionary<XName, object> readWriteValues, TimeSpan timeout, AsyncCallback callback, object state); 25void EndOnLoad(IAsyncResult result);
System\Runtime\PersistencePipeline.cs (8)
160public IAsyncResult BeginSave(TimeSpan timeout, AsyncCallback callback, object state) 168public void EndSave(IAsyncResult result) 183public IAsyncResult BeginLoad(TimeSpan timeout, AsyncCallback callback, object state) 192public void EndLoad(IAsyncResult result) 422IAsyncResult result = null; 468void OnIOComplete(IAsyncResult result) 487bool IOComplete(IAsyncResult result, IPersistencePipelineModule module) 561public static void End(IAsyncResult result)
System\Runtime\TransactedAsyncResult.cs (5)
17IAsyncResult deferredTransactionalResult; 27protected override bool OnContinueAsyncCompletion(IAsyncResult result) 40bool CheckSyncValidation(IAsyncResult result) 114class TransactionSignalScope : SignalGate<IAsyncResult>, IDisposable 181IAsyncResult result;
System.Runtime.Remoting (29)
channels\core\socketmanager.cs (2)
42private IAsyncResult _beginReadAsyncResult; // async result from doing a begin read 266public void BeginReadMessageCallback(IAsyncResult ar)
channels\core\socketstream.cs (7)
71IAsyncResult ar = _socket.BeginReceive(buffer, offset, Math.Min(size, maxSocketRead), SocketFlags.None, null, null); 110public override IAsyncResult BeginRead( 117IAsyncResult asyncResult = 130public override int EndRead(IAsyncResult asyncResult) 136public override IAsyncResult BeginWrite( 143IAsyncResult asyncResult = 156public override void EndWrite(IAsyncResult asyncResult)
channels\core\streamhelper.cs (4)
85internal static IAsyncResult BeginAsyncCopyStream( 115internal static void EndAsyncCopyStream(IAsyncResult iar) 181private static void AsyncCopyStreamReadCallback(IAsyncResult iar) 212private static void AsyncCopyStreamWriteCallback(IAsyncResult iar)
channels\http\httpclientchannel.cs (4)
1013private static void ProcessGetRequestStreamCompletion(IAsyncResult iar) 1041private static void ProcessAsyncCopyRequestStreamCompletion(IAsyncResult iar) 1063private static void ProcessGetResponseCompletion(IAsyncResult iar) 1106private static void ProcessAsyncCopyResponseStreamCompletion(IAsyncResult iar)
channels\ipc\ipcclientchannel.cs (1)
330private void AsyncFinishedCallback(IAsyncResult ar)
channels\ipc\ipcport.cs (2)
218internal unsafe IAsyncResult BeginRead(byte[] data, int offset, int size, AsyncCallback callback, object state) 280internal unsafe int EndRead(IAsyncResult iar)
channels\ipc\pipestream.cs (6)
61IAsyncResult ar = _port.BeginRead(buffer, offset, size, null, null); 92public override IAsyncResult BeginRead( 99IAsyncResult asyncResult = 111public override int EndRead(IAsyncResult asyncResult) 117public override IAsyncResult BeginWrite( 128public override void EndWrite(IAsyncResult asyncResult)
channels\tcp\tcpserverchannel.cs (3)
363void AcceptSocketCallbackHelper(IAsyncResult ar) 374AcceptSocketCallback((IAsyncResult) state); 379void AcceptSocketCallback(IAsyncResult ar)
System.Runtime.Serialization (66)
System\Xml\XmlBaseWriter.cs (5)
1368internal override IAsyncResult BeginWriteBase64(byte[] buffer, int offset, int count, AsyncCallback callback, object state) 1378internal override void EndWriteBase64(IAsyncResult result) 1463static bool OnComplete(IAsyncResult result) 1469bool HandleWriteBase64Text(IAsyncResult result) 1505public static void End(IAsyncResult result)
System\Xml\XmlDictionaryWriter.cs (17)
39internal virtual IAsyncResult BeginWriteBase64(byte[] buffer, int index, int count, AsyncCallback callback, object state) 44internal virtual void EndWriteBase64(IAsyncResult result) 240internal virtual IAsyncResult BeginWriteValue(IStreamProvider value, AsyncCallback callback, object state) 255internal virtual void EndWriteValue(IAsyncResult result) 368IAsyncResult result = this.stream.BeginRead(this.block, 0, blockSize, onReadComplete, this); 378void HandleReadComplete(IAsyncResult result) 391static void OnReadComplete(IAsyncResult result) 498internal static void End(IAsyncResult result) 526Func<IAsyncResult, WriteValueAsyncResult, bool> writeBlockHandler; 528static Func<IAsyncResult, WriteValueAsyncResult, bool> handleWriteBlock = HandleWriteBlock; 529static Func<IAsyncResult, WriteValueAsyncResult, bool> handleWriteBlockAsync = HandleWriteBlockAsync; 577bool ContinueWork(IAsyncResult result) 622bool HandleReadBlock(IAsyncResult result) 638static bool HandleWriteBlock(IAsyncResult result, WriteValueAsyncResult thisPtr) 654static bool HandleWriteBlockAsync(IAsyncResult result, WriteValueAsyncResult thisPtr) 670static void OnContinueWork(IAsyncResult result) 703public static void End(IAsyncResult result)
System\Xml\XmlMtomReader.cs (6)
2119public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state) 2129public override void EndWrite(IAsyncResult asyncResult) 2852public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object state) 2860public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state) 2870public override int EndRead(IAsyncResult asyncResult) 2878public override void EndWrite(IAsyncResult asyncResult)
System\Xml\XmlNodeWriter.cs (2)
38public virtual IAsyncResult BeginWriteBase64Text(byte[] trailBuffer, int trailCount, byte[] buffer, int offset, int count, AsyncCallback callback, object state) 43public virtual void EndWriteBase64Text(IAsyncResult result)
System\Xml\XmlStreamNodeWriter.cs (22)
179IAsyncResult result = stream.BeginWrite(buffer, 0, this.offset, onFlushBufferComplete, this); 197static void OnFlushBufferCompete(IAsyncResult result) 228protected IAsyncResult BeginGetBuffer(int count, AsyncCallback callback, object state) 234protected byte[] EndGetBuffer(IAsyncResult result, out int offset) 262IAsyncResult result = writer.BeginFlushBuffer(PrepareAsyncCompletion(onComplete), this); 272static bool OnComplete(IAsyncResult result) 278bool HandleFlushBuffer(IAsyncResult result) 293public static byte[] End(IAsyncResult result, out int offset) 364public IAsyncResult BeginWriteBytes(byte[] byteBuffer, int byteOffset, int byteCount, AsyncCallback callback, object state) 369public void EndWriteBytes(IAsyncResult result) 410static bool OnHandleGetBufferComplete(IAsyncResult result) 416static bool OnHandleFlushBufferComplete(IAsyncResult result) 422static bool OnHandleWrite(IAsyncResult result) 428bool HandleGetBuffer(IAsyncResult result) 448bool HandleFlushBuffer(IAsyncResult result) 463bool HandleWrite(IAsyncResult result) 478public static void End(IAsyncResult result) 700protected virtual IAsyncResult BeginFlushBuffer(AsyncCallback callback, object state) 705protected virtual void EndFlushBuffer(IAsyncResult result) 732static bool OnComplete(IAsyncResult result) 738bool HandleFlushBuffer(IAsyncResult result) 755public static void End(IAsyncResult result)
System\Xml\XmlUTF8TextWriter.cs (14)
999public override IAsyncResult BeginWriteBase64Text(byte[] trailBytes, int trailByteCount, byte[] buffer, int offset, int count, AsyncCallback callback, object state) 1004public override void EndWriteBase64Text(IAsyncResult result) 1009IAsyncResult BeginInternalWriteBase64Text(byte[] buffer, int offset, int count, AsyncCallback callback, object state) 1014void EndInternalWriteBase64Text(IAsyncResult result) 1050static bool OnTrailBytesComplete(IAsyncResult result) 1056static bool OnComplete(IAsyncResult result) 1062bool HandleWriteTrailBytes(IAsyncResult result) 1080bool HandleWriteBase64Text(IAsyncResult result) 1095public static void End(IAsyncResult result) 1130static bool OnWriteTrailingCharacters(IAsyncResult result) 1158bool HandleWriteCharacters(IAsyncResult result) 1182bool HandleWriteTrailingCharacters(IAsyncResult result) 1199static void OnWriteCharacters(IAsyncResult result) 1231public static void End(IAsyncResult result)
System.ServiceModel (3039)
System\ServiceModel\Activation\IConnectionDuplicator.cs (2)
16IAsyncResult BeginDuplicate( 20void EndDuplicate(IAsyncResult result);
System\ServiceModel\Activation\IConnectionRegister.cs (2)
30IAsyncResult BeginValidateUriRoute(System.Uri uri, IPAddress address, int port, AsyncCallback callback, object asyncState); 31bool EndValidateUriRoute(System.IAsyncResult result);
System\ServiceModel\ChannelFactory.cs (10)
360protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 365protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 376protected override void OnEndClose(IAsyncResult result) 381protected override void OnEndOpen(IAsyncResult result) 424IAsyncResult result = this.communicationObject.BeginOpen(timeout, onOpenComplete, this); 432static void OnOpenComplete(IAsyncResult result) 457public static void End(IAsyncResult result) 479IAsyncResult result = this.communicationObject.BeginClose(timeout, onCloseComplete, this); 488static void OnCloseComplete(IAsyncResult result) 513public static void End(IAsyncResult result)
System\ServiceModel\Channels\BodyWriter.cs (4)
87protected virtual IAsyncResult OnBeginWriteBodyContents(XmlDictionaryWriter writer, AsyncCallback callback, object state) 92protected virtual void OnEndWriteBodyContents(IAsyncResult result) 118public IAsyncResult BeginWriteBodyContents(XmlDictionaryWriter writer, AsyncCallback callback, object state) 124public void EndWriteBodyContents(IAsyncResult result)
System\ServiceModel\Channels\BufferedConnection.cs (4)
321public IAsyncResult BeginConnect(Uri uri, TimeSpan timeout, AsyncCallback callback, object state) 326public IConnection EndConnect(IAsyncResult result) 355public IAsyncResult BeginAccept(AsyncCallback callback, object state) 361public IConnection EndAccept(IAsyncResult result)
System\ServiceModel\Channels\BufferedOutputAsyncStream.cs (8)
269public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state) 313public override void EndWrite(IAsyncResult asyncResult) 483IAsyncResult returnResult = thisPtr.writeState.PendingAsyncResult; 742static void WriteCallback(IAsyncResult result) 844IAsyncResult asyncResult = this.stream.BeginWrite(this.bytes, 0, bytesToWrite, flushCallback, this); 860static void OnAsyncFlush(IAsyncResult result) 943internal IAsyncResult PendingAsyncResult 956internal IAsyncResult CompletedSynchronouslyAsyncResult
System\ServiceModel\Channels\BufferedRequestContext.cs (3)
114public override IAsyncResult BeginReply(Message message, AsyncCallback callback, object state) 119public override IAsyncResult BeginReply(Message message, TimeSpan timeout, AsyncCallback callback, object state) 124public override void EndReply(IAsyncResult result)
System\ServiceModel\Channels\ChainedAsyncResult.cs (11)
11internal delegate IAsyncResult ChainedBeginHandler(TimeSpan timeout, AsyncCallback asyncCallback, object state); 12internal delegate void ChainedEndHandler(IAsyncResult result); 42IAsyncResult result = begin1(this.timeoutHelper.RemainingTime(), begin1Callback, this); 52static void Begin1Callback(IAsyncResult result) 84bool Begin1Completed(IAsyncResult result) 96static void Begin2Callback(IAsyncResult result) 123public static void End(IAsyncResult result) 153IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 158void EndClose(IAsyncResult result) 188IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 193void EndOpen(IAsyncResult result)
System\ServiceModel\Channels\ChannelAcceptor.cs (8)
35public abstract IAsyncResult BeginAcceptChannel(TimeSpan timeout, AsyncCallback callback, object state); 36public abstract TChannel EndAcceptChannel(IAsyncResult result); 39public abstract IAsyncResult BeginWaitForChannel(TimeSpan timeout, AsyncCallback callback, object state); 40public abstract bool EndWaitForChannel(IAsyncResult result); 46protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 51protected override void OnEndClose(IAsyncResult result) 60protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 65protected override void OnEndOpen(IAsyncResult result)
System\ServiceModel\Channels\ChannelDemuxer.cs (133)
180IAsyncResult OnBeginOuterListenerOpen(ChannelDemuxerFilter filter, IChannelListener listener, TimeSpan timeout, AsyncCallback callback, object state); 181void OnEndOuterListenerOpen(IAsyncResult result); 184IAsyncResult OnBeginOuterListenerClose(ChannelDemuxerFilter filter, TimeSpan timeout, AsyncCallback callback, object state); 185void OnEndOuterListenerClose(IAsyncResult result); 239protected abstract IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state); 243protected abstract TInnerItem EndReceive(IAsyncResult result); 256bool HandleReceiveResult(IAsyncResult result) 435public IAsyncResult OnBeginOuterListenerClose(ChannelDemuxerFilter filter, TimeSpan timeout, AsyncCallback callback, object state) 459public void OnEndOuterListenerClose(IAsyncResult result) 574public IAsyncResult OnBeginOuterListenerOpen(ChannelDemuxerFilter filter, IChannelListener listener, TimeSpan timeout, AsyncCallback callback, object state) 579public void OnEndOuterListenerOpen(IAsyncResult result) 584void OnReceiveComplete(IAsyncResult result) 592static void OnReceiveCompleteStatic(IAsyncResult result) 670IAsyncResult result; 819bool OnInnerListenerEndOpen(IAsyncResult result) 836IAsyncResult result = this.channelDemuxer.innerListener.BeginOpen(timeoutHelper.RemainingTime(), openListenerCallback, this); 852static void OpenListenerCallback(IAsyncResult result) 878static void AcceptChannelCallback(IAsyncResult result) 909bool OnEndAcceptChannel(IAsyncResult result) 912IAsyncResult openResult = this.channelDemuxer.innerChannel.BeginOpen(this.timeoutHelper.RemainingTime(), acceptChannelCallback, this); 923static void OpenChannelCallback(IAsyncResult result) 949void OnEndOpenChannel(IAsyncResult result) 970public static void End(IAsyncResult result) 993IAsyncResult result = channelDemuxer.innerChannel.BeginClose(timeoutHelper.RemainingTime(), sharedCallback, this); 1024IAsyncResult result = channelDemuxer.innerListener.BeginClose(timeoutHelper.RemainingTime(), sharedCallback, this); 1045static void SharedCallback(IAsyncResult result) 1092public static void End(IAsyncResult result) 1111protected override IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state) 1138protected override Message EndReceive(IAsyncResult result) 1173protected override IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state) 1200protected override Message EndReceive(IAsyncResult result) 1272protected override IAsyncResult OnBeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 1277protected override void OnEndSend(IAsyncResult result) 1282protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 1287protected override void OnEndOpen(IAsyncResult result) 1311protected override IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state) 1354void EndpointNotFoundCallback(IAsyncResult result) 1449protected override RequestContext EndReceive(IAsyncResult result) 1551protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 1556protected override void OnEndOpen(IAsyncResult result) 1561IAsyncResult OnBeginOuterListenerOpen(TimeSpan timeout, AsyncCallback callback, object state) 1566void OnEndOuterListenerOpen(IAsyncResult result) 1584protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 1589protected override void OnEndClose(IAsyncResult result) 1594IAsyncResult OnBeginOuterListenerClose(TimeSpan timeout, AsyncCallback callback, object state) 1599void OnEndOuterListenerClose(IAsyncResult result) 1681protected abstract IAsyncResult BeginReceive(TInnerChannel channel, AsyncCallback callback, object state); 1682protected abstract IAsyncResult BeginReceive(TInnerChannel channel, TimeSpan timeout, AsyncCallback callback, object state); 1685protected abstract TInnerItem EndReceive(TInnerChannel channel, IAsyncResult result); 1698bool BeginAcceptChannel(bool requiresThrottle, out IAsyncResult result) 1761bool EndAcceptChannel(IAsyncResult result, out TInnerChannel channel) 1822IAsyncResult peekResult = new PeekAsyncResult(this, channel, onPeekComplete, this); 1865void HandlePeekResult(IAsyncResult result) 1968static void OnAcceptCompleteStatic(IAsyncResult result) 2010IAsyncResult acceptResult; 2083public IAsyncResult OnBeginOuterListenerOpen(ChannelDemuxerFilter filter, IChannelListener listener, TimeSpan timeout, AsyncCallback callback, object state) 2088public void OnEndOuterListenerOpen(IAsyncResult result) 2143public IAsyncResult OnBeginOuterListenerClose(ChannelDemuxerFilter filter, TimeSpan timeout, AsyncCallback callback, object state) 2150IAsyncResult result = this.innerListener.BeginClose(timeout, callback, state); 2170public void OnEndOuterListenerClose(IAsyncResult result) 2198IAsyncResult result = (IAsyncResult)state; 2207static void OnPeekCompleteStatic(IAsyncResult result) 2371IAsyncResult result; 2424IAsyncResult result = this.channel.BeginOpen(onOpenComplete, this); 2435public static void End(IAsyncResult result, out TInnerChannel channel, out TInnerItem item) 2442bool HandleOpenComplete(IAsyncResult result) 2446IAsyncResult receiveResult; 2467static void OnOpenCompleteStatic(IAsyncResult result) 2497void HandleReceiveComplete(IAsyncResult result) 2502static void OnReceiveCompleteStatic(IAsyncResult result) 2615void OnEndInnerListenerOpen(IAsyncResult result) 2632IAsyncResult result = this.channelDemuxer.innerListener.BeginOpen(timeoutHelper.RemainingTime(), openListenerCallback, this); 2648static void OpenListenerCallback(IAsyncResult result) 2679public static void End(IAsyncResult result) 2698protected override IAsyncResult BeginReceive(IInputSessionChannel channel, AsyncCallback callback, object state) 2703protected override IAsyncResult BeginReceive(IInputSessionChannel channel, TimeSpan timeout, AsyncCallback callback, object state) 2723protected override Message EndReceive(IInputSessionChannel channel, IAsyncResult result) 2764protected override IAsyncResult BeginReceive(IDuplexSessionChannel channel, AsyncCallback callback, object state) 2769protected override IAsyncResult BeginReceive(IDuplexSessionChannel channel, TimeSpan timeout, AsyncCallback callback, object state) 2779void EndpointNotFoundCallback(IAsyncResult result) 2875protected override Message EndReceive(IDuplexSessionChannel channel, IAsyncResult result) 2935public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state) 2940public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 2945public void EndSend(IAsyncResult result) 2964protected override IAsyncResult BeginReceive(IReplySessionChannel channel, AsyncCallback callback, object state) 2969protected override IAsyncResult BeginReceive(IReplySessionChannel channel, TimeSpan timeout, AsyncCallback callback, object state) 2979void EndpointNotFoundCallback(IAsyncResult result) 3075protected override RequestContext EndReceive(IReplySessionChannel channel, IAsyncResult result) 3153protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 3160protected override void OnEndClose(IAsyncResult result) 3176public static TItem End(IAsyncResult result) 3191public static bool End(IAsyncResult result) 3211protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 3216protected override void OnEndOpen(IAsyncResult result) 3250public IAsyncResult BeginReceive(AsyncCallback callback, object state) 3258public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state) 3266public Message EndReceive(IAsyncResult result) 3281public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 3289public bool EndTryReceive(IAsyncResult result, out Message message) 3306public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state) 3313public bool EndWaitForMessage(IAsyncResult result) 3333protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 3338protected override void OnEndOpen(IAsyncResult result) 3388public IAsyncResult BeginReceiveRequest(AsyncCallback callback, object state) 3396public IAsyncResult BeginReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state) 3404public RequestContext EndReceiveRequest(IAsyncResult result) 3419public IAsyncResult BeginTryReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state) 3427public bool EndTryReceiveRequest(IAsyncResult result, out RequestContext request) 3444public IAsyncResult BeginWaitForRequest(TimeSpan timeout, AsyncCallback callback, object state) 3451public bool EndWaitForRequest(IAsyncResult result) 3490protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 3495protected override void OnEndOpen(IAsyncResult result) 3500IAsyncResult OnBeginOuterListenerOpen(TimeSpan timeout, AsyncCallback callback, object state) 3505void OnEndOuterListenerOpen(IAsyncResult result) 3523protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 3528protected override void OnEndClose(IAsyncResult result) 3533IAsyncResult OnBeginOuterListenerClose(TimeSpan timeout, AsyncCallback callback, object state) 3538void OnEndOuterListenerClose(IAsyncResult result) 3749IAsyncResult result = this.demuxFailureHandler.BeginHandleDemuxFailure(requestContext.RequestMessage, requestContext, demuxFailureHandlerCallback, this); 3767static void DemuxFailureHandlerCallback(IAsyncResult result) 3794public static void End(IAsyncResult result) 3814IAsyncResult result = this.channel.BeginClose(closeChannelCallback, this); 3823static void ChannelCloseCallback(IAsyncResult result) 3844public static new void End(IAsyncResult result) 3876IAsyncResult result = this.demuxFailureHandler.BeginHandleDemuxFailure(this.message, this.channel, demuxFailureHandlerCallback, this); 3890IAsyncResult result = this.channel.BeginClose(channelCloseCallback, this); 3900static void DemuxFailureHandlerCallback(IAsyncResult result) 3927static void ChannelCloseCallback(IAsyncResult result) 3949public static void End(IAsyncResult result) 3959IAsyncResult BeginHandleDemuxFailure(Message message, RequestContext faultContext, AsyncCallback callback, object state); 3960IAsyncResult BeginHandleDemuxFailure(Message message, IOutputChannel faultContext, AsyncCallback callback, object state); 3961void EndHandleDemuxFailure(IAsyncResult result);
System\ServiceModel\Channels\ChannelFactoryBase.cs (4)
61protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 70protected override void OnEndClose(IAsyncResult result) 172protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 179protected override void OnEndClose(IAsyncResult result)
System\ServiceModel\Channels\ChannelListenerBase.cs (9)
79public IAsyncResult BeginWaitForChannel(TimeSpan timeout, AsyncCallback callback, object state) 86public bool EndWaitForChannel(IAsyncResult result) 92protected abstract IAsyncResult OnBeginWaitForChannel(TimeSpan timeout, AsyncCallback callback, object state); 93protected abstract bool OnEndWaitForChannel(IAsyncResult result); 110protected abstract IAsyncResult OnBeginAcceptChannel(TimeSpan timeout, AsyncCallback callback, object state); 111protected abstract TChannel OnEndAcceptChannel(IAsyncResult result); 125public IAsyncResult BeginAcceptChannel(AsyncCallback callback, object state) 130public IAsyncResult BeginAcceptChannel(TimeSpan timeout, AsyncCallback callback, object state) 137public TChannel EndAcceptChannel(IAsyncResult result)
System\ServiceModel\Channels\ChannelPool.cs (2)
38IAsyncResult result = item.BeginClose(timeout, onCloseComplete, item); 61static void OnCloseComplete(IAsyncResult result)
System\ServiceModel\Channels\ChannelReliableSession.cs (13)
208public virtual IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 213public abstract IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state); 227public virtual void EndClose(IAsyncResult result) 233public abstract void EndOpen(IAsyncResult result); 707public override IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 733public override void EndClose(IAsyncResult result) 739public override void EndOpen(IAsyncResult result) 1056IAsyncResult result = this.session.requestor.BeginRequest(timeout, onRequestComplete, this); 1064void CompleteRequest(IAsyncResult result) 1070public static void End(IAsyncResult result) 1075static void OnRequestCompleteStatic(IAsyncResult result) 1131public override IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 1136public override void EndOpen(IAsyncResult result)
System\ServiceModel\Channels\ChannelTracker.cs (4)
132protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 144protected override void OnEndClose(IAsyncResult result) 163protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 168protected override void OnEndOpen(IAsyncResult result)
System\ServiceModel\Channels\ClientReliableChannelBinder.cs (26)
91public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, 97public IAsyncResult BeginRequest(Message message, TimeSpan timeout, MaskingMode maskingMode, 105protected override IAsyncResult BeginTryGetChannel(TimeSpan timeout, 158public Message EndRequest(IAsyncResult result) 163protected override bool EndTryGetChannel(IAsyncResult result) 184protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, 190protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, 196protected virtual IAsyncResult OnBeginRequest(TChannel channel, Message message, 206protected override void OnEndClose(IAsyncResult result) 211protected override void OnEndOpen(IAsyncResult result) 217IAsyncResult result) 355protected override IAsyncResult OnBeginSend(TDuplexChannel channel, Message message, 361protected override IAsyncResult OnBeginTryReceive(TDuplexChannel channel, 367protected override void OnEndSend(TDuplexChannel channel, IAsyncResult result) 372protected override bool OnEndTryReceive(TDuplexChannel channel, IAsyncResult result, 465protected override IAsyncResult BeginCloseChannel(IDuplexSessionChannel channel, 478IAsyncResult result) 509public override IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, 515public override bool EndTryReceive(IAsyncResult result, 575protected override IAsyncResult OnBeginRequest(TRequestChannel channel, 582protected override IAsyncResult OnBeginSend(TRequestChannel channel, Message message, 589MaskingMode maskingMode, IAsyncResult result) 594protected override void OnEndSend(TRequestChannel channel, IAsyncResult result) 641protected override IAsyncResult BeginOutput( 649public static Message End(IAsyncResult result) 656TChannel channel, MaskingMode maskingMode, IAsyncResult result)
System\ServiceModel\Channels\ClientWebSocketTransportDuplexSessionChannel.cs (3)
46protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 59IAsyncResult result = this.httpWebRequest.BeginGetResponse(callback, state); 83protected override void OnEndOpen(IAsyncResult result)
System\ServiceModel\Channels\CloseCollectionAsyncResult.cs (4)
34IAsyncResult result; 59void CompleteClose(ICommunicationObject communicationObject, IAsyncResult result) 81static void Callback(IAsyncResult result) 111public static void End(IAsyncResult result)
System\ServiceModel\Channels\CommunicationObject.cs (18)
145public IAsyncResult BeginClose(AsyncCallback callback, object state) 150public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 193IAsyncResult result = new CloseAsyncResult(this, timeout, callback, state); 221public IAsyncResult BeginOpen(AsyncCallback callback, object state) 226public IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 245IAsyncResult result = new OpenAsyncResult(this, timeout, callback, state); 456public void EndClose(IAsyncResult result) 464public void EndOpen(IAsyncResult result) 1024protected abstract void OnEndClose(IAsyncResult result); 1025protected abstract IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state); 1028protected abstract IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state); 1029protected abstract void OnEndOpen(IAsyncResult result); 1104IAsyncResult result = this.communicationObject.OnBeginOpen(this.timeout.RemainingTime(), 1142static bool OnOpenCompletion(IAsyncResult result) 1150public static void End(IAsyncResult result) 1178IAsyncResult result = this.communicationObject.OnBeginClose(this.timeout.RemainingTime(), 1216static bool OnCloseCompletion(IAsyncResult result) 1224public static void End(IAsyncResult result)
System\ServiceModel\Channels\ConnectAlgorithms.cs (5)
56List<IAsyncResult> results = new List<IAsyncResult>(); 67foreach (IAsyncResult iar in results) 143IAsyncResult iar = maintainer.BeginOpenNeighbor(epr, timeoutHelper.RemainingTime(), null, epr); 178IAsyncResult iar = results[index];
System\ServiceModel\Channels\Connection.cs (26)
40IAsyncResult BeginValidate(Uri uri, AsyncCallback callback, object state); 41bool EndValidate(IAsyncResult result); 48IAsyncResult BeginConnect(Uri uri, TimeSpan timeout, AsyncCallback callback, object state); 49IConnection EndConnect(IAsyncResult result); 56IAsyncResult BeginAccept(AsyncCallback callback, object state); 57IConnection EndAccept(IAsyncResult result); 120public virtual IAsyncResult BeginValidate(Uri uri, AsyncCallback callback, object state) 125public virtual bool EndValidate(IAsyncResult result) 380public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state) 385public override void EndWrite(IAsyncResult asyncResult) 395public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object state) 400public override int EndRead(IAsyncResult asyncResult) 431public IAsyncResult BeginValidate(Uri uri, AsyncCallback callback, object state) 436public bool EndValidate(IAsyncResult result) 515public static int End(IAsyncResult result) 540public static void End(IAsyncResult result) 554IAsyncResult readResult; 555IAsyncResult writeResult; 674public IAsyncResult BeginValidate(Uri uri, AsyncCallback callback, object state) 679public bool EndValidate(IAsyncResult result) 704IAsyncResult localResult = stream.BeginWrite(buffer, offset, size, this.onWrite, state); 732IAsyncResult localResult = this.writeResult; 749void OnWrite(IAsyncResult result) 826IAsyncResult localResult = stream.BeginRead(AsyncReadBuffer, offset, size, onRead, state); 845IAsyncResult localResult = this.readResult; 863void OnRead(IAsyncResult result)
System\ServiceModel\Channels\ConnectionAcceptor.cs (4)
89IAsyncResult result = null; 137void AcceptCompletedCallback(IAsyncResult result) 159void HandleCompletedAccept(IAsyncResult result) 258HandleCompletedAccept((IAsyncResult)state);
System\ServiceModel\Channels\ConnectionDemuxer.cs (8)
367IAsyncResult result = BeginCompleteSingletonPreamble(serverSingletonPreambleReader, singletonChannelListener, onSingletonPreambleComplete, this); 375IAsyncResult BeginCompleteSingletonPreamble( 383void EndCompleteSingletonPreamble(IAsyncResult result) 388static void OnSingletonPreambleComplete(IAsyncResult result) 501public static void End(IAsyncResult result) 509IAsyncResult result = this.serverSingletonPreambleReader.BeginCompletePreamble(this.timeoutHelper.RemainingTime(), onPreambleComplete, this); 519static void OnPreambleComplete(IAsyncResult result) 552bool HandlePreambleComplete(IAsyncResult result)
System\ServiceModel\Channels\ConnectionOrientedTransportChannelFactory.cs (10)
263protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 268protected override void OnEndClose(IAsyncResult result) 301protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 306protected override void OnEndOpen(IAsyncResult result) 327IAsyncResult result = this.communicationObject.BeginOpen(timeout, onOpenComplete, this); 335static void OnOpenComplete(IAsyncResult result) 358public static void End(IAsyncResult result) 421IAsyncResult result = this.upgradeProvider.BeginClose(this.timeoutHelper.RemainingTime(), 465static void OnCloseComplete(IAsyncResult result) 488public static void End(IAsyncResult result)
System\ServiceModel\Channels\ConnectionOrientedTransportChannelListener.cs (12)
241protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 254protected override void OnEndOpen(IAsyncResult result) 297protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 310protected override void OnEndClose(IAsyncResult result) 388IAsyncResult DummyBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 393void DummyEndClose(IAsyncResult result) 398protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 411protected override void OnEndClose(IAsyncResult result) 483IAsyncResult DummyBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 488void DummyEndClose(IAsyncResult result) 493protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 507protected override void OnEndClose(IAsyncResult result)
System\ServiceModel\Channels\ConnectionPool.cs (11)
714protected abstract IAsyncResult BeginAcceptPooledConnection(IConnection connection, ref TimeoutHelper timeoutHelper, 716protected abstract IConnection EndAcceptPooledConnection(IAsyncResult result); 720public IAsyncResult BeginEstablishConnection(TimeSpan timeout, AsyncCallback callback, object state) 725public IConnection EndEstablishConnection(IAsyncResult result) 988public static IConnection End(IAsyncResult result) 1083IAsyncResult result; 1111bool HandleConnect(IAsyncResult connectResult) 1137IAsyncResult result = parent.BeginAcceptPooledConnection(this.rawConnection, 1147bool HandleProcessConnection(IAsyncResult result) 1201static void OnConnect(IAsyncResult result) 1235static void OnProcessConnection(IAsyncResult result)
System\ServiceModel\Channels\ContextChannelListener.cs (4)
40protected override IAsyncResult OnBeginAcceptChannel(TimeSpan timeout, AsyncCallback callback, object state) 45protected override IAsyncResult OnBeginWaitForChannel(TimeSpan timeout, AsyncCallback callback, object state) 50protected override TChannel OnEndAcceptChannel(IAsyncResult result) 55protected override bool OnEndWaitForChannel(IAsyncResult result)
System\ServiceModel\Channels\ContextChannelRequestContext.cs (11)
43public override IAsyncResult BeginReply(Message message, TimeSpan timeout, AsyncCallback callback, object state) 48public override IAsyncResult BeginReply(Message message, AsyncCallback callback, object state) 63public override void EndReply(IAsyncResult result) 139IAsyncResult result = correlationCallback.BeginFinalizeCorrelation(this.message, this.timeoutHelper.RemainingTime(), onFinalizeCorrelation, this); 155IAsyncResult result = this.context.innerContext.BeginReply(this.message, this.timeoutHelper.RemainingTime(), onReply, this); 164public static void End(IAsyncResult result) 169static void OnFinalizeCorrelationCompletedCallback(IAsyncResult result) 201static void OnReplyCompletedCallback(IAsyncResult result) 228bool OnFinalizeCorrelationCompleted(IAsyncResult result) 233IAsyncResult replyResult; 259void OnReplyCompleted(IAsyncResult result)
System\ServiceModel\Channels\ContextDuplexSessionChannel.cs (7)
49public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state) 54public IAsyncResult BeginReceive(AsyncCallback callback, object state) 59public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 64public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state) 69public Message EndReceive(IAsyncResult result) 79public bool EndTryReceive(IAsyncResult result, out Message message) 89public bool EndWaitForMessage(IAsyncResult result)
System\ServiceModel\Channels\ContextInputChannelBase.cs (7)
28public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state) 33public IAsyncResult BeginReceive(AsyncCallback callback, object state) 38public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 43public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state) 48public Message EndReceive(IAsyncResult result) 55public bool EndTryReceive(IAsyncResult result, out Message message) 68public bool EndWaitForMessage(IAsyncResult result)
System\ServiceModel\Channels\ContextOutputChannelBase.cs (11)
38public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 43public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state) 48public void EndSend(IAsyncResult result) 130IAsyncResult result = this.correlationCallback.BeginFinalizeCorrelation(this.message, this.timeoutHelper.RemainingTime(), onFinalizeCorrelation, this); 146IAsyncResult result = this.channel.InnerChannel.BeginSend( 156public static void End(IAsyncResult result) 161static void OnFinalizeCorrelationCompletedCallback(IAsyncResult result) 193static void OnSendCompletedCallback(IAsyncResult result) 220bool OnFinalizeCorrelationCompleted(IAsyncResult result) 225IAsyncResult sendResult; 252void OnSendCompleted(IAsyncResult result)
System\ServiceModel\Channels\ContextReplyChannel.cs (7)
26public IAsyncResult BeginReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state) 31public IAsyncResult BeginReceiveRequest(AsyncCallback callback, object state) 36public IAsyncResult BeginTryReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state) 41public IAsyncResult BeginWaitForRequest(TimeSpan timeout, AsyncCallback callback, object state) 46public RequestContext EndReceiveRequest(IAsyncResult result) 59public bool EndTryReceiveRequest(IAsyncResult result, out RequestContext context) 77public bool EndWaitForRequest(IAsyncResult result)
System\ServiceModel\Channels\ContextReplySessionChannel.cs (7)
31public IAsyncResult BeginReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state) 36public IAsyncResult BeginReceiveRequest(AsyncCallback callback, object state) 41public IAsyncResult BeginTryReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state) 46public IAsyncResult BeginWaitForRequest(TimeSpan timeout, AsyncCallback callback, object state) 51public RequestContext EndReceiveRequest(IAsyncResult result) 64public bool EndTryReceiveRequest(IAsyncResult result, out RequestContext context) 83public bool EndWaitForRequest(IAsyncResult result)
System\ServiceModel\Channels\ContextRequestChannelBase.cs (11)
32public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state) 38public IAsyncResult BeginRequest(Message message, AsyncCallback callback, object state) 43public Message EndRequest(IAsyncResult result) 136IAsyncResult result = this.correlationCallback.BeginFinalizeCorrelation(this.message, this.timeoutHelper.RemainingTime(), onFinalizeCorrelation, this); 152IAsyncResult result = this.channel.BeginRequest(this.message, this.timeoutHelper.RemainingTime(), onRequest, this); 161public static Message End(IAsyncResult result) 167static void OnFinalizeCorrelationCompletedCallback(IAsyncResult result) 199static void OnRequestCompletedCallback(IAsyncResult result) 226bool OnFinalizeCorrelationCompleted(IAsyncResult result) 232IAsyncResult requestResult; 258void OnRequestCompleted(IAsyncResult result)
System\ServiceModel\Channels\CorrelationCallbackMessageProperty.cs (4)
123public IAsyncResult BeginFinalizeCorrelation(Message message, TimeSpan timeout, AsyncCallback callback, object state) 146public Message EndFinalizeCorrelation(IAsyncResult result) 177protected abstract IAsyncResult OnBeginFinalizeCorrelation(Message message, TimeSpan timeout, AsyncCallback callback, object state); 178protected abstract Message OnEndFinalizeCorrelation(IAsyncResult result);
System\ServiceModel\Channels\DatagramAdapter.cs (37)
87protected abstract IAsyncResult CallBeginReceive(TSessionChannel channel, AsyncCallback callback, object state); 88protected abstract ItemType CallEndReceive(TSessionChannel channel, IAsyncResult result); 92static void AcceptCallbackStatic(IAsyncResult result) 97void AcceptCallback(IAsyncResult result) 132IAsyncResult result = null; 168bool FinishAccept(IAsyncResult result) 274protected override void OnEndOpen(IAsyncResult result) 292protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 299protected override void OnEndClose(IAsyncResult result) 323IAsyncResult BeginWaitForAcceptLoop(TimeSpan timeout, AsyncCallback callback, object state) 346void EndWaitForAcceptLoop(IAsyncResult result) 446IAsyncResult result = null; 488static void ReceiveCallbackStatic(IAsyncResult result) 496void FinishReceive(IAsyncResult result) 671internal static bool End(IAsyncResult result) 767protected override IAsyncResult CallBeginReceive(IInputSessionChannel channel, 773protected override Message CallEndReceive(IInputSessionChannel channel, IAsyncResult result) 856protected override IAsyncResult CallBeginReceive(IReplySessionChannel channel, 862protected override RequestContext CallEndReceive(IReplySessionChannel channel, IAsyncResult result) 983protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 988protected override void OnEndOpen(IAsyncResult result) 1092protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 1110protected override void OnEndClose(IAsyncResult result) 1199public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state) 1204public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 1209public void EndSend(IAsyncResult result) 1250void OnOpenComplete(IAsyncResult result) 1273void OnSendComplete(IAsyncResult result) 1317void OnCloseComplete(IAsyncResult result) 1342public static void End(IAsyncResult result) 1432public IAsyncResult BeginRequest(Message message, AsyncCallback callback, object state) 1437public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state) 1442public Message EndRequest(IAsyncResult result) 1484void OnOpenComplete(IAsyncResult result) 1507void OnRequestComplete(IAsyncResult result) 1551void OnCloseComplete(IAsyncResult result) 1576public static Message End(IAsyncResult result)
System\ServiceModel\Channels\DelegatingChannelListener.cs (8)
47protected override IAsyncResult OnBeginAcceptChannel(TimeSpan timeout, AsyncCallback callback, object state) 52protected override TChannel OnEndAcceptChannel(IAsyncResult result) 62protected override IAsyncResult OnBeginWaitForChannel(TimeSpan timeout, AsyncCallback callback, object state) 67protected override bool OnEndWaitForChannel(IAsyncResult result) 81protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 86protected override void OnEndClose(IAsyncResult result) 98protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 103protected override void OnEndOpen(IAsyncResult result)
System\ServiceModel\Channels\DelegatingStream.cs (4)
107public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object state) 112public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state) 122public override int EndRead(IAsyncResult result) 127public override void EndWrite(IAsyncResult result)
System\ServiceModel\Channels\DetectEofStream.cs (1)
23public override int EndRead(IAsyncResult result)
System\ServiceModel\Channels\DuplexChannel.cs (12)
29public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state) 34public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 48public void EndSend(IAsyncResult result) 71protected virtual IAsyncResult OnBeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 77protected virtual void OnEndSend(IAsyncResult result) 121public IAsyncResult BeginReceive(AsyncCallback callback, object state) 126public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state) 138public Message EndReceive(IAsyncResult result) 153public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 163public bool EndTryReceive(IAsyncResult result, out Message message) 178public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state) 188public bool EndWaitForMessage(IAsyncResult result)
System\ServiceModel\Channels\FramingChannels.cs (33)
227protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 232protected override void OnEndOpen(IAsyncResult result) 300IAsyncResult BeginSendPreamble(IConnection connection, ArraySegment<byte> preamble, ref TimeoutHelper timeoutHelper, 306IConnection EndSendPreamble(IAsyncResult result) 404protected override IAsyncResult BeginAcceptPooledConnection(IConnection connection, ref TimeoutHelper timeoutHelper, AsyncCallback callback, object state) 409protected override IConnection EndAcceptPooledConnection(IAsyncResult result) 484public static IConnection End(IAsyncResult result) 509IAsyncResult initiatorOpenResult = 525bool HandleInitiatorOpen(IAsyncResult result) 533IAsyncResult upgradeResult = ConnectionUpgradeHelper.BeginInitiateUpgrade( 546bool HandleUpgrade(IAsyncResult result) 562IAsyncResult initiatorCloseResult = 573bool HandleInitiatorClose(IAsyncResult result) 618IAsyncResult decodeFaultResult = ConnectionUpgradeHelper.BeginDecodeFramingFault(channel.decoder, 690static void OnUpgradeInitiatorOpen(IAsyncResult result) 723static void OnUpgrade(IAsyncResult result) 756static void OnUpgradeInitiatorClose(IAsyncResult result) 817void OnFailedPreamble(IAsyncResult result) 856IAsyncResult result; 879public static void End(IAsyncResult result) 884bool HandleEstablishConnection(IAsyncResult result) 901static void OnEstablishConnection(IAsyncResult result) 939public static IAsyncResult BeginDecodeFramingFault(ClientFramingDecoder decoder, IConnection connection, 946public static void EndDecodeFramingFault(IAsyncResult result) 989public static IAsyncResult BeginInitiateUpgrade(IDefaultCommunicationTimeouts timeouts, EndpointAddress remoteAddress, 998public static IConnection EndInitiateUpgrade(IAsyncResult result) 1160public static void End(IAsyncResult result) 1279IAsyncResult result = ConnectionUpgradeHelper.BeginDecodeFramingFault(decoder, connection, 1291IAsyncResult initiateUpgradeResult = null; 1313void CompleteUpgrade(IAsyncResult result) 1319public static IConnection End(IAsyncResult result) 1355static void OnFailedUpgrade(IAsyncResult result) 1412static void OnInitiateUpgrade(IAsyncResult result)
System\ServiceModel\Channels\HttpChannelFactory.cs (29)
520protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 526protected override void OnEndOpen(IAsyncResult result) 1011protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 1025protected override void OnEndOpen(IAsyncResult result) 1052protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 1054IAsyncResult retval = null; 1066protected override void OnEndClose(IAsyncResult result) 1146protected IAsyncResult BeginGetWebRequest( 1152public virtual IAsyncResult BeginGetWebRequest( 1158public virtual HttpWebRequest EndGetWebRequest(IAsyncResult result) 1436public static void End(IAsyncResult result) 1468IAsyncResult result = channel.BeginGetWebRequest( 1485static void OnGetWebRequestCompletedCallback(IAsyncResult result) 1538bool OnGetWebRequestCompleted(IAsyncResult result) 1553IAsyncResult asyncResult = httpOutput.BeginSend(timeoutHelper.RemainingTime(), onSend, this); 1577bool CompleteSend(IAsyncResult result) 1606IAsyncResult getResponseResult; 1655bool CompleteGetResponse(IAsyncResult result) 1768IAsyncResult result = 1786void CompleteParseIncomingMessage(IAsyncResult result) 1799static void OnParseIncomingMessage(IAsyncResult result) 1825static void OnSend(IAsyncResult result) 1865static void OnGetResponse(IAsyncResult result) 1953IAsyncResult result = null; 1999public static HttpWebRequest End(IAsyncResult result) 2005void CompleteGetUserNameCredential(IAsyncResult result) 2012void CompleteGetSspiCredential(IAsyncResult result) 2056static void OnGetSspiCredential(IAsyncResult result) 2084static void OnGetUserNameCredential(IAsyncResult result)
System\ServiceModel\Channels\HttpChannelHelpers.cs (44)
414public IAsyncResult BeginParseIncomingMessage(AsyncCallback callback, object state) 419public IAsyncResult BeginParseIncomingMessage(HttpRequestMessage httpRequestMessage, AsyncCallback callback, object state) 424IAsyncResult result = new ParseMessageAsyncResult(httpRequestMessage, this, callback, state); 437public Message EndParseIncomingMessage(IAsyncResult result, out Exception requestException) 713IAsyncResult result = inputStream.BeginRead(buffer.Array, offset, count, onRead, this); 743IAsyncResult result = inputStream.BeginRead(buffer.Array, offset, count, onRead, this); 770static void OnRead(IAsyncResult result) 801public static Message End(IAsyncResult result, out Exception requestException) 974public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object state) 994public override int EndRead(IAsyncResult result) 1226protected virtual IAsyncResult BeginGetOutputStream(AsyncCallback callback, object state) 1231protected virtual Stream EndGetOutputStream(IAsyncResult result) 1543IAsyncResult BeginWriteStreamedMessage(HttpResponseMessage httpResponseMessage, TimeSpan timeout, AsyncCallback callback, object state) 1548void EndWriteStreamedMessage(IAsyncResult result) 1668bool HandleWriteStreamedMessage(IAsyncResult result) 1735static void OnWriteStreamedMessage(IAsyncResult result) 1775public static void End(IAsyncResult result) 1781public IAsyncResult BeginSend(HttpResponseMessage httpResponseMessage, TimeSpan timeout, AsyncCallback callback, object state) 1787public IAsyncResult BeginSend(TimeSpan timeout, AsyncCallback callback, object state) 1792IAsyncResult BeginSendCore(HttpResponseMessage httpResponseMessage, TimeSpan timeout, AsyncCallback callback, object state) 1808IAsyncResult result = new SendAsyncResult(this, httpResponseMessage, suppressEntityBody, timeout, callback, state); 1836public virtual void EndSend(IAsyncResult result) 2092IAsyncResult result = httpOutput.BeginGetOutputStream(onGetOutputStream, this); 2121IAsyncResult result = httpOutput.BeginGetOutputStream(onGetOutputStream, this); 2180IAsyncResult writeResult = 2206bool HandleWriteStreamedMessage(IAsyncResult result) 2221static void OnWriteStreamedMessage(IAsyncResult result) 2256void CompleteWriteBody(IAsyncResult result) 2261public static void End(IAsyncResult result) 2266static void OnGetOutputStream(IAsyncResult result) 2339static void OnWriteBody(IAsyncResult result) 2497protected override IAsyncResult BeginGetOutputStream(AsyncCallback callback, object state) 2502protected override Stream EndGetOutputStream(IAsyncResult result) 2734IAsyncResult result = null; 2751void CompleteGetRequestStream(IAsyncResult result) 2765public static Stream End(IAsyncResult result, out ChannelBinding channelBindingToken) 2772static void OnGetRequestStream(IAsyncResult result) 2842public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state) 2863public override void EndWrite(IAsyncResult result) 3101public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state) 3120public override void EndWrite(IAsyncResult result) 4014public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state) 4107public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object state) 4118public override int EndRead(IAsyncResult result)
System\ServiceModel\Channels\HttpChannelListener.cs (22)
404internal abstract IAsyncResult BeginHttpContextReceived( 410internal abstract bool EndHttpContextReceived(IAsyncResult result); 897public IAsyncResult BeginAcceptChannel(AsyncCallback callback, object state) 908public IAsyncResult BeginAcceptChannel(TimeSpan timeout, AsyncCallback callback, object state) 914public TChannel EndAcceptChannel(IAsyncResult result) 965protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 977protected override void OnEndOpen(IAsyncResult result) 997protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 1032protected override void OnEndClose(IAsyncResult result) 1080protected override IAsyncResult OnBeginWaitForChannel(TimeSpan timeout, AsyncCallback callback, object state) 1085protected override bool OnEndWaitForChannel(IAsyncResult result) 1090internal override IAsyncResult BeginHttpContextReceived(HttpRequestContext context, 1103internal override bool EndHttpContextReceived(IAsyncResult result) 1247public static bool End(IAsyncResult result) 1252static void OnProcessInboundRequest(IAsyncResult result) 1304IAsyncResult result = context.BeginProcessInboundRequest(listener.Acceptor as ReplyChannelAcceptor, 1360void HandleProcessInboundRequest(IAsyncResult result) 1393void EndInboundProcessAndEnqueue(IAsyncResult result) 1424IAsyncResult result = communicationObjectManager.BeginClose( 1437public static void End(IAsyncResult result) 1442static bool HandleLifetimeManagerClose(IAsyncResult result) 1459static bool HandleChannelClose(IAsyncResult result)
System\ServiceModel\Channels\HttpPipeline.cs (19)
139internal abstract IAsyncResult BeginProcessInboundRequest(ReplyChannelAcceptor replyChannelAcceptor, Action dequeuedCallback, AsyncCallback callback, object state); 141internal abstract void EndProcessInboundRequest(IAsyncResult result); 143protected abstract IAsyncResult BeginParseIncomingMessage(AsyncCallback asynCallback, object state); 145protected abstract Message EndParseIncomingMesssage(IAsyncResult result, out Exception requestException); 241internal override IAsyncResult BeginProcessInboundRequest( 251internal override void EndProcessInboundRequest(IAsyncResult result) 257protected override IAsyncResult BeginParseIncomingMessage(AsyncCallback asynCallback, object state) 262protected override Message EndParseIncomingMesssage(IAsyncResult result, out Exception requestException) 355protected override IAsyncResult BeginParseIncomingMessage(AsyncCallback asynCallback, object state) 501internal override IAsyncResult BeginProcessInboundRequest(ReplyChannelAcceptor replyChannelAcceptor, Action dequeuedCallback, AsyncCallback callback, object state) 551internal override void EndProcessInboundRequest(IAsyncResult result) 556protected override IAsyncResult BeginParseIncomingMessage(AsyncCallback asynCallback, object state) 561protected override Message EndParseIncomingMesssage(IAsyncResult result, out Exception requestException) 654static void OnEnqueued(IAsyncResult result) 682IAsyncResult result = new EnqueueMessageAsyncResult(this.replyChannelAcceptor, this.dequeuedCallback, this, onEnqueued, this); 887IAsyncResult result = this.pipeline.BeginParseIncomingMessage(asynCallback, this); 891public static void End(IAsyncResult result) 896static bool HandleParseIncomingMessage(IAsyncResult result) 903void CompleteParseAndEnqueue(IAsyncResult result)
System\ServiceModel\Channels\HttpRequestContext.cs (16)
342protected override IAsyncResult OnBeginReply( 348protected override void OnEndReply(IAsyncResult result) 544public IAsyncResult BeginAcceptWebSocket(HttpResponseMessage response, string protocol, AsyncCallback callback, object state) 549public void EndAcceptWebSocket(IAsyncResult result) 583public static void End(IAsyncResult result) 588void OnSendResponseCompleted(IAsyncResult result) 610static void OnSendResponseCompletedCallback(IAsyncResult result) 733IAsyncResult result; 754internal IAsyncResult BeginProcessInboundRequest( 763internal void EndProcessInboundRequest(IAsyncResult result) 1011public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object state) 1024public override int EndRead(IAsyncResult result) 1081IAsyncResult result = this.context.AcceptWebSocketCore(response, protocol).AsAsyncResult<WebSocketContext>(onHandleAcceptWebSocketResult, this); 1090public static void End(IAsyncResult result) 1095static void HandleAcceptWebSocketResult(IAsyncResult result) 1121void CompleteAcceptWebSocket(IAsyncResult result)
System\ServiceModel\Channels\HttpsChannelFactory.cs (13)
173protected override void OnEndOpen(IAsyncResult result) 322protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 342protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 356public IAsyncResult BeginBaseGetWebRequest(EndpointAddress to, Uri via, SecurityTokenContainer clientCertificateToken, ref TimeoutHelper timeoutHelper, AsyncCallback callback, object state) 361public HttpWebRequest EndBaseGetWebRequest(IAsyncResult result) 374public override IAsyncResult BeginGetWebRequest(EndpointAddress to, Uri via, ref TimeoutHelper timeoutHelper, AsyncCallback callback, object state) 379public override HttpWebRequest EndGetWebRequest(IAsyncResult result) 444IAsyncResult result = this.httpsChannel.BeginBaseGetWebRequest(to, via, tokenContainer, ref timeoutHelper, onGetBaseWebRequestCallback, this); 465IAsyncResult result = this.certificateProvider.BeginGetToken( 478static void OnGetBaseWebRequestCallback(IAsyncResult result) 503static void OnGetTokenCallback(IAsyncResult result) 533void OnGetToken(IAsyncResult result) 551public static HttpWebRequest End(IAsyncResult result)
System\ServiceModel\Channels\IChannelAcceptor.cs (4)
10IAsyncResult BeginAcceptChannel(TimeSpan timeout, AsyncCallback callback, object state); 11TChannel EndAcceptChannel(IAsyncResult result); 14IAsyncResult BeginWaitForChannel(TimeSpan timeout, AsyncCallback callback, object state); 15bool EndWaitForChannel(IAsyncResult result);
System\ServiceModel\Channels\IChannelListener.cs (5)
16IAsyncResult BeginWaitForChannel(TimeSpan timeout, AsyncCallback callback, object state); 17bool EndWaitForChannel(IAsyncResult result); 25IAsyncResult BeginAcceptChannel(AsyncCallback callback, object state); 26IAsyncResult BeginAcceptChannel(TimeSpan timeout, AsyncCallback callback, object state); 27TChannel EndAcceptChannel(IAsyncResult result);
System\ServiceModel\Channels\IDuplexSession.cs (3)
12IAsyncResult BeginCloseOutputSession(AsyncCallback callback, object state); 13IAsyncResult BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state); 14void EndCloseOutputSession(IAsyncResult result);
System\ServiceModel\Channels\IInputChannel.cs (7)
16IAsyncResult BeginReceive(AsyncCallback callback, object state); 17IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state); 18Message EndReceive(IAsyncResult result); 21IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state); 22bool EndTryReceive(IAsyncResult result, out Message message); 25IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state); 26bool EndWaitForMessage(IAsyncResult result);
System\ServiceModel\Channels\InitialServerConnectionReader.cs (6)
307public static IAsyncResult BeginUpgradeConnection(IConnection connection, StreamUpgradeAcceptor upgradeAcceptor, 313public static IConnection EndUpgradeConnection(IAsyncResult result) 352IAsyncResult result = upgradeAcceptor.BeginAcceptUpgrade(connectionStream, onAcceptUpgrade, this); 366public static IConnection End(IAsyncResult result) 372void CompleteAcceptUpgrade(IAsyncResult result) 396static void OnAcceptUpgrade(IAsyncResult result)
System\ServiceModel\Channels\InputChannel.cs (15)
42protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 47protected override void OnEndOpen(IAsyncResult result) 72public virtual IAsyncResult BeginReceive(AsyncCallback callback, object state) 77public virtual IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state) 90public Message EndReceive(IAsyncResult result) 107public virtual IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 119public virtual bool EndTryReceive(IAsyncResult result, out Message message) 136public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state) 146public bool EndWaitForMessage(IAsyncResult result) 165internal static IAsyncResult HelpBeginReceive(IInputChannel channel, TimeSpan timeout, AsyncCallback callback, object state) 170internal static Message HelpEndReceive(IAsyncResult result) 187IAsyncResult result = channel.BeginTryReceive(timeout, onReceive, this); 198public static Message End(IAsyncResult result) 204void HandleReceiveComplete(IAsyncResult result) 213static void OnReceive(IAsyncResult result)
System\ServiceModel\Channels\InputQueueChannel.cs (6)
101protected IAsyncResult BeginDequeue(TimeSpan timeout, AsyncCallback callback, object state) 107protected bool EndDequeue(IAsyncResult result, out TDisposable item) 145protected IAsyncResult BeginWaitForItem(TimeSpan timeout, AsyncCallback callback, object state) 151protected bool EndWaitForItem(IAsyncResult result) 177protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 183protected override void OnEndClose(IAsyncResult result)
System\ServiceModel\Channels\InputQueueChannelAcceptor.cs (4)
32public override IAsyncResult BeginAcceptChannel(TimeSpan timeout, AsyncCallback callback, object state) 43public override TChannel EndAcceptChannel(IAsyncResult result) 101public override IAsyncResult BeginWaitForChannel(TimeSpan timeout, AsyncCallback callback, object state) 107public override bool EndWaitForChannel(IAsyncResult result)
System\ServiceModel\Channels\InternalDuplexChannelFactory.cs (6)
132protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 137protected override void OnEndOpen(IAsyncResult result) 149protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 154protected override void OnEndClose(IAsyncResult result) 206protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 218protected override void OnEndClose(IAsyncResult result)
System\ServiceModel\Channels\InternalDuplexChannelListener.cs (22)
40protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 45protected override void OnEndClose(IAsyncResult result) 63protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 68protected override void OnEndOpen(IAsyncResult result) 156public IAsyncResult BeginReceive(AsyncCallback callback, object state) 161public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state) 166public Message EndReceive(IAsyncResult result) 171public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 176public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state) 181public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 186public bool EndTryReceive(IAsyncResult result, out Message message) 191public void EndSend(IAsyncResult result) 201protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 206protected override void OnEndClose(IAsyncResult result) 217protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 222protected override void OnEndOpen(IAsyncResult result) 301IAsyncResult result = outputChannel.BeginSend(message, timeoutHelper.RemainingTime(), sendCompleteCallback, this); 316void CompleteSend(IAsyncResult result) 329internal static void End(IAsyncResult result) 334static void SendCompleteCallback(IAsyncResult result) 366public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state) 371public bool EndWaitForMessage(IAsyncResult result)
System\ServiceModel\Channels\IOutputChannel.cs (3)
16IAsyncResult BeginSend(Message message, AsyncCallback callback, object state); 17IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state); 18void EndSend(IAsyncResult result);
System\ServiceModel\Channels\IPeerNeighbor.cs (3)
18IAsyncResult BeginSend(Message message, AsyncCallback callback, object state); 19IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state); 20void EndSend(IAsyncResult result);
System\ServiceModel\Channels\IReliableChannelBinder.cs (16)
27IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state); 28IAsyncResult BeginClose(TimeSpan timeout, MaskingMode maskingMode, AsyncCallback callback, object state); 29void EndClose(IAsyncResult result); 32IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state); 33void EndOpen(IAsyncResult result); 35IAsyncResult BeginSend(Message message, TimeSpan timeout, MaskingMode maskingMode, AsyncCallback callback, object state); 36IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state); 37void EndSend(IAsyncResult result); 43IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state); 44IAsyncResult BeginTryReceive(TimeSpan timeout, MaskingMode maskingMode, AsyncCallback callback, object state); 45bool EndTryReceive(IAsyncResult result, out RequestContext requestContext); 61IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state); 62IAsyncResult BeginRequest(Message message, TimeSpan timeout, MaskingMode maskingMode, AsyncCallback callback, object state); 63Message EndRequest(IAsyncResult result); 74IAsyncResult BeginWaitForRequest(TimeSpan timeout, AsyncCallback callback, object state); 75bool EndWaitForRequest(IAsyncResult result);
System\ServiceModel\Channels\IReplyChannel.cs (7)
15IAsyncResult BeginReceiveRequest(AsyncCallback callback, object state); 16IAsyncResult BeginReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state); 17RequestContext EndReceiveRequest(IAsyncResult result); 20IAsyncResult BeginTryReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state); 21bool EndTryReceiveRequest(IAsyncResult result, out RequestContext context); 24IAsyncResult BeginWaitForRequest(TimeSpan timeout, AsyncCallback callback, object state); 25bool EndWaitForRequest(IAsyncResult result);
System\ServiceModel\Channels\IRequestChannel.cs (3)
16IAsyncResult BeginRequest(Message message, AsyncCallback callback, object state); 17IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state); 18Message EndRequest(IAsyncResult result);
System\ServiceModel\Channels\LayeredChannel.cs (4)
59protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 64protected override void OnEndClose(IAsyncResult result) 74protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 79protected override void OnEndOpen(IAsyncResult result)
System\ServiceModel\Channels\LayeredChannelFactory.cs (18)
41protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 46protected override void OnEndOpen(IAsyncResult result) 51protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 56protected override void OnEndClose(IAsyncResult result) 118public IAsyncResult BeginReceive(AsyncCallback callback, object state) 123public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state) 128public Message EndReceive(IAsyncResult result) 135public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 140public bool EndTryReceive(IAsyncResult result, out Message message) 159public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state) 164public bool EndWaitForMessage(IAsyncResult result) 212protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 217protected override void OnEndClose(IAsyncResult result) 229protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 234protected override void OnEndOpen(IAsyncResult result) 256public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state) 261public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 266public void EndSend(IAsyncResult result)
System\ServiceModel\Channels\LayeredChannelListener.cs (14)
111protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 117protected override void OnEndClose(IAsyncResult result) 140protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 145protected override void OnEndOpen(IAsyncResult result) 204IAsyncResult result = this.communicationObject.BeginOpen(timeout, onOpenComplete, this); 212static void OnOpenComplete(IAsyncResult result) 236public static void End(IAsyncResult result) 258IAsyncResult result = this.communicationObject.BeginClose(timeout, onCloseComplete, this); 267static void OnCloseComplete(IAsyncResult result) 291public static void End(IAsyncResult result) 321public override IAsyncResult BeginAcceptChannel(TimeSpan timeout, AsyncCallback callback, object state) 326public override TChannel EndAcceptChannel(IAsyncResult result) 340public override IAsyncResult BeginWaitForChannel(TimeSpan timeout, AsyncCallback callback, object state) 345public override bool EndWaitForChannel(IAsyncResult result)
System\ServiceModel\Channels\LifetimeManager.cs (5)
81public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 185public void EndClose(IAsyncResult result) 212protected virtual IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 260protected virtual void OnEndClose(IAsyncResult result) 321public static void End(IAsyncResult result)
System\ServiceModel\Channels\MaxMessageSizeStream.cs (3)
23public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object state) 29public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state) 35public override int EndRead(IAsyncResult result)
System\ServiceModel\Channels\Message.cs (14)
446public IAsyncResult BeginWriteBodyContents(XmlDictionaryWriter writer, AsyncCallback callback, object state) 452public void EndWriteBodyContents(IAsyncResult result) 459protected virtual IAsyncResult OnBeginWriteBodyContents(XmlDictionaryWriter writer, AsyncCallback callback, object state) 464protected virtual void OnEndWriteBodyContents(IAsyncResult result) 701public IAsyncResult BeginWriteMessage(XmlDictionaryWriter writer, AsyncCallback callback, object state) 707public void EndWriteMessage(IAsyncResult result) 750protected virtual IAsyncResult OnBeginWriteMessage(XmlDictionaryWriter writer, AsyncCallback callback, object state) 755protected virtual void OnEndWriteMessage(IAsyncResult result) 1134protected override IAsyncResult OnBeginWriteMessage(XmlDictionaryWriter writer, AsyncCallback callback, object state) 1140protected override void OnEndWriteMessage(IAsyncResult result) 1145protected override IAsyncResult OnBeginWriteBodyContents(XmlDictionaryWriter writer, AsyncCallback callback, object state) 1150protected override void OnEndWriteBodyContents(IAsyncResult result) 1192bool HandleWriteBodyContents(IAsyncResult result) 1208public static void End(IAsyncResult result)
System\ServiceModel\Channels\MessageEncoder.cs (2)
99public virtual IAsyncResult BeginWriteMessage(Message message, Stream stream, AsyncCallback callback, object state) 104public virtual void EndWriteMessage(IAsyncResult result)
System\ServiceModel\Channels\Msmq4PoisonHandler.cs (1)
272static void OnPeekCompleted(IAsyncResult result)
System\ServiceModel\Channels\MsmqChannelFactoryBase.cs (2)
187protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 192protected override void OnEndOpen(IAsyncResult result)
System\ServiceModel\Channels\MsmqChannelListenerBase.cs (6)
95protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 113protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 116IAsyncResult result = base.OnBeginOpen(timeoutHelper.RemainingTime(), callback, state); 281public abstract IAsyncResult BeginAcceptChannel(AsyncCallback callback, object state); 283public abstract IAsyncResult BeginAcceptChannel(TimeSpan timeout, AsyncCallback callback, object state); 284public abstract TChannel EndAcceptChannel(IAsyncResult result);
System\ServiceModel\Channels\MsmqInputChannelBase.cs (11)
68protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 79protected override void OnEndOpen(IAsyncResult result) 89protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 100protected override void OnEndClose(IAsyncResult result) 129public IAsyncResult BeginReceive(AsyncCallback callback, object state) 134public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state) 142public Message EndReceive(IAsyncResult result) 203public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 217public bool EndTryReceive(IAsyncResult result, out Message message) 293public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state) 301public bool EndWaitForMessage(IAsyncResult result)
System\ServiceModel\Channels\MsmqInputChannelListenerBase.cs (5)
56public override IAsyncResult BeginAcceptChannel(AsyncCallback callback, object state) 66public override IAsyncResult BeginAcceptChannel(TimeSpan timeout, AsyncCallback callback, object state) 71public override IInputChannel EndAcceptChannel(IAsyncResult result) 82protected override IAsyncResult OnBeginWaitForChannel(TimeSpan timeout, AsyncCallback callback, object state) 87protected override bool OnEndWaitForChannel(IAsyncResult result)
System\ServiceModel\Channels\MsmqInputSessionChannel.cs (12)
100public override IAsyncResult BeginReceive(AsyncCallback callback, object state) 105public override IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state) 136public override IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 151public override bool EndTryReceive(IAsyncResult result, out Message message) 244protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 343protected override IAsyncResult OnBeginAbandon(TimeSpan timeout, AsyncCallback callback, object state) 348protected override IAsyncResult OnBeginComplete(TimeSpan timeout, AsyncCallback callback, object state) 358protected override void OnEndAbandon(IAsyncResult result) 363protected override void OnEndComplete(IAsyncResult result) 386public static IAsyncResult CreateComplete(MsmqSessionReceiveContext receiveContext, TimeSpan timeout, AsyncCallback callback, object state) 395public static IAsyncResult CreateAbandon(MsmqSessionReceiveContext receiveContext, TimeSpan timeout, AsyncCallback callback, object state) 451public static void End(IAsyncResult result)
System\ServiceModel\Channels\MsmqInputSessionChannelListener.cs (5)
119public override IAsyncResult BeginAcceptChannel(AsyncCallback callback, object state) 124public override IAsyncResult BeginAcceptChannel(TimeSpan timeout, AsyncCallback callback, object state) 145public override IInputSessionChannel EndAcceptChannel(IAsyncResult result) 213protected override IAsyncResult OnBeginWaitForChannel(TimeSpan timeout, AsyncCallback callback, object state) 221protected override bool OnEndWaitForChannel(IAsyncResult result)
System\ServiceModel\Channels\MsmqOutputChannel.cs (6)
62protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 68protected override void OnEndClose(IAsyncResult result) 113protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 119protected override void OnEndOpen(IAsyncResult result) 129protected override IAsyncResult OnBeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 135protected override void OnEndSend(IAsyncResult result)
System\ServiceModel\Channels\MsmqOutputSessionChannel.cs (6)
142protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 148protected override void OnEndClose(IAsyncResult result) 172protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 178protected override void OnEndOpen(IAsyncResult result) 188protected override IAsyncResult OnBeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 194protected override void OnEndSend(IAsyncResult result)
System\ServiceModel\Channels\MsmqQueue.cs (5)
727public IAsyncResult BeginTryReceive(NativeMsmqMessage message, TimeSpan timeout, 734public ReceiveResult EndTryReceive(IAsyncResult result) 739public IAsyncResult BeginPeek(NativeMsmqMessage message, TimeSpan timeout, 746public ReceiveResult EndPeek(IAsyncResult result) 914public static ReceiveResult End(IAsyncResult result)
System\ServiceModel\Channels\MsmqReceiveContext.cs (7)
99protected override IAsyncResult OnBeginComplete(TimeSpan timeout, AsyncCallback callback, object state) 104protected override void OnEndComplete(IAsyncResult result) 109protected override IAsyncResult OnBeginAbandon(TimeSpan timeout, AsyncCallback callback, object state) 114protected override void OnEndAbandon(IAsyncResult result) 141public static IAsyncResult CreateComplete(MsmqReceiveContext receiver, TimeSpan timeout, AsyncCallback callback, object state) 150public static IAsyncResult CreateAbandon(MsmqReceiveContext receiver, TimeSpan timeout, AsyncCallback callback, object state) 205public static void End(IAsyncResult result)
System\ServiceModel\Channels\MsmqReceiveHelper.cs (11)
254internal IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state) 259public bool EndWaitForMessage(IAsyncResult result) 289internal IAsyncResult BeginTryReceive(MsmqInputMessage msmqMessage, TimeSpan timeout, MsmqTransactionMode transactionMode, AsyncCallback callback, object state) 297internal bool EndTryReceive(IAsyncResult result, out MsmqInputMessage msmqMessage, out MsmqMessageProperty msmqProperty) 371internal static bool End(IAsyncResult result, out MsmqInputMessage msmqMessage, out MsmqMessageProperty property) 397static void OnCompleteStatic(IAsyncResult result) 402void OnComplete(IAsyncResult result) 418internal static bool End(IAsyncResult result, out MsmqInputMessage msmqMessage, out MsmqMessageProperty property) 451static void OnCompleteStatic(IAsyncResult result) 456void OnComplete(IAsyncResult result) 476public static bool End(IAsyncResult result)
System\ServiceModel\Channels\MtomMessageEncoder.cs (3)
373public override IAsyncResult BeginWriteMessage(Message message, Stream stream, AsyncCallback callback, object state) 378internal IAsyncResult BeginWriteMessage(Message message, Stream stream, string boundary, AsyncCallback callback, object state) 383public override void EndWriteMessage(IAsyncResult result)
System\ServiceModel\Channels\NamedPipeChannelListener.cs (9)
33protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 38protected override void OnEndOpen(IAsyncResult result) 56protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 61protected override void OnEndClose(IAsyncResult result) 71public IAsyncResult BeginAcceptChannel(AsyncCallback callback, object state) 82public IAsyncResult BeginAcceptChannel(TimeSpan timeout, AsyncCallback callback, object state) 88public TChannel EndAcceptChannel(IAsyncResult result) 99protected override IAsyncResult OnBeginWaitForChannel(TimeSpan timeout, AsyncCallback callback, object state) 104protected override bool OnEndWaitForChannel(IAsyncResult result)
System\ServiceModel\Channels\OneWayChannelFactory.cs (26)
130protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 135protected override void OnEndOpen(IAsyncResult result) 145protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 150protected override void OnEndClose(IAsyncResult result) 188protected override IAsyncResult OnBeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 193protected override void OnEndSend(IAsyncResult result) 298protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 303protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 308protected override IAsyncResult OnBeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 319protected override void OnEndClose(IAsyncResult result) 324protected override void OnEndOpen(IAsyncResult result) 329protected override void OnEndSend(IAsyncResult result) 416protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 467protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 472protected override void OnEndOpen(IAsyncResult result) 493protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 502protected override void OnEndClose(IAsyncResult result) 508protected override IAsyncResult OnBeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 513protected override void OnEndSend(IAsyncResult result) 561void OnReceive(IAsyncResult result) 703public static void End(IAsyncResult result) 722IAsyncResult result = this.innerChannel.BeginOpen(timeoutHelper.RemainingTime(), onOpen, this); 732void CompleteOpen(IAsyncResult result) 740IAsyncResult result = innerChannel.BeginSend(this.message, onInnerSend, this); 750static void OnOpen(IAsyncResult result) 785static void OnInnerSend(IAsyncResult result)
System\ServiceModel\Channels\OneWayChannelListener.cs (53)
43protected override IAsyncResult OnBeginAcceptChannel(TimeSpan timeout, AsyncCallback callback, object state) 48protected override IInputChannel OnEndAcceptChannel(IAsyncResult result) 59protected override IAsyncResult OnBeginWaitForChannel(TimeSpan timeout, AsyncCallback callback, object state) 64protected override bool OnEndWaitForChannel(IAsyncResult result) 163public IAsyncResult BeginReceive(AsyncCallback callback, object state) 168public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state) 173public Message EndReceive(IAsyncResult result) 194public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 199public bool EndTryReceive(IAsyncResult result, out Message message) 209public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state) 214public bool EndWaitForMessage(IAsyncResult result) 229public static bool End(IAsyncResult result, out Message message) 236protected override IAsyncResult OnBeginReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state) 241protected override RequestContext OnEndReceiveRequest(IAsyncResult result) 257public static Message End(IAsyncResult result) 263protected override IAsyncResult OnBeginReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state) 268protected override RequestContext OnEndReceiveRequest(IAsyncResult result) 291IAsyncResult result = this.OnBeginReceiveRequest(timeoutHelper.RemainingTime(), onReceiveRequest, this); 319protected abstract IAsyncResult OnBeginReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state); 320protected abstract RequestContext OnEndReceiveRequest(IAsyncResult result); 322bool HandleReplyComplete(IAsyncResult result) 353bool HandleReceiveRequestComplete(IAsyncResult result) 362IAsyncResult replyResult = null; 417static void OnReceiveRequest(IAsyncResult result) 449static void OnReply(IAsyncResult result) 511protected override IAsyncResult OnBeginAcceptChannel(TimeSpan timeout, AsyncCallback callback, object state) 516protected override IAsyncResult OnBeginWaitForChannel(TimeSpan timeout, AsyncCallback callback, object state) 521protected override IInputChannel OnEndAcceptChannel(IAsyncResult result) 527protected override bool OnEndWaitForChannel(IAsyncResult result) 564public IAsyncResult BeginReceive(AsyncCallback callback, object state) 569public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state) 574public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 579public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state) 584public Message EndReceive(IAsyncResult result) 590public bool EndTryReceive(IAsyncResult result, out Message message) 597public bool EndWaitForMessage(IAsyncResult result) 710void AcceptLoop(IAsyncResult pendingResult) 730IAsyncResult result = null; 798bool ProcessEndAccept(IAsyncResult result, out IDuplexSessionChannel channel) 890static void OnAcceptInnerChannel(IAsyncResult result) 925IAsyncResult openResult = null; 977void OnOpenInnerChannel(IAsyncResult result) 989void CompleteOpen(IDuplexSessionChannel channel, IAsyncResult result) 1094protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 1099protected override void OnEndOpen(IAsyncResult result) 1128protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 1140protected override void OnEndClose(IAsyncResult result) 1196protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 1208protected override void OnEndClose(IAsyncResult result) 1268IAsyncResult result = null; 1350bool OnCompleteReceive(IAsyncResult result, out bool dispatchLater) 1407IAsyncResult result = null; 1472static void OnReceive(IAsyncResult result)
System\ServiceModel\Channels\OpaqueContent.cs (2)
52public IAsyncResult BeginWriteToStream(Stream stream, AsyncCallback callback, object state) 66public void EndWriteToStream(IAsyncResult result)
System\ServiceModel\Channels\OpenCollectionAsyncResult.cs (3)
38IAsyncResult result = collection[index].BeginOpen(this.timeoutHelper.RemainingTime(), nestedCallback, callbackState); 47static void Callback(IAsyncResult result) 86public static void End(IAsyncResult result)
System\ServiceModel\Channels\OutputChannel.cs (5)
22public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state) 27public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 42public void EndSend(IAsyncResult result) 65protected abstract IAsyncResult OnBeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state); 67protected abstract void OnEndSend(IAsyncResult result);
System\ServiceModel\Channels\OverlappedContext.cs (4)
492object IAsyncResult.AsyncState 501WaitHandle IAsyncResult.AsyncWaitHandle 510bool IAsyncResult.CompletedSynchronously 519bool IAsyncResult.IsCompleted
System\ServiceModel\Channels\PeerChannelFactory.cs (2)
121protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 126protected override void OnEndOpen(IAsyncResult result)
System\ServiceModel\Channels\PeerChannelListener.cs (13)
195protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 201protected override void OnEndClose(IAsyncResult result) 220protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 226protected override void OnEndOpen(IAsyncResult result) 295public IAsyncResult BeginAcceptChannel(AsyncCallback callback, object state) 306public IAsyncResult BeginAcceptChannel(TimeSpan timeout, AsyncCallback callback, object state) 312public TChannel EndAcceptChannel(IAsyncResult result) 336protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 342protected override void OnEndClose(IAsyncResult result) 362protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 368protected override void OnEndOpen(IAsyncResult result) 379protected override IAsyncResult OnBeginWaitForChannel(TimeSpan timeout, AsyncCallback callback, object state) 384protected override bool OnEndWaitForChannel(IAsyncResult result)
System\ServiceModel\Channels\PeerDuplexChannel.cs (7)
116protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 121protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 123IAsyncResult result = this.peerNode.InnerNode.BeginOpen(timeout, callback, state, true); 161protected override void OnEndClose(IAsyncResult result) 166protected override void OnEndOpen(IAsyncResult result) 200protected override IAsyncResult OnBeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 219protected override void OnEndSend(IAsyncResult result)
System\ServiceModel\Channels\PeerFlooder.cs (19)
139public virtual IAsyncResult BeginFloodEncodedMessage(byte[] id, MessageBuffer encodedMessage, TimeSpan timeout, AsyncCallback callback, object state) 160protected virtual IAsyncResult BeginFloodReceivedMessage(IPeerNeighbor sender, MessageBuffer messageBuffer, 195protected IAsyncResult BeginSendHelper(IPeerNeighbor neighbor, TimeSpan timeout, Message message, FloodAsyncResult fresult) 197IAsyncResult result = null; 248protected virtual IAsyncResult FloodMessageToNeighbors(MessageBuffer messageBuffer, 347public virtual IAsyncResult OnFloodedMessage(IPeerNeighbor neighbor, TFloodContract floodInfo, AsyncCallback callback, object state) 359IAsyncResult result = null; 440public virtual void EndFloodMessage(IAsyncResult result) 507public static void EndFloodEncodedMessage(IAsyncResult result) 521public void EndFloodReceivedMessage(IAsyncResult result) 619public override IAsyncResult OnFloodedMessage(IPeerNeighbor neighbor, Message floodInfo, AsyncCallback callback, object state) 624public override void EndFloodMessage(IAsyncResult result) 828List<IAsyncResult> pending = new List<IAsyncResult>(); 829Dictionary<IAsyncResult, IPeerNeighbor> results = new Dictionary<IAsyncResult, IPeerNeighbor>(); 852public void AddResult(IAsyncResult result, IPeerNeighbor neighbor) 915foreach (IAsyncResult result in pending) 946internal void OnSendComplete(IAsyncResult result)
System\ServiceModel\Channels\PeerInputChannel.cs (9)
72protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 80IAsyncResult OnBeginCloseNode(TimeSpan timeout, AsyncCallback callback, object state) 85protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 93IAsyncResult OnBeginOpenNode(TimeSpan timeout, AsyncCallback callback, object state) 95IAsyncResult result = this.peerNode.InnerNode.BeginOpen(timeout, callback, state, true); 131protected override void OnEndClose(IAsyncResult result) 136void OnEndCloseNode(IAsyncResult result) 141protected override void OnEndOpen(IAsyncResult result) 146void OnEndOpenNode(IAsyncResult result)
System\ServiceModel\Channels\PeerMaintainer.cs (4)
34IAsyncResult BeginOpenNeighbor(PeerNodeAddress to, TimeSpan timeout, AsyncCallback callback, object asyncState); 35IPeerNeighbor EndOpenNeighbor(IAsyncResult result); 611IAsyncResult IPeerMaintainer.BeginOpenNeighbor(PeerNodeAddress address, TimeSpan timeout, AsyncCallback callback, object asyncState) 625IPeerNeighbor IPeerMaintainer.EndOpenNeighbor(IAsyncResult result)
System\ServiceModel\Channels\PeerMessageDispatcher.cs (4)
95protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 101protected override void OnEndClose(IAsyncResult result) 135protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 140protected override void OnEndOpen(IAsyncResult result)
System\ServiceModel\Channels\PeerNeighborManager.cs (22)
134public IAsyncResult BeginOpenNeighbor(PeerNodeAddress remoteAddress, TimeSpan timeout, AsyncCallback callback, object asyncState) 148internal IAsyncResult BeginOpenNeighborInternal(PeerNodeAddress remoteAddress, TimeSpan timeout, AsyncCallback callback, object asyncState) 244public IPeerNeighbor EndOpenNeighbor(IAsyncResult result) 400PeerCloseInitiator closeInitiator, Exception closeException, IAsyncResult endResult) 407IAsyncResult beginResult = neighbor.BeginClose(closeReason, closeInitiator, 448void OnNeighborClosedCallback(IAsyncResult result) 995public IAsyncResult BeginClose(PeerCloseReason reason, 1044public IAsyncResult BeginOpen(PeerNodeAddress remoteAddress, Binding binding, 1056public IAsyncResult BeginOpenProxy(EndpointAddress remoteAddress, Binding binding, 1073IAsyncResult result = this.proxyChannel.BeginOpen(timeoutHelper.RemainingTime(), callback, state); 1080public IAsyncResult BeginSend(Message message, 1086public IAsyncResult BeginSend(Message message, 1103public void EndClose(IAsyncResult result) 1111public void EndOpen(IAsyncResult result) 1117public void EndOpenProxy(IAsyncResult result) 1123public void EndSend(IAsyncResult result) 1452IAsyncResult result = this.neighbor.BeginOpenProxy(remoteAddress, binding, new InstanceContext(null, service, false), this.timeoutHelper.RemainingTime(), onOpen, null); 1501public static void End(IAsyncResult result) 1525void OnOpen(IAsyncResult result) 1621IAsyncResult result = null; 1643void OnOpen(IAsyncResult result) 1666public static IPeerNeighbor End(IAsyncResult result)
System\ServiceModel\Channels\PeerNodeImplementation.cs (10)
334public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 339public IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state, bool waitForOnline) 373public IAsyncResult BeginSend(object registrant, Message message, Uri via, 431IAsyncResult ar = null; 692public static void EndClose(IAsyncResult result) 700public static void EndOpen(IAsyncResult result) 708public static void EndSend(IAsyncResult result) 1809public void OnFloodComplete(IAsyncResult result) 1837public void OnLocalDispatchComplete(IAsyncResult result) 1857public static void End(IAsyncResult result)
System\ServiceModel\Channels\PeerNodeStateManager.cs (5)
73public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 97public IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state, bool waitForOnline) 128public static void EndOpen(IAsyncResult result) 137public static void EndClose(IAsyncResult result) 466static public void End(IAsyncResult result)
System\ServiceModel\Channels\PeerOutputChannel.cs (7)
74protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 79protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 81IAsyncResult result = this.peerNode.InnerNode.BeginOpen(timeout, callback, state, true); 127protected override void OnEndClose(IAsyncResult result) 132protected override void OnEndOpen(IAsyncResult result) 142protected override IAsyncResult OnBeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 159protected override void OnEndSend(IAsyncResult result)
System\ServiceModel\Channels\PeerService.cs (4)
29IAsyncResult OnFloodedMessage(IPeerNeighbor neighbor, TFloodContract floodedInfo, AsyncCallback callback, object state); 30void EndFloodMessage(IAsyncResult result); 295IAsyncResult IPeerServiceContract.BeginFloodMessage(Message floodedInfo, AsyncCallback callback, object state) 306void IPeerServiceContract.EndFloodMessage(IAsyncResult result)
System\ServiceModel\Channels\PeerServiceMessageContracts.cs (2)
151IAsyncResult BeginFloodMessage(Message floodedInfo, AsyncCallback callback, object state); 152void EndFloodMessage(IAsyncResult result);
System\ServiceModel\Channels\PipeConnection.cs (7)
1096public IAsyncResult BeginValidate(Uri uri, AsyncCallback callback, object state) 1101public bool EndValidate(IAsyncResult result) 1764public IAsyncResult BeginConnect(Uri uri, TimeSpan timeout, AsyncCallback callback, object state) 1769public IConnection EndConnect(IAsyncResult result) 1923public static IConnection End(IAsyncResult result) 2001public IAsyncResult BeginAccept(AsyncCallback callback, object state) 2025public IConnection EndAccept(IAsyncResult result)
System\ServiceModel\Channels\ReceiveContext.cs (18)
137public virtual IAsyncResult BeginAbandon(TimeSpan timeout, AsyncCallback callback, object state) 142public virtual IAsyncResult BeginAbandon(Exception exception, TimeSpan timeout, AsyncCallback callback, object state) 148public virtual IAsyncResult BeginComplete(TimeSpan timeout, AsyncCallback callback, object state) 202public virtual void EndAbandon(IAsyncResult result) 207public virtual void EndComplete(IAsyncResult result) 247protected abstract IAsyncResult OnBeginAbandon(TimeSpan timeout, AsyncCallback callback, object state); 248protected virtual IAsyncResult OnBeginAbandon(Exception exception, TimeSpan timeout, AsyncCallback callback, object state) 254protected abstract IAsyncResult OnBeginComplete(TimeSpan timeout, AsyncCallback callback, object state); 257protected abstract void OnEndAbandon(IAsyncResult result); 258protected abstract void OnEndComplete(IAsyncResult result); 441IAsyncResult result; 477public static void End(IAsyncResult result) 482void EndAbandon(IAsyncResult result) 493static bool HandleOperationComplete(IAsyncResult result) 533IAsyncResult result; 579public static void End(IAsyncResult result) 584void EndComplete(IAsyncResult result) 595static bool HandleOperationComplete(IAsyncResult result)
System\ServiceModel\Channels\ReliableChannelBinder.cs (97)
202public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, 208public IAsyncResult BeginClose(TimeSpan timeout, MaskingMode maskingMode, 224protected virtual IAsyncResult BeginCloseChannel(TChannel channel, TimeSpan timeout, 230public IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 263public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, 269public IAsyncResult BeginSend(Message message, TimeSpan timeout, MaskingMode maskingMode, 278protected abstract IAsyncResult BeginTryGetChannel(TimeSpan timeout, 281public virtual IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, 287public virtual IAsyncResult BeginTryReceive(TimeSpan timeout, MaskingMode maskingMode, 296internal IAsyncResult BeginWaitForPendingOperations(TimeSpan timeout, 425IAsyncResult result = channel.BeginClose(onCloseChannelComplete, channel); 449public void EndClose(IAsyncResult result) 463protected virtual void EndCloseChannel(TChannel channel, IAsyncResult result) 468public void EndOpen(IAsyncResult result) 507public void EndSend(IAsyncResult result) 513protected abstract bool EndTryGetChannel(IAsyncResult result); 515public virtual bool EndTryReceive(IAsyncResult result, out RequestContext requestContext) 531public void EndWaitForPendingOperations(IAsyncResult result) 669protected abstract IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, 671protected abstract IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, 674protected virtual IAsyncResult OnBeginSend(TChannel channel, Message message, 680protected virtual IAsyncResult OnBeginTryReceive(TChannel channel, TimeSpan timeout, 688void OnCloseChannelComplete(IAsyncResult result) 713protected abstract void OnEndClose(IAsyncResult result); 714protected abstract void OnEndOpen(IAsyncResult result); 716protected virtual void OnEndSend(TChannel channel, IAsyncResult result) 721protected virtual bool OnEndTryReceive(TChannel channel, IAsyncResult result, 1274public IAsyncResult BeginTryGetChannelForInput(bool canGetChannel, TimeSpan timeout, 1281public IAsyncResult BeginTryGetChannelForOutput(TimeSpan timeout, 1288IAsyncResult BeginTryGetChannel(bool canGetChannel, bool canCauseFault, 1371public IAsyncResult BeginWaitForPendingOperations(TimeSpan timeout, 1432public bool EndTryGetChannel(IAsyncResult result, out TChannel channel) 1447public void EndWaitForPendingOperations(IAsyncResult result) 2264bool CompleteOpen(IAsyncResult result) 2270bool CompleteTryGetChannel(IAsyncResult result) 2315IAsyncResult result = this.synchronizer.binder.BeginTryGetChannel( 2413static void OnOpenComplete(IAsyncResult result) 2466static void OnTryGetChannelComplete(IAsyncResult result) 2508IAsyncResult result = this.channel.BeginOpen( 2766IAsyncResult result = this.binder.OnBeginClose(timeout, onBinderCloseComplete, this); 2798bool CompleteBinderClose(bool synchronous, IAsyncResult result) 2823bool CompleteChannelClose(bool synchronous, IAsyncResult result) 2849static void OnBinderCloseComplete(IAsyncResult result) 2886static void OnChannelCloseComplete(IAsyncResult result) 2948protected abstract IAsyncResult BeginInput(TBinder binder, TChannel channel, 2952bool CompleteInput(IAsyncResult result) 2970bool CompleteTryGetChannel(IAsyncResult result, out bool complete) 2984IAsyncResult inputResult = null; 3028IAsyncResult result, out bool complete); 3030void OnInputComplete(IAsyncResult result) 3069static void OnInputCompleteStatic(IAsyncResult result) 3079void OnTryGetChannelComplete(IAsyncResult result) 3125static void OnTryGetChannelCompleteStatic(IAsyncResult result) 3146IAsyncResult result = this.binder.synchronizer.BeginTryGetChannelForInput( 3223protected override IAsyncResult OnBeginReply(Message message, TimeSpan timeout, AsyncCallback callback, object state) 3228protected override void OnEndReply(IAsyncResult result) 3256IAsyncResult result = context.Binder.BeginSend(message, timeout, context.MaskingMode, onSend, this); 3267public static void End(IAsyncResult result) 3272static void OnSend(IAsyncResult result) 3328protected abstract IAsyncResult BeginOutput(TBinder binder, TChannel channel, 3341bool CompleteTryGetChannel(IAsyncResult result) 3377MaskingMode maskingMode, IAsyncResult result); 3381void OnOutputComplete(IAsyncResult result) 3417static void OnOutputCompleteStatic(IAsyncResult result) 3425void OnTryGetChannelComplete(IAsyncResult result) 3459static void OnTryGetChannelCompleteStatic(IAsyncResult result) 3484IAsyncResult result = this.binder.synchronizer.BeginTryGetChannelForOutput( 3543protected override IAsyncResult OnBeginReply(Message message, TimeSpan timeout, 3594protected override void OnEndReply(IAsyncResult result) 3658protected override IAsyncResult BeginOutput(ReliableChannelBinder<TChannel> binder, 3666public static void End(IAsyncResult result) 3672TChannel channel, MaskingMode maskingMode, IAsyncResult result) 3695protected override IAsyncResult BeginInput(ReliableChannelBinder<TChannel> binder, 3708TChannel channel, IAsyncResult result, out bool complete) 3728internal static IAsyncResult BeginCloseDuplexSessionChannel( 3736internal static IAsyncResult BeginCloseReplySessionChannel( 3875IAsyncResult result) 3881IAsyncResult result) 3942IAsyncResult result = this.binder.BeginWaitForPendingOperations( 3952protected abstract IAsyncResult BeginTryInput(TimeSpan timeout, AsyncCallback callback, 3957protected abstract bool EndTryInput(IAsyncResult result, out TItem item); 3959void HandleChannelCloseComplete(IAsyncResult result) 3964bool HandleInputComplete(IAsyncResult result, out bool gotEof) 4038bool HandleWaitForPendingOperationsComplete(IAsyncResult result) 4044static void OnChannelCloseCompleteStatic(IAsyncResult result) 4069static void OnInputCompleteStatic(IAsyncResult result) 4100static void OnWaitForPendingOperationsCompleteStatic(IAsyncResult result) 4134IAsyncResult result = null; 4191IAsyncResult result = this.Channel.Session.BeginCloseOutputSession( 4201protected override IAsyncResult BeginTryInput(TimeSpan timeout, AsyncCallback callback, object state) 4211public static void End(IAsyncResult result) 4216protected override bool EndTryInput(IAsyncResult result, out Message item) 4221bool HandleCloseOutputSessionComplete(IAsyncResult result) 4227static void OnCloseOutputSessionCompleteStatic(IAsyncResult result) 4267protected override IAsyncResult BeginTryInput(TimeSpan timeout, AsyncCallback callback, object state) 4278public static void End(IAsyncResult result) 4283protected override bool EndTryInput(IAsyncResult result, out RequestContext item)
System\ServiceModel\Channels\ReliableChannelFactory.cs (4)
132protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 137protected override void OnEndOpen(IAsyncResult result) 151protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 172protected override void OnEndClose(IAsyncResult result)
System\ServiceModel\Channels\ReliableChannelListener.cs (48)
163protected virtual IAsyncResult BeginCloseInnerListener(TimeSpan timeout, AsyncCallback callback, object state) 176protected virtual void EndCloseInnerListener(IAsyncResult result) 193protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, 200protected override void OnEndClose(IAsyncResult result) 212protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, 231protected override void OnEndOpen(IAsyncResult result) 265public IAsyncResult OnReliableChannelBeginClose(UniqueId inputId, 272public void OnReliableChannelEndClose(IAsyncResult result) 340IAsyncResult result = this.parent.BeginCloseInnerListener( 361IAsyncResult result = this.baseBeginClose(timeout, 375bool CompleteInnerChannelListenerClose(IAsyncResult result) 383public static void End(IAsyncResult result) 388void OnBaseChannelListenerCloseComplete(IAsyncResult result) 410static void OnBaseChannelListenerCloseCompleteStatic(IAsyncResult result) 419void OnInnerChannelListenerCloseComplete(IAsyncResult result) 446static void OnInnerChannelListenerCloseCompleteStatic(IAsyncResult result) 480IAsyncResult result = this.channelListener.BeginCloseInnerListener(timeout, 490void CompleteInnerChannelListenerClose(IAsyncResult result) 501public static void End(IAsyncResult result) 506void OnInnerChannelListenerCloseComplete(IAsyncResult result) 528static void OnInnerChannelListenerCloseCompleteStatic(IAsyncResult result) 688void OnAcceptCompleted(IAsyncResult result) 736static void OnAcceptCompletedStatic(IAsyncResult result) 868IAsyncResult result = this.typedListener.BeginAcceptChannel(TimeSpan.MaxValue, onAcceptCompleted, this); 953IAsyncResult result = (IAsyncResult)state; 1052protected abstract IAsyncResult BeginTryReceiveItem(TInnerChannel channel, AsyncCallback callback, object state); 1054protected abstract void EndTryReceiveItem(TInnerChannel channel, IAsyncResult result, out TItem item); 1131void OnTryReceiveComplete(IAsyncResult result) 1173protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 1179protected override void OnEndOpen(IAsyncResult result) 1227protected override IAsyncResult BeginCloseInnerListener(TimeSpan timeout, AsyncCallback callback, object state) 1233protected override void EndCloseInnerListener(IAsyncResult result) 1249IAsyncResult result = this.BeginTryReceiveItem(channel, this.onTryReceiveComplete, channel); 1294protected override IAsyncResult BeginTryReceiveItem(IDuplexChannel channel, AsyncCallback callback, object state) 1304protected override void EndTryReceiveItem(IDuplexChannel channel, IAsyncResult result, out Message item) 1332protected override IAsyncResult BeginTryReceiveItem(IReplyChannel channel, AsyncCallback callback, object state) 1343protected override void EndTryReceiveItem(IReplyChannel channel, IAsyncResult result, out RequestContext item) 1382IAsyncResult result = (IAsyncResult)state; 1421protected abstract IAsyncResult BeginTryReceiveItem(TInnerChannel channel, AsyncCallback callback, object state); 1423protected abstract void EndTryReceiveItem(TInnerChannel channel, IAsyncResult result, out TItem item); 1503void OnReceiveComplete(IAsyncResult result) 1552IAsyncResult result = this.BeginTryReceiveItem(channel, this.onReceiveComplete, channel); 1586protected override IAsyncResult BeginTryReceiveItem(IDuplexSessionChannel channel, AsyncCallback callback, object state) 1596protected override void EndTryReceiveItem(IDuplexSessionChannel channel, IAsyncResult result, out Message item) 1624protected override IAsyncResult BeginTryReceiveItem(IReplySessionChannel channel, AsyncCallback callback, object state) 1635protected override void EndTryReceiveItem(IReplySessionChannel channel, IAsyncResult result, out RequestContext item)
System\ServiceModel\Channels\ReliableDuplexSessionChannel.cs (42)
114IAsyncResult BeginCloseBinder(TimeSpan timeout, AsyncCallback callback, 127IAsyncResult BeginCloseSequence(TimeSpan timeout, AsyncCallback callback, object state) 133void EndCloseSequence(IAsyncResult result) 205void EndCloseBinder(IAsyncResult result) 260IAsyncResult BeginInternalCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state) 278void EndInternalCloseOutputSession(IAsyncResult result) 748protected IAsyncResult OnBeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state) 778IAsyncResult result = this.BeginInternalCloseOutputSession(timeout, callback, 795protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 865protected override IAsyncResult OnBeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 870IAsyncResult OnBeginSendHandler(MessageAttemptInfo attemptInfo, TimeSpan timeout, bool maskUnhandledException, AsyncCallback callback, object state) 903IAsyncResult OnBeginSendAckRequestedHandler(TimeSpan timeout, AsyncCallback callback, object state) 1038protected override void OnEndClose(IAsyncResult result) 1043protected void OnEndCloseOutputSession(IAsyncResult result) 1072protected override void OnEndSend(IAsyncResult result) 1078void OnEndSendHandler(IAsyncResult result) 1097void OnEndSendAckRequestedHandler(IAsyncResult result) 1171static void OnReceiveCompletedStatic(IAsyncResult result) 1196IAsyncResult result = (IAsyncResult)state; 1215bool HandleReceiveComplete(IAsyncResult result) 1301IAsyncResult result = this.binder.BeginTryReceive(TimeSpan.MaxValue, onReceiveCompleted, this); 1349IAsyncResult BeginTerminateSequence(TimeSpan timeout, AsyncCallback callback, object state) 1375void EndTerminateSequence(IAsyncResult result) 1491void HandleReconnectComplete(IAsyncResult result) 1520protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 1527protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 1558protected override void OnEndOpen(IAsyncResult result) 1609static void OnReconnectComplete(IAsyncResult result) 1689IAsyncResult result = this.Binder.BeginSend(message, timeout, onReconnectComplete, this); 1732public IAsyncResult BeginCloseOutputSession(AsyncCallback callback, object state) 1737public IAsyncResult BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state) 1742public void EndCloseOutputSession(IAsyncResult result) 1797IAsyncResult BeginUnregisterChannel(TimeSpan timeout, AsyncCallback callback, object state) 1803void EndUnregisterChannel(IAsyncResult result) 1817protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, 1842protected override void OnEndClose(IAsyncResult result) 1851protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 1856protected override void OnEndOpen(IAsyncResult result) 1939public IAsyncResult BeginCloseOutputSession(AsyncCallback callback, object state) 1944public IAsyncResult BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state) 1949public void EndCloseOutputSession(IAsyncResult result)
System\ServiceModel\Channels\ReliableInputConnection.cs (2)
239public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 256public void EndClose(IAsyncResult result)
System\ServiceModel\Channels\ReliableInputSessionChannel.cs (17)
120IAsyncResult result = (IAsyncResult)state; 140static void OnReceiveCompletedStatic(IAsyncResult result) 163protected abstract bool HandleReceiveComplete(IAsyncResult result); 183IAsyncResult BeginCloseBinder(TimeSpan timeout, AsyncCallback callback, object state) 188protected virtual IAsyncResult BeginCloseGuards(TimeSpan timeout, AsyncCallback callback, object state) 193IAsyncResult BeginUnregisterChannel(TimeSpan timeout, AsyncCallback callback, object state) 231void EndCloseBinder(IAsyncResult result) 236protected virtual void EndCloseGuards(IAsyncResult result) 241void EndUnregisterChannel(IAsyncResult result) 279protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 337protected override void OnEndClose(IAsyncResult result) 364IAsyncResult result = this.Binder.BeginTryReceive(TimeSpan.MaxValue, onReceiveCompleted, this); 455protected override IAsyncResult BeginCloseGuards(TimeSpan timeout, AsyncCallback callback, object state) 465protected override void EndCloseGuards(IAsyncResult result) 470protected override bool HandleReceiveComplete(IAsyncResult result) 927protected override bool HandleReceiveComplete(IAsyncResult result)
System\ServiceModel\Channels\ReliableMessagingHelpers.cs (83)
16delegate void OperationEndCallback(IAsyncResult result); 17delegate IAsyncResult OperationWithTimeoutBeginCallback(TimeSpan timeout, AsyncCallback asyncCallback, object asyncState); 22public static IAsyncResult BeginComposeAsyncOperations( 29public static void EndComposeAsyncOperations(IAsyncResult result) 34public static TimeSpan RemainingTime(IAsyncResult result) 74internal static void End(IAsyncResult result) 79void OnOperationCompleted(IAsyncResult result) 131static void OnOperationCompletedStatic(IAsyncResult result) 176public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 238public void EndClose(IAsyncResult result) 478public IAsyncResult BeginWait(TimeSpan timeout, AsyncCallback callback, object state) 483public IAsyncResult BeginWait(TimeSpan timeout, bool throwTimeoutException, AsyncCallback callback, object state) 515public IAsyncResult BeginTryWait(TimeSpan timeout, AsyncCallback callback, object state) 520public void EndWait(IAsyncResult result) 525public bool EndTryWait(IAsyncResult result) 680public abstract IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state); 682public abstract void EndClose(IAsyncResult result); 748IAsyncResult result = binder.BeginClose(this.defaultCloseTimeout, this.onBinderCloseComplete, binder); 773public override IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 781protected abstract IAsyncResult BeginSendFault(IReliableChannelBinder binder, TState state, TimeSpan timeout, 793void CompleteBinderClose(IReliableChannelBinder binder, IAsyncResult result) 805void CompleteSendFault(IReliableChannelBinder binder, TState state, IAsyncResult result) 826public override void EndClose(IAsyncResult result) 836protected abstract void EndSendFault(IReliableChannelBinder binder, TState state, IAsyncResult result); 839void OnBinderCloseComplete(IAsyncResult result) 863void OnSendFaultComplete(IAsyncResult result) 920IAsyncResult result; 1059protected override IAsyncResult BeginSendFault(IReliableChannelBinder binder, FaultState faultState, 1065protected override void EndSendFault(IReliableChannelBinder binder, FaultState faultState, IAsyncResult result) 1094protected override IAsyncResult BeginSendFault(IReliableChannelBinder binder, Message message, 1100protected override void EndSendFault(IReliableChannelBinder binder, Message message, IAsyncResult result) 1127IAsyncResult result = OperationWithTimeoutComposer.BeginComposeAsyncOperations(timeoutHelper.RemainingTime(), 1139bool CompleteComposeAsyncOperations(IAsyncResult result) 1155public static void End(IAsyncResult result) 1160static void OnBinderCloseComplete(IAsyncResult result) 1185static void OnComposeAsyncOperationsComplete(IAsyncResult result) 1238IAsyncResult result = this.binder.BeginOpen(timeoutHelper.RemainingTime(), onBinderOpenComplete, this); 1265IAsyncResult result = this.binder.BeginClose(this.timeoutHelper.RemainingTime(), 1300bool CompleteBinderOpen(bool synchronous, IAsyncResult result) 1315public static void End(IAsyncResult result) 1320void OnBinderCloseComplete(IAsyncResult result) 1342static void OnBinderOpenComplete(IAsyncResult result) 1372static void OnSessionOpenComplete(IAsyncResult result) 1580protected abstract IAsyncResult OnBeginRequest(Message request, TimeSpan timeout, 1582protected abstract Message OnEndRequest(bool last, IAsyncResult result); 1643public IAsyncResult BeginRequest(TimeSpan timeout, AsyncCallback callback, object state) 1648public Message EndRequest(IAsyncResult result) 1702public static Message End(IAsyncResult result) 1708bool Request(IAsyncResult requestResult) 1777IAsyncResult waitResult = this.requestor.abortHandle.BeginWait( 1794static void RequestCallback(IAsyncResult result) 1825bool EndWait(IAsyncResult result) 1831static void WaitCallback(IAsyncResult result) 1912protected override IAsyncResult OnBeginRequest(Message request, TimeSpan timeout, AsyncCallback callback, object state) 1917protected override Message OnEndRequest(bool last, IAsyncResult result) 1972protected override IAsyncResult OnBeginRequest(Message request, TimeSpan timeout, AsyncCallback callback, object state) 1977protected override Message OnEndRequest(bool last, IAsyncResult result) 2013IAsyncResult sendResult = this.requestor.Binder.BeginSend(this.request, 2026public static Message End(IAsyncResult result) 2032bool EndSend(IAsyncResult result) 2037IAsyncResult tryReceiveResult = this.requestor.Binder.BeginTryReceive(receiveTimeout, 2050bool EndTryReceive(IAsyncResult result) 2058static void SendCallback(IAsyncResult result) 2089static void TryReceiveCallback(IAsyncResult result) 2186protected override IAsyncResult OnBeginRequest(Message request, TimeSpan timeout, AsyncCallback callback, object state) 2200protected override Message OnEndRequest(bool last, IAsyncResult result) 2206IAsyncResult BeginSend(TimeSpan timeout, AsyncCallback callback, object state) 2218void EndSend(IAsyncResult result) 2238IAsyncResult BeginWait(TimeSpan timeout, AsyncCallback callback, object state) 2244void EndWait(IAsyncResult result) 2335IAsyncResult operationResult = this.BeginOperation(timeout, operationCallback, this); 2357protected abstract IAsyncResult BeginOperation(TimeSpan timeout, AsyncCallback callback, object state); 2358protected abstract void EndOperation(IAsyncResult result); 2360static void OperationCallback(IAsyncResult result) 2413public static void End(IAsyncResult result) 2419public static void End(IAsyncResult result, out Exception handledException) 2425protected override IAsyncResult BeginOperation(TimeSpan timeout, AsyncCallback callback, 2431protected override void EndOperation(IAsyncResult result) 2456public static Message End(IAsyncResult result) 2462public static Message End(IAsyncResult result, out Exception handledException) 2469protected override IAsyncResult BeginOperation(TimeSpan timeout, AsyncCallback callback, 2475protected override void EndOperation(IAsyncResult result) 2515public static bool End(IAsyncResult result)
System\ServiceModel\Channels\ReliableOutputConnection.cs (20)
10delegate IAsyncResult BeginSendHandler(MessageAttemptInfo attemptInfo, TimeSpan timeout, bool maskUnhandledException, AsyncCallback asyncCallback, object state); 11delegate void EndSendHandler(IAsyncResult result); 184public IAsyncResult BeginAddMessage(Message message, TimeSpan timeout, object state, AsyncCallback callback, object asyncState) 189public bool EndAddMessage(IAsyncResult result) 194IAsyncResult BeginCompleteTransfer(TimeSpan timeout, AsyncCallback callback, object state) 220void EndCompleteTransfer(IAsyncResult result) 244public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 299void CompleteSendRetries(IAsyncResult result) 335void CompleteSendRetry(IAsyncResult result) 347public void EndClose(IAsyncResult result) 426IAsyncResult result = this.beginSendHandler(attemptInfo, this.sendTimeout, true, onSendRetryComplete, this); 435static void OnSendRetryComplete(IAsyncResult result) 456static void OnSendRetriesComplete(IAsyncResult result) 562IAsyncResult result = null; 637IAsyncResult result; 678static void AddComplete(IAsyncResult result) 704bool CompleteAdd(IAsyncResult result) 773void CompleteSend(IAsyncResult result) 790static void SendComplete(IAsyncResult result) 814public static bool End(IAsyncResult result)
System\ServiceModel\Channels\ReliableOutputSessionChannel.cs (28)
118IAsyncResult BeginCloseSequence(TimeSpan timeout, AsyncCallback callback, object state) 124void EndCloseSequence(IAsyncResult result) 225protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 249protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 255protected override IAsyncResult OnBeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 313protected abstract IAsyncResult OnConnectionBeginSend(MessageAttemptInfo attemptInfo, TimeSpan timeout, 315protected abstract void OnConnectionEndSend(IAsyncResult result); 327IAsyncResult OnConnectionBeginSendAckRequestedHandler(TimeSpan timeout, AsyncCallback callback, object state) 336void OnConnectionEndSendAckRequestedHandler(IAsyncResult result) 363IAsyncResult OnConnectionBeginSendHandler(MessageAttemptInfo attemptInfo, TimeSpan timeout, bool maskUnhandledException, AsyncCallback callback, object state) 382void OnConnectionEndSendHandler(IAsyncResult result) 391protected abstract IAsyncResult OnConnectionBeginSendMessage(Message message, TimeSpan timeout, 393protected abstract void OnConnectionEndSendMessage(IAsyncResult result); 405protected override void OnEndClose(IAsyncResult result) 410protected override void OnEndOpen(IAsyncResult result) 415protected override void OnEndSend(IAsyncResult result) 695IAsyncResult BeginTerminateSequence(TimeSpan timeout, AsyncCallback callback, object state) 716void EndTerminateSequence(IAsyncResult result) 824protected override IAsyncResult OnConnectionBeginSend(MessageAttemptInfo attemptInfo, 846protected override void OnConnectionEndSend(IAsyncResult result) 870protected override IAsyncResult OnConnectionBeginSendMessage(Message message, TimeSpan timeout, 882protected override void OnConnectionEndSendMessage(IAsyncResult result) 956protected override IAsyncResult OnConnectionBeginSend(MessageAttemptInfo attemptInfo, 978protected override void OnConnectionEndSend(IAsyncResult result) 994protected override IAsyncResult OnConnectionBeginSendMessage(Message message, TimeSpan timeout, 1006protected override void OnConnectionEndSendMessage(IAsyncResult result) 1036static void OnReceiveCompletedStatic(IAsyncResult result) 1054void OnReceiveCompleted(IAsyncResult result)
System\ServiceModel\Channels\ReliableReplySessionChannel.cs (29)
177IAsyncResult result = (IAsyncResult)state; 198IAsyncResult BeginCloseBinder(TimeSpan timeout, AsyncCallback callback, object state) 203IAsyncResult BeginCloseOutput(TimeSpan timeout, AsyncCallback callback, object state) 226IAsyncResult BeginUnregisterChannel(TimeSpan timeout, AsyncCallback callback, object state) 324void EndCloseBinder(IAsyncResult result) 329void EndCloseOutput(IAsyncResult result) 344void EndUnregisterChannel(IAsyncResult result) 374bool HandleReceiveComplete(IAsyncResult result) 432protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 525protected override void OnEndClose(IAsyncResult result) 539static void OnReceiveCompletedStatic(IAsyncResult result) 1235IAsyncResult result = this.binder.BeginTryReceive(TimeSpan.MaxValue, onReceiveCompleted, this); 1268IAsyncResult BeginTerminateSequence(TimeSpan timeout, AsyncCallback callback, object state) 1279void EndTerminateSequence(IAsyncResult result) 1402internal IAsyncResult BeginReplyInternal(Message reply, TimeSpan timeout, AsyncCallback callback, object state) 1447IAsyncResult result = new ReplyAsyncResult(this, timeout, callback, state); 1461internal void EndReplyInternal(IAsyncResult result) 1508protected override IAsyncResult OnBeginReply(Message reply, TimeSpan timeout, AsyncCallback callback, object state) 1520protected override void OnEndReply(IAsyncResult result) 1662public static void End(IAsyncResult result) 1667void HandleReplyComplete(IAsyncResult result) 1684static void ReplyCompleteStatic(IAsyncResult result) 1730IAsyncResult result = thisInnerContext.BeginReply(this.reply, this.timeoutHelper.RemainingTime(), replyCompleteStatic, this); 1803IAsyncResult BeginReply(TimeSpan timeout, AsyncCallback callback, object state) 1821IAsyncResult result = this.requestContext.BeginReply(this.asyncMessage, timeout, 1836void EndReply(IAsyncResult result) 1913internal IAsyncResult BeginWaitAndReply(TimeSpan timeout, AsyncCallback callback, object state) 1929internal void EndWaitAndReply(IAsyncResult result)
System\ServiceModel\Channels\ReliableRequestSessionChannel.cs (21)
77IAsyncResult BeginCloseBinder(TimeSpan timeout, AsyncCallback callback, object state) 82IAsyncResult BeginTerminateSequence(TimeSpan timeout, AsyncCallback callback, object state) 95IAsyncResult BeginCloseSequence(TimeSpan timeout, AsyncCallback callback, object state) 101void EndCloseSequence(IAsyncResult result) 170void EndCloseBinder(IAsyncResult result) 175void EndTerminateSequence(IAsyncResult result) 251protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 276protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 334IAsyncResult OnConnectionBeginSend(MessageAttemptInfo attemptInfo, TimeSpan timeout, 372void OnConnectionEndSend(IAsyncResult result) 454IAsyncResult OnConnectionBeginSendAckRequested(TimeSpan timeout, AsyncCallback callback, object state) 460void OnConnectionEndSendAckRequested(IAsyncResult result) 475protected override void OnEndClose(IAsyncResult result) 480protected override void OnEndOpen(IAsyncResult result) 528static void OnPollingComplete(IAsyncResult result) 539IAsyncResult result = this.BeginSendAckRequestedMessage(this.DefaultSendTimeout, MaskingMode.All, 771IAsyncResult BeginSendAckRequestedMessage(TimeSpan timeout, MaskingMode maskingMode, AsyncCallback callback, 784void EndSendAckRequestedMessage(IAsyncResult result) 850IAsyncResult BeginWaitForShutdown(TimeSpan timeout, AsyncCallback callback, object state) 866void EndWaitForShutdown(IAsyncResult result) 1085void AddCompleted(IAsyncResult result)
System\ServiceModel\Channels\ReplyAdapterChannelListener.cs (14)
39protected override IAsyncResult OnBeginAcceptChannel(TimeSpan timeout, AsyncCallback callback, object state) 44protected override TOuterChannel OnEndAcceptChannel(IAsyncResult result) 55protected override IAsyncResult OnBeginWaitForChannel(TimeSpan timeout, AsyncCallback callback, object state) 60protected override bool OnEndWaitForChannel(IAsyncResult result) 133public IAsyncResult BeginReceiveRequest(AsyncCallback callback, object state) 138public IAsyncResult BeginReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state) 143public RequestContext EndReceiveRequest(IAsyncResult result) 160public IAsyncResult BeginTryReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state) 165public bool EndTryReceiveRequest(IAsyncResult result, out RequestContext context) 182public IAsyncResult BeginWaitForRequest(TimeSpan timeout, AsyncCallback callback, object state) 187public bool EndWaitForRequest(IAsyncResult result) 259public override IAsyncResult BeginReply(Message message, AsyncCallback callback, object state) 264public override IAsyncResult BeginReply(Message message, TimeSpan timeout, AsyncCallback callback, object state) 270public override void EndReply(IAsyncResult result)
System\ServiceModel\Channels\ReplyChannel.cs (15)
42protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 47protected override void OnEndOpen(IAsyncResult result) 71internal static IAsyncResult HelpBeginReceiveRequest(IReplyChannel channel, TimeSpan timeout, AsyncCallback callback, object state) 76internal static RequestContext HelpEndReceiveRequest(IAsyncResult result) 93IAsyncResult result = channel.BeginTryReceiveRequest(timeout, onReceiveRequest, this); 104public static RequestContext End(IAsyncResult result) 110void HandleReceiveRequestComplete(IAsyncResult result) 119static void OnReceiveRequest(IAsyncResult result) 176public IAsyncResult BeginReceiveRequest(AsyncCallback callback, object state) 181public IAsyncResult BeginReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state) 193public RequestContext EndReceiveRequest(IAsyncResult result) 208public IAsyncResult BeginTryReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state) 218public bool EndTryReceiveRequest(IAsyncResult result, out RequestContext context) 233public IAsyncResult BeginWaitForRequest(TimeSpan timeout, AsyncCallback callback, object state) 243public bool EndWaitForRequest(IAsyncResult result)
System\ServiceModel\Channels\RequestChannel.cs (6)
76protected IAsyncResult BeginWaitForPendingRequests(TimeSpan timeout, AsyncCallback callback, object state) 82protected void EndWaitForPendingRequests(IAsyncResult result) 212public IAsyncResult BeginRequest(Message message, AsyncCallback callback, object state) 217public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state) 252public Message EndRequest(IAsyncResult result) 431public static void End(IAsyncResult result)
System\ServiceModel\Channels\RequestContext.cs (3)
19public abstract IAsyncResult BeginReply(Message message, AsyncCallback callback, object state); 20public abstract IAsyncResult BeginReply(Message message, TimeSpan timeout, AsyncCallback callback, object state); 21public abstract void EndReply(IAsyncResult result);
System\ServiceModel\Channels\RequestContextBase.cs (5)
195protected abstract IAsyncResult OnBeginReply(Message message, TimeSpan timeout, AsyncCallback callback, object state); 196protected abstract void OnEndReply(IAsyncResult result); 232public override IAsyncResult BeginReply(Message message, AsyncCallback callback, object state) 237public override IAsyncResult BeginReply(Message message, TimeSpan timeout, AsyncCallback callback, object state) 249public override void EndReply(IAsyncResult result)
System\ServiceModel\Channels\SecurityChannelFactory.cs (27)
157protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 179protected override void OnEndClose(IAsyncResult result) 259protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 264protected override void OnEndOpen(IAsyncResult result) 356protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 363protected override void OnEndOpen(IAsyncResult result) 444internal static void End(IAsyncResult result) 452IAsyncResult result = securityProtocol.BeginOpen(timeoutHelper.RemainingTime(), openSecurityProtocolCallback, this); 461static void OpenSecurityProtocolCallback(IAsyncResult result) 497IAsyncResult result = this.clientChannel.InnerChannel.BeginOpen(this.timeoutHelper.RemainingTime(), openInnerChannelCallback, this); 506static void OpenInnerChannelCallback(IAsyncResult result) 547public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state) 552public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 559public void EndSend(IAsyncResult result) 602public IAsyncResult BeginRequest(Message message, AsyncCallback callback, object state) 607public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state) 614public Message EndRequest(IAsyncResult result) 739public IAsyncResult BeginReceive(AsyncCallback callback, object state) 744public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state) 749public Message EndReceive(IAsyncResult result) 754public virtual IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 767public virtual bool EndTryReceive(IAsyncResult result, out Message message) 832public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state) 837public bool EndWaitForMessage(IAsyncResult result) 877protected override IAsyncResult BeginSendCore(IRequestChannel channel, Message message, TimeSpan timeout, AsyncCallback callback, object state) 882internal static Message End(IAsyncResult result) 889protected override void EndSendCore(IRequestChannel channel, IAsyncResult result)
System\ServiceModel\Channels\SecurityChannelListener.cs (70)
229protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 242protected override void OnEndClose(IAsyncResult result) 247IAsyncResult OnBeginCloseSharedState(TimeSpan timeout, AsyncCallback callback, object state) 252void OnEndCloseSharedState(IAsyncResult result) 257internal IAsyncResult OnBeginOpenListenerState(TimeSpan timeout, AsyncCallback callback, object state) 262internal void OnEndOpenListenerState(IAsyncResult result) 267protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 275protected override void OnEndOpen(IAsyncResult result) 548IAsyncResult result = this.securityListener.settingsLifetimeManager.BeginClose(timeout, lifetimeManagerCloseCallback, this); 559static void LifetimeManagerCloseCallback(IAsyncResult result) 580public static void End(IAsyncResult result) 612IAsyncResult result = this.securityListener.settingsLifetimeManager.BeginOpen(timeout, lifetimeManagerOpenCallback, this); 622static void LifetimeManagerOpenCallback(IAsyncResult result) 643public static void End(IAsyncResult result) 694protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 701protected override void OnEndOpen(IAsyncResult result) 756protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 761protected override void OnEndClose(IAsyncResult result) 766IAsyncResult OnBeginCloseSharedState(TimeSpan timeout, AsyncCallback callback, object state) 771void OnEndCloseSharedState(IAsyncResult result) 855IAsyncResult result = this.securityChannel.settingsLifetimeManager.BeginClose(timeout, lifetimeManagerCloseCallback, this); 866static void LifetimeManagerCloseCallback(IAsyncResult result) 887public static void End(IAsyncResult result) 916public IAsyncResult BeginReceive(AsyncCallback callback, object state) 921public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state) 926public Message EndReceive(IAsyncResult result) 931public virtual IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 941public virtual bool EndTryReceive(IAsyncResult result, out Message message) 997public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state) 1002public bool EndWaitForMessage(IAsyncResult result) 1046public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state) 1051public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 1058public void EndSend(IAsyncResult result) 1176public override IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 1186public override bool EndTryReceive(IAsyncResult result, out Message message) 1228public IAsyncResult BeginReceiveRequest(AsyncCallback callback, object state) 1233public IAsyncResult BeginReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state) 1238public RequestContext EndReceiveRequest(IAsyncResult result) 1243public IAsyncResult BeginTryReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state) 1253public bool EndTryReceiveRequest(IAsyncResult result, out RequestContext requestContext) 1370public IAsyncResult BeginWaitForRequest(TimeSpan timeout, AsyncCallback callback, object state) 1375public bool EndWaitForRequest(IAsyncResult result) 1420protected override IAsyncResult OnBeginReply(Message message, TimeSpan timeout, AsyncCallback callback, object state) 1433protected override void OnEndReply(IAsyncResult result) 1464protected override IAsyncResult BeginSendCore(RequestContext context, Message message, TimeSpan timeout, AsyncCallback callback, object state) 1469internal static void End(IAsyncResult result) 1475protected override void EndSendCore(RequestContext context, IAsyncResult result) 1542protected abstract IAsyncResult BeginTryReceiveItem(TimeSpan timeout, AsyncCallback callback, object state); 1543protected abstract bool EndTryReceiveItem(IAsyncResult result, out TItem innerItem); 1546protected abstract IAsyncResult BeginSendFault(TItem innerItem, Message faultMessage, TimeSpan timeout, AsyncCallback callback, object state); 1547protected abstract void EndSendFault(TItem innerItem, IAsyncResult result); 1563IAsyncResult asyncResult = BeginTryReceiveItem(timeoutHelper.RemainingTime(), innerTryReceiveCompletedCallback, this); 1592static void InnerTryReceiveCompletedCallback(IAsyncResult result) 1695IAsyncResult result = this.BeginSendFault(this.innerItem, faultMessage, this.timeoutHelper.RemainingTime(), Fx.ThunkCallback(new AsyncCallback(SendFaultCallback)), e); 1732void SendFaultCallback(IAsyncResult result) 1828protected override IAsyncResult BeginTryReceiveItem(TimeSpan timeout, AsyncCallback callback, object state) 1833protected override bool EndTryReceiveItem(IAsyncResult result, out RequestContext innerItem) 1852protected override IAsyncResult BeginSendFault(RequestContext innerItem, Message faultMessage, TimeSpan timeout, AsyncCallback callback, object state) 1857protected override void EndSendFault(RequestContext innerItem, IAsyncResult result) 1862public static bool End(IAsyncResult result, out RequestContext requestContext) 1911protected override IAsyncResult BeginTryReceiveItem(TimeSpan timeout, AsyncCallback callback, object state) 1916protected override bool EndTryReceiveItem(IAsyncResult result, out Message innerItem) 1940protected override IAsyncResult BeginSendFault(Message innerItem, Message faultMessage, TimeSpan timeout, AsyncCallback callback, object state) 1945protected override void EndSendFault(Message innerItem, IAsyncResult result) 1950public static bool End(IAsyncResult result, out Message message) 2005protected override IAsyncResult BeginTryReceiveItem(TimeSpan timeout, AsyncCallback callback, object state) 2010protected override bool EndTryReceiveItem(IAsyncResult result, out Message innerItem) 2031protected override IAsyncResult BeginSendFault(Message innerItem, Message faultMessage, TimeSpan timeout, AsyncCallback callback, object state) 2036protected override void EndSendFault(Message innerItem, IAsyncResult result) 2041public static bool End(IAsyncResult result, out Message message)
System\ServiceModel\Channels\ServerReliableChannelBinder.cs (30)
143protected override IAsyncResult BeginTryGetChannel(TimeSpan timeout, 149public IAsyncResult BeginWaitForRequest(TimeSpan timeout, AsyncCallback callback, 167bool CompleteAcceptChannel(IAsyncResult result) 256protected override bool EndTryGetChannel(IAsyncResult result) 287public bool EndWaitForRequest(IAsyncResult result) 335void OnAcceptChannelComplete(IAsyncResult result) 381static void OnAcceptChannelCompleteStatic(IAsyncResult result) 392protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, 405protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, 418protected abstract IAsyncResult OnBeginWaitForRequest(TChannel channel, TimeSpan timeout, 446protected override void OnEndClose(IAsyncResult result) 458protected override void OnEndOpen(IAsyncResult result) 471protected abstract bool OnEndWaitForRequest(TChannel channel, IAsyncResult result); 494IAsyncResult result = this.listener.BeginAcceptChannel(TimeSpan.MaxValue, 698protected override IAsyncResult OnBeginSend(TDuplexChannel channel, Message message, 704protected override IAsyncResult OnBeginTryReceive(TDuplexChannel channel, 710protected override IAsyncResult OnBeginWaitForRequest(TDuplexChannel channel, 716protected override void OnEndSend(TDuplexChannel channel, IAsyncResult result) 721protected override bool OnEndTryReceive(TDuplexChannel channel, IAsyncResult result, 735IAsyncResult result) 839protected override IAsyncResult BeginCloseChannel(IDuplexSessionChannel channel, 852IAsyncResult result) 911protected override IAsyncResult OnBeginTryReceive(TReplyChannel channel, 917protected override IAsyncResult OnBeginWaitForRequest(TReplyChannel channel, 923protected override bool OnEndTryReceive(TReplyChannel channel, IAsyncResult result, 935protected override bool OnEndWaitForRequest(TReplyChannel channel, IAsyncResult result) 1029protected override IAsyncResult BeginCloseChannel(IReplySessionChannel channel, 1042IAsyncResult result) 1074protected override IAsyncResult BeginInput( 1082TChannel channel, IAsyncResult result, out bool complete)
System\ServiceModel\Channels\ServerWebSocketTransportDuplexSessionChannel.cs (2)
110protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 120protected override void OnEndOpen(IAsyncResult result)
System\ServiceModel\Channels\ServiceChannel.cs (42)
500IAsyncResult BeginEnsureDisplayUI(AsyncCallback callback, object state) 513void EndEnsureDisplayUI(IAsyncResult result) 539IAsyncResult BeginEnsureOpened(TimeSpan timeout, AsyncCallback callback, object state) 555void EndEnsureOpened(IAsyncResult result) 729internal static IAsyncResult BeginCall(ServiceChannel channel, ProxyOperationRuntime operation, object[] ins, AsyncCallback callback, object asyncState) 736internal IAsyncResult BeginCall(string action, bool oneway, ProxyOperationRuntime operation, object[] ins, AsyncCallback callback, object asyncState) 741internal IAsyncResult BeginCall(string action, bool oneway, ProxyOperationRuntime operation, object[] ins, TimeSpan timeout, AsyncCallback callback, object asyncState) 845internal object EndCall(string action, object[] outs, IAsyncResult result) 1284public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state) 1289public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 1295public void EndSend(IAsyncResult result) 1311public IAsyncResult BeginRequest(Message message, AsyncCallback callback, object state) 1316public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state) 1322public Message EndRequest(IAsyncResult result) 1363protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 1402protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 1465protected override void OnEndClose(IAsyncResult result) 1493protected override void OnEndOpen(IAsyncResult result) 1626IAsyncResult IDuplexContextChannel.BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state) 1631void IDuplexContextChannel.EndCloseOutputSession(IAsyncResult result) 1784public IAsyncResult BeginDisplayInitializationUI(AsyncCallback callback, object state) 1796public void EndDisplayInitializationUI(IAsyncResult result) 1926IAsyncResult result = this.Rpc.Channel.BeginEnsureDisplayUI(ensureInteractiveInitCallback, this); 1934static void EnsureInteractiveInitCallback(IAsyncResult result) 1942void FinishEnsureInteractiveInit(IAsyncResult result, bool completedSynchronously) 1972IAsyncResult result = null; 1998static void EnsureOpenCallback(IAsyncResult result) 2006void FinishEnsureOpen(IAsyncResult result, bool completedSynchronously) 2038IAsyncResult result = null; 2082static void SendCallback(IAsyncResult result) 2090void FinishSend(IAsyncResult result, bool completedSynchronously) 2150IAsyncResult BeginCall(ServiceChannel channel, TimeSpan timeout, AsyncCallback callback, object state); 2151void EndCall(ServiceChannel channel, IAsyncResult result); 2185IAsyncResult ICallOnce.BeginCall(ServiceChannel channel, TimeSpan timeout, AsyncCallback callback, object state) 2191void ICallOnce.EndCall(ServiceChannel channel, IAsyncResult result) 2218IAsyncResult ICallOnce.BeginCall(ServiceChannel channel, TimeSpan timeout, AsyncCallback callback, object state) 2223void ICallOnce.EndCall(ServiceChannel channel, IAsyncResult result) 2299internal IAsyncResult BeginCallOnce(TimeSpan timeout, CallOnceManager cascade, 2332IAsyncResult result = this.callOnce.BeginCall(this.channel, timeout, callback, state); 2354internal void EndCallOnce(IAsyncResult result) 2522internal static void End(IAsyncResult result) 2564static internal void End(IAsyncResult result)
System\ServiceModel\Channels\ServiceChannelFactory.cs (6)
275protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 287protected override void OnEndClose(IAsyncResult result) 453protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 458protected override void OnEndOpen(IAsyncResult result) 470protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 476protected override void OnEndClose(IAsyncResult result)
System\ServiceModel\Channels\ServiceChannelProxy.cs (4)
209static readonly Func<ServiceChannel, ProxyOperationRuntime, object[], AsyncCallback, object, IAsyncResult> beginCallDelegate = ServiceChannel.BeginCall; 254Action<IAsyncResult> endCallDelegate = (asyncResult) => 274Func<IAsyncResult, T> endCallDelegate = (asyncResult) => 348IAsyncResult result;
System\ServiceModel\Channels\SessionConnectionReader.cs (9)
182IAsyncResult result = this.Connection.BeginValidate(this.via, onValidate, this); 231bool VerifyValidationResult(IAsyncResult result) 236static void OnValidate(IAsyncResult result) 592protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 597protected override void OnEndOpen(IAsyncResult result) 700public static void End(IAsyncResult result) 814IAsyncResult upgradeConnectionResult = InitialServerConnectionReader.BeginUpgradeConnection( 837bool HandleUpgradeConnectionComplete(IAsyncResult result) 913static void OnUpgradeConnection(IAsyncResult result)
System\ServiceModel\Channels\SharedConnectionListener.cs (14)
72IAsyncResult IConnectionListener.BeginAccept(AsyncCallback callback, object state) 192IConnection IConnectionListener.EndAccept(IAsyncResult result) 767IAsyncResult BeginValidateUriRoute(Uri uri, IPAddress address, int port, AsyncCallback callback, object state) 773bool EndValidateUriRoute(IAsyncResult result) 895IAsyncResult asyncResult = ((IConnectionRegisterAsync)this.proxy.controlSessionWithListener).BeginValidateUriRoute(uri, address, port, onValidateUriRoute, this); 935static void OnValidateUriRoute(IAsyncResult result) 972bool HandleValidateUriRoute(IAsyncResult result, out bool isValidUriRoute) 1021public override IAsyncResult BeginValidate(Uri uri, AsyncCallback callback, object state) 1032public override bool EndValidate(IAsyncResult result) 1061public override IAsyncResult BeginValidate(Uri uri, AsyncCallback callback, object state) 1072public override bool EndValidate(IAsyncResult result) 1371IAsyncResult IConnectionDuplicator.BeginDuplicate(DuplicateContext duplicateContext, AsyncCallback callback, object state) 1401void IConnectionDuplicator.EndDuplicate(IAsyncResult result) 1485public static void End(IAsyncResult result)
System\ServiceModel\Channels\SharedHttpTransportManager.cs (12)
117IAsyncResult BeginGetContext(bool startListening) 178IAsyncResult BeginGetContextCore(EventTraceActivity eventTraceActivity) 191void OnGetContext(IAsyncResult result) 203OnGetContextCore((IAsyncResult)state); 206void OnGetContextCore(IAsyncResult listenerContextResult) 257bool EnqueueContext(IAsyncResult listenerContextResult) 310IAsyncResult httpContextReceivedResult = channelListener.BeginHttpContextReceived(context, 345void HandleHttpContextReceived(IAsyncResult httpContextReceivedResult) 383IAsyncResult listenerContextResult = null; 397static bool EndHttpContextReceived(IAsyncResult httpContextReceivedResult) 460IAsyncResult result = this.BeginGetContext(true); 496IAsyncResult result = this.BeginGetContext(false);
System\ServiceModel\Channels\SingletonChannelAcceptor.cs (1)
31public override IAsyncResult BeginAcceptChannel(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\SingletonConnectionReader.cs (21)
152IAsyncResult result = this.Connection.BeginValidate(this.via, onValidate, this); 202bool VerifyValidationResult(IAsyncResult result) 207static void OnValidate(IAsyncResult result) 299public IAsyncResult BeginCompletePreamble(TimeSpan timeout, AsyncCallback callback, object state) 304public IConnection EndCompletePreamble(IAsyncResult result) 430bool ContinueWork(IAsyncResult upgradeAsyncResult) 592bool BeginUpgrade(out IAsyncResult upgradeAsyncResult) 605void EndUpgrade(IAsyncResult upgradeAsyncResult) 759static void OnUpgradeComplete(IAsyncResult result) 1178public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state) 1183public virtual Message EndReceive(IAsyncResult result) 1283public static Message End(IAsyncResult result) 1349protected override IAsyncResult OnBeginReply(Message message, TimeSpan timeout, AsyncCallback callback, object state) 1362protected override void OnEndReply(IAsyncResult result) 1573public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object state) 1578public override int EndRead(IAsyncResult result) 1599public static int End(IAsyncResult result) 1661public static IAsyncResult BeginWriteMessage(Message message, IConnection connection, bool isRequest, 1668public static void EndWriteMessage(IAsyncResult result) 1692public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state) 1825public static void End(IAsyncResult result)
System\ServiceModel\Channels\SocketConnection.cs (13)
262static void OnReceiveCompleted(IAsyncResult result) 671public IAsyncResult BeginValidate(Uri uri, AsyncCallback callback, object state) 676public bool EndValidate(IAsyncResult result) 1172IAsyncResult result = socket.BeginReceive(AsyncReadBuffer, offset, size, SocketFlags.None, onReceiveCompleted, this); 1260void OnReceive(IAsyncResult result) 1751public IAsyncResult BeginConnect(Uri uri, TimeSpan timeout, AsyncCallback callback, object state) 1762public IConnection EndConnect(IAsyncResult result) 1878IAsyncResult result = socket.BeginConnect(ipEndPoint, onConnect, this); 1914static void OnConnect(IAsyncResult result) 1956public static Socket End(IAsyncResult result) 2007public IAsyncResult BeginAccept(AsyncCallback callback, object state) 2047public IConnection EndAccept(IAsyncResult result) 2380public static Socket End(IAsyncResult result)
System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (51)
272protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 277protected override void OnEndClose(IAsyncResult result) 322protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 327protected override void OnEndOpen(IAsyncResult result) 352IAsyncResult result = SecurityUtils.BeginOpenTokenAuthenticatorIfRequired(parent.ClientCertificateAuthenticator, 366public static void End(IAsyncResult result) 371bool HandleOpenAuthenticatorComplete(IAsyncResult result) 381IAsyncResult openTokenProviderResult = SecurityUtils.BeginOpenTokenProviderIfRequired( 392bool HandleOpenTokenProviderComplete(IAsyncResult result) 397IAsyncResult getTokenResult = parent.serverTokenProvider.BeginGetToken(timeoutHelper.RemainingTime(), 408bool HandleGetTokenComplete(IAsyncResult result) 413IAsyncResult closeTokenProviderResult = 425bool HandleCloseTokenProviderComplete(IAsyncResult result) 432void OnOpenTokenAuthenticator(IAsyncResult result) 463void OnOpenTokenProvider(IAsyncResult result) 494void OnGetToken(IAsyncResult result) 525void OnCloseTokenProvider(IAsyncResult result) 630protected override IAsyncResult OnBeginAcceptUpgrade(Stream stream, AsyncCallback callback, object state) 637protected override Stream OnEndAcceptUpgrade(IAsyncResult result, out SecurityMessageProperty remoteSecurity) 708protected override IAsyncResult OnBegin(Stream stream, AsyncCallback callback) 720protected override Stream OnCompleteAuthenticateAsServer(IAsyncResult result) 742public static Stream End(IAsyncResult result, out SecurityMessageProperty remoteSecurity, out ChannelBinding channelBinding) 826IAsyncResult BaseBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 831void BaseEndOpen(IAsyncResult result) 836internal override IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 841internal override void EndOpen(IAsyncResult result) 857IAsyncResult BaseBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 862void BaseEndClose(IAsyncResult result) 867internal override IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 872internal override void EndClose(IAsyncResult result) 887protected override IAsyncResult OnBeginInitiateUpgrade(Stream stream, AsyncCallback callback, object state) 899protected override Stream OnEndInitiateUpgrade(IAsyncResult result, 1001protected override IAsyncResult OnBeginAuthenticateAsClient(Stream stream, AsyncCallback callback) 1018protected override Stream OnCompleteAuthenticateAsClient(IAsyncResult result) 1048public static Stream End(IAsyncResult result, out SecurityMessageProperty remoteSecurity, out ChannelBinding channelBinding) 1078IAsyncResult result = parent.BaseBeginOpen(timeoutHelper.RemainingTime(), onBaseOpen, this); 1091public static void End(IAsyncResult result) 1096bool HandleBaseOpenComplete(IAsyncResult result) 1104IAsyncResult openTokenProviderResult = SecurityUtils.BeginOpenTokenProviderIfRequired( 1115bool HandleOpenTokenProviderComplete(IAsyncResult result) 1118IAsyncResult getTokenResult = parent.clientCertificateProvider.BeginGetToken(timeoutHelper.RemainingTime(), 1129bool HandleGetTokenComplete(IAsyncResult result) 1135void OnBaseOpen(IAsyncResult result) 1166void OnOpenTokenProvider(IAsyncResult result) 1197void OnGetClientToken(IAsyncResult result) 1249IAsyncResult result = parent.BaseBeginClose(timeoutHelper.RemainingTime(), onBaseClose, this); 1262public static void End(IAsyncResult result) 1267bool HandleBaseCloseComplete(IAsyncResult result) 1275IAsyncResult closeTokenProviderResult = SecurityUtils.BeginCloseTokenProviderIfRequired( 1287void OnBaseClose(IAsyncResult result) 1318void OnCloseTokenProvider(IAsyncResult result)
System\ServiceModel\Channels\StreamedFramingRequestChannel.cs (21)
40protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 45protected override void OnEndOpen(IAsyncResult result) 144protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 149protected override void OnEndClose(IAsyncResult result) 188protected override IAsyncResult BeginAcceptPooledConnection(IConnection connection, ref TimeoutHelper timeoutHelper, AsyncCallback callback, object state) 194protected override IConnection EndAcceptPooledConnection(IAsyncResult result) 237public static IConnection End(IAsyncResult result, out SecurityMessageProperty remoteSecurity) 261IAsyncResult initiateUpgradeResult = ConnectionUpgradeHelper.BeginInitiateUpgrade(channel.settings, channel.RemoteAddress, 273bool HandleUpgrade(IAsyncResult result) 325IAsyncResult decodeFaultResult = ConnectionUpgradeHelper.BeginDecodeFramingFault(decoder, 426static void OnUpgrade(IAsyncResult result) 459static void OnFailedUpgrade(IAsyncResult result) 647IAsyncResult result = connectionPoolHelper.BeginEstablishConnection(timeoutHelper.RemainingTime(), onEstablishConnection, this); 675bool HandleEstablishConnection(IAsyncResult result) 681IAsyncResult writeResult = StreamingConnectionHelper.BeginWriteMessage(this.message, this.connection, true, this.channel.settings, ref timeoutHelper, onWriteMessage, this); 719bool HandleWriteMessage(IAsyncResult result) 727IAsyncResult receiveResult = connectionReader.BeginReceive(timeoutHelper.RemainingTime(), onReceiveReply, this); 737bool CompleteReceiveReply(IAsyncResult result) 749static void OnEstablishConnection(IAsyncResult result) 791static void OnWriteMessage(IAsyncResult result) 833static void OnReceiveReply(IAsyncResult result)
System\ServiceModel\Channels\StreamSecurityUpgradeAcceptorAsyncResult.cs (6)
26IAsyncResult result; 51void CompleteAuthenticateAsServer(IAsyncResult result) 71public static Stream End(IAsyncResult result, out SecurityMessageProperty remoteSecurity) 78static void OnAuthenticateAsServer(IAsyncResult result) 105protected abstract IAsyncResult OnBegin(Stream stream, AsyncCallback callback); 106protected abstract Stream OnCompleteAuthenticateAsServer(IAsyncResult result);
System\ServiceModel\Channels\StreamSecurityUpgradeAcceptorBase.cs (4)
46public override IAsyncResult BeginAcceptUpgrade(Stream stream, AsyncCallback callback, object state) 66public override Stream EndAcceptUpgrade(IAsyncResult result) 84protected abstract IAsyncResult OnBeginAcceptUpgrade(Stream stream, AsyncCallback callback, object state); 85protected abstract Stream OnEndAcceptUpgrade(IAsyncResult result,
System\ServiceModel\Channels\StreamSecurityUpgradeInitiatorAsyncResult.cs (6)
28IAsyncResult result; 54void CompleteAuthenticateAsClient(IAsyncResult result) 74public static Stream End(IAsyncResult result, out SecurityMessageProperty remoteSecurity) 81static void OnAuthenticateAsClient(IAsyncResult result) 109protected abstract IAsyncResult OnBeginAuthenticateAsClient(Stream stream, AsyncCallback callback); 110protected abstract Stream OnCompleteAuthenticateAsClient(IAsyncResult result);
System\ServiceModel\Channels\StreamSecurityUpgradeInitiatorBase.cs (6)
42public override IAsyncResult BeginInitiateUpgrade(Stream stream, AsyncCallback callback, object state) 57public override Stream EndInitiateUpgrade(IAsyncResult result) 102internal override void EndOpen(IAsyncResult result) 114internal override void EndClose(IAsyncResult result) 126protected abstract IAsyncResult OnBeginInitiateUpgrade(Stream stream, AsyncCallback callback, object state); 127protected abstract Stream OnEndInitiateUpgrade(IAsyncResult result,
System\ServiceModel\Channels\StreamUpgradeAcceptor.cs (2)
21public abstract IAsyncResult BeginAcceptUpgrade(Stream stream, AsyncCallback callback, object state); 22public abstract Stream EndAcceptUpgrade(IAsyncResult result);
System\ServiceModel\Channels\StreamUpgradeInitiator.cs (6)
18public abstract IAsyncResult BeginInitiateUpgrade(Stream stream, AsyncCallback callback, object state); 19public abstract Stream EndInitiateUpgrade(IAsyncResult result); 21internal virtual IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 26internal virtual void EndOpen(IAsyncResult result) 31internal virtual IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 36internal virtual void EndClose(IAsyncResult result)
System\ServiceModel\Channels\SynchronizedMessageSource.cs (5)
22public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state) 27public bool EndWaitForMessage(IAsyncResult result) 52public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state) 57public Message EndReceive(IAsyncResult result) 155public static T End(IAsyncResult result)
System\ServiceModel\Channels\TcpChannelListener.cs (9)
40protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 45protected override void OnEndOpen(IAsyncResult result) 57protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 62protected override void OnEndClose(IAsyncResult result) 78public IAsyncResult BeginAcceptChannel(AsyncCallback callback, object state) 89public IAsyncResult BeginAcceptChannel(TimeSpan timeout, AsyncCallback callback, object state) 95public TChannel EndAcceptChannel(IAsyncResult result) 106protected override IAsyncResult OnBeginWaitForChannel(TimeSpan timeout, AsyncCallback callback, object state) 111protected override bool OnEndWaitForChannel(IAsyncResult result)
System\ServiceModel\Channels\TextMessageEncoder.cs (6)
549public override IAsyncResult BeginWriteMessage(Message message, Stream stream, AsyncCallback callback, object state) 562public override void EndWriteMessage(IAsyncResult result) 595IAsyncResult result = message.BeginWriteMessage(this.xmlWriter, PrepareAsyncCompletion(onWriteMessage), this); 602static bool OnWriteMessage(IAsyncResult result) 608bool HandleWriteMessage(IAsyncResult result) 631public static void End(IAsyncResult result)
System\ServiceModel\Channels\TimeoutStream.cs (2)
34public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object state) 40public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
System\ServiceModel\Channels\TracingConnectionInitiator.cs (2)
44public IAsyncResult BeginConnect(Uri uri, TimeSpan timeout, AsyncCallback callback, object state) 53public IConnection EndConnect(IAsyncResult result)
System\ServiceModel\Channels\TracingConnectionListener.cs (2)
67public IAsyncResult BeginAccept(AsyncCallback callback, object state) 75public IConnection EndAccept(IAsyncResult result)
System\ServiceModel\Channels\TransactionChannelFactory.cs (6)
241public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state) 246public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback asyncCallback, object state) 254public void EndSend(IAsyncResult result) 298public IAsyncResult BeginRequest(Message message, AsyncCallback callback, object state) 303public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback asyncCallback, object state) 310public Message EndRequest(IAsyncResult result)
System\ServiceModel\Channels\TransactionChannelListener.cs (22)
203protected override IAsyncResult OnBeginReply(Message message, TimeSpan timeout, AsyncCallback callback, object state) 228protected override void OnEndReply(IAsyncResult result) 288public IAsyncResult BeginReceive(AsyncCallback callback, object state) 293public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state) 298public Message EndReceive(IAsyncResult result) 303public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 308public virtual bool EndTryReceive(IAsyncResult asyncResult, out Message message) 343public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state) 348public bool EndWaitForMessage(IAsyncResult result) 383public IAsyncResult BeginReceiveRequest(AsyncCallback callback, object state) 388public IAsyncResult BeginReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state) 393public RequestContext EndReceiveRequest(IAsyncResult result) 398public IAsyncResult BeginTryReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state) 433public bool EndTryReceiveRequest(IAsyncResult asyncResult, out RequestContext requestContext) 477public IAsyncResult BeginWaitForRequest(TimeSpan timeout, AsyncCallback callback, object state) 482public bool EndWaitForRequest(IAsyncResult result) 561public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state) 566public virtual IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback asyncCallback, object state) 573public void EndSend(IAsyncResult result) 599IAsyncResult innerResult; 623internal IAsyncResult InnerResult 655static void Callback(IAsyncResult result)
System\ServiceModel\Channels\TransmissionStrategy.cs (6)
256public IAsyncResult BeginAdd(Message message, TimeSpan timeout, object state, AsyncCallback callback, object asyncState) 261public IAsyncResult BeginAddLast(Message message, TimeSpan timeout, object state, AsyncCallback callback, object asyncState) 326public bool EndAdd(IAsyncResult result, out MessageAttemptInfo attemptInfo) 331public MessageAttemptInfo EndAddLast(IAsyncResult result) 500IAsyncResult InternalBeginAdd(Message message, bool isLast, TimeSpan timeout, object state, AsyncCallback callback, object asyncState) 535bool InternalEndAdd(IAsyncResult result, out MessageAttemptInfo attemptInfo)
System\ServiceModel\Channels\TransportChannelFactory.cs (1)
141protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\TransportChannelListener.cs (4)
414protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 421protected override void OnEndOpen(IAsyncResult result) 452protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 457protected override void OnEndClose(IAsyncResult result)
System\ServiceModel\Channels\TransportDuplexSessionChannel.cs (31)
140public IAsyncResult BeginReceive(AsyncCallback callback, object state) 145public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state) 155IAsyncResult result = this.messageSource.BeginReceive(timeout, callback, state); 170public Message EndReceive(IAsyncResult result) 209public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 214public bool EndTryReceive(IAsyncResult result, out Message message) 263public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state) 273IAsyncResult result = this.messageSource.BeginWaitForMessage(timeout, callback, state); 288public bool EndWaitForMessage(IAsyncResult result) 329protected IAsyncResult BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state) 334protected void EndCloseOutputSession(IAsyncResult result) 420protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 425protected override void OnEndClose(IAsyncResult result) 552protected override IAsyncResult OnBeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 558protected override void OnEndSend(IAsyncResult result) 668public IAsyncResult BeginCloseOutputSession(AsyncCallback callback, object state) 673public IAsyncResult BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state) 678public void EndCloseOutputSession(IAsyncResult result) 707IAsyncResult result = 723public static void End(IAsyncResult result) 728static void OnCloseOutputSession(IAsyncResult result) 760static void OnCloseInputSession(IAsyncResult result) 813bool HandleCloseOutputSession(IAsyncResult result, bool isStillSynchronous) 823IAsyncResult closeInputSessionResult = 835bool HandleCloseInputSession(IAsyncResult result, bool isStillSynchronous) 920public static void End(IAsyncResult result) 1079public static void End(IAsyncResult result) 1239IAsyncResult result = this.channel.BeginReceive(timeout, onReceive, this); 1264public static bool End(IAsyncResult result, out Message message) 1271static void OnReceive(IAsyncResult result) 1307void CompleteReceive(IAsyncResult result)
System\ServiceModel\Channels\TransportManager.cs (6)
218public IAsyncResult BeginOpen(SelectTransportManagersCallback selectTransportManagerCallback, 224public void EndOpen(IAsyncResult result) 253public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 258public void EndClose(IAsyncResult result) 378public static void End(IAsyncResult result) 401public static void End(IAsyncResult result)
System\ServiceModel\Channels\TransportReplyChannelAcceptor.cs (8)
41IAsyncResult DummyBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 46void DummyEndClose(IAsyncResult result) 51protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 64protected override void OnEndClose(IAsyncResult result) 136IAsyncResult DummyBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 141void DummyEndClose(IAsyncResult result) 146protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 160protected override void OnEndClose(IAsyncResult result)
System\ServiceModel\Channels\TransportSecurityHelpers.cs (15)
221public static IAsyncResult BeginGetSspiCredential(SecurityTokenProviderContainer tokenProvider, TimeSpan timeout, 227public static IAsyncResult BeginGetSspiCredential(SecurityTokenProvider tokenProvider, TimeSpan timeout, 233public static NetworkCredential EndGetSspiCredential(IAsyncResult result, 239public static NetworkCredential EndGetSspiCredential(IAsyncResult result, 472public static IAsyncResult BeginGetUserNameCredential(SecurityTokenProviderContainer tokenProvider, TimeSpan timeout, 478public static NetworkCredential EndGetUserNameCredential(IAsyncResult result) 574IAsyncResult result = this.tokenProvider.BeginGetToken(timeout, onGetToken, this); 582void CompleteGetToken(IAsyncResult result) 597static void OnGetToken(IAsyncResult result) 621public static NetworkCredential End(IAsyncResult result) 655IAsyncResult result = credentialProvider.BeginGetToken(timeout, onGetToken, this); 663void CompleteGetToken(IAsyncResult result) 691static void OnGetToken(IAsyncResult result) 715public static NetworkCredential End(IAsyncResult result, 725public static NetworkCredential End(IAsyncResult result,
System\ServiceModel\Channels\UtilityExtension.cs (2)
271IAsyncResult result = null; 303void UtilityMessageSent(IAsyncResult result)
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (6)
268IAsyncResult result = this.MessageEncoder.BeginWriteMessage(message, new TimeoutStream(webSocketStream, ref helper), streamedWriteCallback, this); 458static void StreamWriteCallback(IAsyncResult ar) 1157public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object state) 1219public override int EndRead(IAsyncResult asyncResult) 1328public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state) 1363public override void EndWrite(IAsyncResult asyncResult)
System\ServiceModel\Channels\WindowsStreamSecurityUpgradeProvider.cs (36)
140protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 145protected override void OnEndClose(IAsyncResult result) 161protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 167protected override void OnEndOpen(IAsyncResult result) 230protected override IAsyncResult OnBeginAcceptUpgrade(Stream stream, AsyncCallback callback, object state) 237protected override Stream OnEndAcceptUpgrade(IAsyncResult result, 283protected override IAsyncResult OnBegin(Stream stream, AsyncCallback callback) 290protected override Stream OnCompleteAuthenticateAsServer(IAsyncResult result) 321IAsyncResult BaseBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 326void BaseEndOpen(IAsyncResult result) 331internal override IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 336internal override void EndOpen(IAsyncResult result) 350IAsyncResult BaseBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 355void BaseEndClose(IAsyncResult result) 360internal override IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 365internal override void EndClose(IAsyncResult result) 377protected override IAsyncResult OnBeginInitiateUpgrade(Stream stream, AsyncCallback callback, object state) 389protected override Stream OnEndInitiateUpgrade(IAsyncResult result, 507protected override IAsyncResult OnBeginAuthenticateAsClient(Stream stream, AsyncCallback callback) 517protected override Stream OnCompleteAuthenticateAsClient(IAsyncResult result) 551IAsyncResult result = parent.BaseBeginOpen(timeoutHelper.RemainingTime(), onBaseOpen, this); 564public static void End(IAsyncResult result) 569bool HandleBaseOpenComplete(IAsyncResult result) 572IAsyncResult openTokenProviderResult = SecurityUtils.BeginOpenTokenProviderIfRequired( 583bool HandleOpenTokenProviderComplete(IAsyncResult result) 586IAsyncResult getCredentialResult = TransportSecurityHelpers.BeginGetSspiCredential( 597bool HandleGetSspiCredentialComplete(IAsyncResult result) 604void OnBaseOpen(IAsyncResult result) 635void OnOpenTokenProvider(IAsyncResult result) 666void OnGetSspiCredential(IAsyncResult result) 715IAsyncResult result = parent.BaseBeginClose(timeoutHelper.RemainingTime(), onBaseClose, this); 728public static void End(IAsyncResult result) 733bool HandleBaseCloseComplete(IAsyncResult result) 736IAsyncResult closeTokenProviderResult = SecurityUtils.BeginCloseTokenProviderIfRequired( 748void OnBaseClose(IAsyncResult result) 779void OnCloseTokenProvider(IAsyncResult result)
System\ServiceModel\ClientBase.cs (34)
703IAsyncResult ICommunicationObject.BeginClose(AsyncCallback callback, object state) 708IAsyncResult ICommunicationObject.BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 713void ICommunicationObject.EndClose(IAsyncResult result) 718IAsyncResult ICommunicationObject.BeginOpen(AsyncCallback callback, object state) 723IAsyncResult ICommunicationObject.BeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 728void ICommunicationObject.EndOpen(IAsyncResult result) 735internal IAsyncResult BeginFactoryOpen(TimeSpan timeout, AsyncCallback callback, object state) 747internal void EndFactoryOpen(IAsyncResult result) 759internal IAsyncResult BeginChannelOpen(TimeSpan timeout, AsyncCallback callback, object state) 764internal void EndChannelOpen(IAsyncResult result) 769internal IAsyncResult BeginFactoryClose(TimeSpan timeout, AsyncCallback callback, object state) 781internal void EndFactoryClose(IAsyncResult result) 793internal IAsyncResult BeginChannelClose(TimeSpan timeout, AsyncCallback callback, object state) 805internal void EndChannelClose(IAsyncResult result) 960protected delegate IAsyncResult BeginOperationDelegate(object[] inValues, AsyncCallback asyncCallback, object state); 961protected delegate object[] EndOperationDelegate(IAsyncResult result); 1003IAsyncResult result = null; 1027static void OnAsyncCallCompleted(IAsyncResult result) 1128protected IAsyncResult BeginInvoke(string methodName, object[] args, AsyncCallback callback, object state) 1144protected object EndInvoke(string methodName, object[] args, IAsyncResult result) 1201IAsyncResult IClientChannel.BeginDisplayInitializationUI(AsyncCallback callback, object state) 1206void IClientChannel.EndDisplayInitializationUI(IAsyncResult result) 1303IAsyncResult ICommunicationObject.BeginClose(AsyncCallback callback, object state) 1308IAsyncResult ICommunicationObject.BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 1313void ICommunicationObject.EndClose(IAsyncResult result) 1328IAsyncResult ICommunicationObject.BeginOpen(AsyncCallback callback, object state) 1333IAsyncResult ICommunicationObject.BeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 1338void ICommunicationObject.EndOpen(IAsyncResult result) 1373IAsyncResult IOutputChannel.BeginSend(Message message, AsyncCallback callback, object state) 1378IAsyncResult IOutputChannel.BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 1383void IOutputChannel.EndSend(IAsyncResult result) 1408IAsyncResult IRequestChannel.BeginRequest(Message message, AsyncCallback callback, object state) 1413IAsyncResult IRequestChannel.BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state) 1418Message IRequestChannel.EndRequest(IAsyncResult result)
System\ServiceModel\Description\ClientClassGenerator.cs (2)
49static Type asyncResultType = typeof(IAsyncResult); 53static CodeTypeReference asyncResultTypeRef = new CodeTypeReference(typeof(IAsyncResult));
System\ServiceModel\Description\IMetadataExchange.cs (2)
16IAsyncResult BeginGet(Message request, AsyncCallback callback, object state); 17Message EndGet(IAsyncResult result);
System\ServiceModel\Description\MetadataExchangeClient.cs (23)
254public IAsyncResult BeginGetMetadata(AsyncCallback callback, object asyncState) 263public IAsyncResult BeginGetMetadata(Uri address, MetadataExchangeClientMode mode, AsyncCallback callback, object asyncState) 276public IAsyncResult BeginGetMetadata(EndpointAddress address, AsyncCallback callback, object asyncState) 284IAsyncResult BeginGetMetadata(MetadataRetriever retriever, AsyncCallback callback, object asyncState) 291public MetadataSet EndGetMetadata(IAsyncResult result) 677internal abstract IAsyncResult BeginRetrieve(TimeoutHelper timeoutHelper, AsyncCallback callback, object state); 678internal abstract MetadataSection EndRetrieve(IAsyncResult result); 818internal override IAsyncResult BeginRetrieve(TimeoutHelper timeoutHelper, AsyncCallback callback, object state) 852internal override MetadataSection EndRetrieve(IAsyncResult result) 884IAsyncResult result = request.BeginGetResponse(Fx.ThunkCallback(new AsyncCallback(this.GetResponseCallback)), request); 910internal static MetadataSection End(IAsyncResult result) 916internal void GetResponseCallback(IAsyncResult result) 936void HandleResult(IAsyncResult result) 988internal override IAsyncResult BeginRetrieve(TimeoutHelper timeoutHelper, AsyncCallback callback, object state) 1098internal override MetadataSection EndRetrieve(IAsyncResult result) 1134IAsyncResult result = metadataClient.BeginGet(message, Fx.ThunkCallback(new AsyncCallback(this.RequestCallback)), metadataClient); 1144internal static MetadataSection End(IAsyncResult result) 1150internal void RequestCallback(IAsyncResult result) 1170void HandleResult(IAsyncResult result) 1252IAsyncResult result = retriever.BeginRetrieve(this.resolveCallState.TimeoutHelper, Fx.ThunkCallback(new AsyncCallback(this.RetrieveCallback)), retriever); 1269internal static MetadataSet End(IAsyncResult result) 1275internal void RetrieveCallback(IAsyncResult result) 1301bool HandleResult(IAsyncResult result)
System\ServiceModel\Description\MetadataResolver.cs (11)
86public static IAsyncResult BeginResolve(Type contract, EndpointAddress address, AsyncCallback callback, object asyncState) 95public static IAsyncResult BeginResolve(IEnumerable<ContractDescription> contracts, EndpointAddress address, AsyncCallback callback, object asyncState) 99public static IAsyncResult BeginResolve(IEnumerable<ContractDescription> contracts, EndpointAddress address, MetadataExchangeClient client, AsyncCallback callback, object asyncState) 118public static IAsyncResult BeginResolve(Type contract, Uri address, MetadataExchangeClientMode mode, AsyncCallback callback, object asyncState) 127public static IAsyncResult BeginResolve(IEnumerable<ContractDescription> contracts, Uri address, MetadataExchangeClientMode mode, AsyncCallback callback, object asyncState) 131public static IAsyncResult BeginResolve(IEnumerable<ContractDescription> contracts, Uri address, MetadataExchangeClientMode mode, MetadataExchangeClient client, 152public static ServiceEndpointCollection EndResolve(IAsyncResult result) 178IAsyncResult result; 196internal void EndGetMetadataSet(IAsyncResult result) 217private void HandleResult(IAsyncResult result) 223internal static ServiceEndpointCollection EndAsyncCall(IAsyncResult result)
System\ServiceModel\Description\ServiceContractGenerator.cs (2)
345beginMethod.ReturnType = context.ServiceContractGenerator.GetCodeTypeReference(typeof(IAsyncResult)); 350endMethod.Parameters.Add(new CodeParameterDeclarationExpression(context.ServiceContractGenerator.GetCodeTypeReference(typeof(IAsyncResult)), Strings.AsyncResultArgName));
System\ServiceModel\Description\ServiceMetadataExtension.cs (2)
614public IAsyncResult BeginGet(Message request, AsyncCallback callback, object state) 619public Message EndGet(IAsyncResult result)
System\ServiceModel\Description\ServiceReflector.cs (1)
346static readonly Type asyncResultType = typeof(IAsyncResult);
System\ServiceModel\Diagnostics\TraceAsyncResult.cs (3)
12static Action<AsyncCallback, IAsyncResult> waitResultCallback = new Action<AsyncCallback, IAsyncResult>(DoCallback); 38static void DoCallback(AsyncCallback callback, IAsyncResult result)
System\ServiceModel\Diagnostics\TraceUtility.cs (5)
33static Func<Action<AsyncCallback, IAsyncResult>> asyncCallbackGenerator; 450asyncCallbackGenerator = new Func<Action<AsyncCallback, IAsyncResult>>(CallbackGenerator); 465static Action<AsyncCallback, IAsyncResult> CallbackGenerator() 472return delegate(AsyncCallback callback, IAsyncResult result) 1236void ExecuteUserCode(IAsyncResult result)
System\ServiceModel\Dispatcher\AsyncMethodInvoker.cs (3)
90public IAsyncResult InvokeBegin(object instance, object[] inputs, AsyncCallback callback, object state) 104IAsyncResult returnValue; 206public object InvokeEnd(object instance, out object[] outputs, IAsyncResult result)
System\ServiceModel\Dispatcher\BufferedReceiveBinder.cs (11)
94public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 98IAsyncResult result = this.channelBinder.BeginTryReceive(timeout, tryReceiveCallback, this); 108public bool EndTryReceive(IAsyncResult result, out RequestContext requestContext) 134public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 139public void EndSend(IAsyncResult result) 149public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state) 154public Message EndRequest(IAsyncResult result) 164public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state) 169public bool EndWaitForMessage(IAsyncResult result) 216static void TryReceiveCallback(IAsyncResult result) 226static void HandleEndTryReceive(IAsyncResult result)
System\ServiceModel\Dispatcher\ChannelDispatcher.cs (4)
640protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 658protected override void OnEndClose(IAsyncResult result) 750protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 772protected override void OnEndOpen(IAsyncResult result)
System\ServiceModel\Dispatcher\ChannelHandler.cs (11)
317IAsyncResult result = this.BeginTryReceive(); 325void AsyncMessagePump(IAsyncResult result) 365IAsyncResult BeginTryReceive() 524bool EndTryReceive(IAsyncResult result, out RequestContext requestContext) 623IAsyncResult result = this.BeginTryReceive(); 1060static void OnAsyncReceiveComplete(IAsyncResult result) 1070IAsyncResult result = (IAsyncResult)state; 1263var result = request.BeginReply(reply, ChannelHandler.onAsyncReplyComplete, state); 1369static void AsyncReplyComplete(IAsyncResult result, ContinuationState state) 1422static void OnAsyncReplyComplete(IAsyncResult result)
System\ServiceModel\Dispatcher\DispatchOperationRuntime.cs (2)
485IAsyncResult result = null; 657static void InvokeCallback(IAsyncResult result)
System\ServiceModel\Dispatcher\DispatchRuntime.cs (2)
858public IAsyncResult InvokeBegin(object instance, object[] inputs, AsyncCallback callback, object state) 863public object InvokeEnd(object instance, out object[] outputs, IAsyncResult result)
System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (43)
314public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 322public bool EndTryReceive(IAsyncResult result, out RequestContext requestContext) 358public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 363public void EndSend(IAsyncResult result) 373public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state) 388IAsyncResult result = this.channel.BeginSend(message, timeout, Fx.ThunkCallback(new AsyncCallback(this.SendCallback)), duplexRequest); 414public Message EndRequest(IAsyncResult result) 625void SendCallback(IAsyncResult result) 662public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state) 667public bool EndWaitForMessage(IAsyncResult result) 700protected override IAsyncResult OnBeginReply(Message message, TimeSpan timeout, AsyncCallback callback, object state) 705protected override void OnEndReply(IAsyncResult result) 726IAsyncResult result = context.channel.BeginSend(message, timeout, onSend, this); 737public static void End(IAsyncResult result) 742static void OnSend(IAsyncResult result) 870IAsyncResult sendResult; 987public void FinishedSend(IAsyncResult sendResult, bool completedSynchronously) 1221IAsyncResult result = null; 1253IAsyncResult result = (IAsyncResult)state; 1258static void ReceiveAsyncCallback(IAsyncResult result) 1268void OnReceive(IAsyncResult result) 1315IAsyncResult result = null; 1348static void CloseInnerChannelCallback(IAsyncResult result) 1358void OnCloseInnerChannel(IAsyncResult result) 1397public IAsyncResult BeginReceive(AsyncCallback callback, object state) 1402public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state) 1407public Message EndReceive(IAsyncResult result) 1417public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 1422public bool EndTryReceive(IAsyncResult result, out Message message) 1432public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state) 1437public bool EndWaitForMessage(IAsyncResult result) 1476public IAsyncResult BeginClose(AsyncCallback callback, object state) 1481public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 1498public void EndClose(IAsyncResult result) 1530public IAsyncResult BeginOpen(AsyncCallback callback, object state) 1535public IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 1540public void EndOpen(IAsyncResult result) 1556public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state) 1561public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 1566public void EndSend(IAsyncResult result) 1620public IAsyncResult BeginWaitForBackgroundClose(TimeSpan timeout, AsyncCallback callback, object state) 1626public void EndWaitForBackgroundClose(IAsyncResult result)
System\ServiceModel\Dispatcher\ErrorHandlingAcceptor.cs (4)
109internal IAsyncResult BeginTryAccept(TimeSpan timeout, AsyncCallback callback, object state) 143internal bool EndTryAccept(IAsyncResult result, out IChannelBinder channelBinder) 218internal IAsyncResult BeginWaitForChannel(AsyncCallback callback, object state) 248internal void EndWaitForChannel(IAsyncResult result)
System\ServiceModel\Dispatcher\ErrorhandlingReceiver.cs (4)
98internal IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 133internal bool EndTryReceive(IAsyncResult result, out RequestContext requestContext) 204internal IAsyncResult BeginWaitForMessage(AsyncCallback callback, object state) 234internal void EndWaitForMessage(IAsyncResult result)
System\ServiceModel\Dispatcher\IChannelBinder.cs (8)
23IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state); 24bool EndTryReceive(IAsyncResult result, out RequestContext requestContext); 27IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state); 28void EndSend(IAsyncResult result); 31IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state); 32Message EndRequest(IAsyncResult result); 35IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state); 36bool EndWaitForMessage(IAsyncResult result);
System\ServiceModel\Dispatcher\IInteractiveChannelInitializer.cs (2)
11IAsyncResult BeginDisplayInitializationUI(IClientChannel channel, AsyncCallback callback, object state); 12void EndDisplayInitializationUI(IAsyncResult result);
System\ServiceModel\Dispatcher\IListenerBinder.cs (2)
16IAsyncResult BeginAccept(TimeSpan timeout, AsyncCallback callback, object state); 17IChannelBinder EndAccept(IAsyncResult result);
System\ServiceModel\Dispatcher\IManualConcurrencyOperationInvoker.cs (1)
16IAsyncResult InvokeBegin(object instance, object[] inputs, IInvokeReceivedNotification notification, AsyncCallback callback, object state);
System\ServiceModel\Dispatcher\ImmutableClientRuntime.cs (6)
194internal IAsyncResult BeginDisplayInitializationUI(ServiceChannel channel, AsyncCallback callback, object state) 199internal void EndDisplayInitializationUI(IAsyncResult result) 330IAsyncResult result = null; 371static void Callback(IAsyncResult result) 392void CallEnd(IAsyncResult result, out Exception exception) 415internal static void End(IAsyncResult result)
System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (5)
730static void OnFinalizeCorrelationCompletedCallback(IAsyncResult result) 747static void OnReplyCompletedCallback(IAsyncResult result) 1862protected override IAsyncResult OnBeginFinalizeCorrelation(Message message, TimeSpan timeout, 1871IAsyncResult result = this.innerCallback.BeginFinalizeCorrelation(message, timeout, callback, state); 1881protected override Message OnEndFinalizeCorrelation(IAsyncResult result)
System\ServiceModel\Dispatcher\InputChannelBinder.cs (10)
68public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 73public bool EndTryReceive(IAsyncResult result, out RequestContext requestContext) 93public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 98public void EndSend(IAsyncResult result) 123public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state) 128public Message EndRequest(IAsyncResult result) 143public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state) 148public bool EndWaitForMessage(IAsyncResult result) 187protected override IAsyncResult OnBeginReply(Message message, TimeSpan timeout, AsyncCallback callback, object state) 192protected override void OnEndReply(IAsyncResult result)
System\ServiceModel\Dispatcher\InstanceContextManager.cs (13)
18IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state); 19IAsyncResult BeginCloseInput(TimeSpan timeout, AsyncCallback callback, object state); 22void EndClose(IAsyncResult result); 23void EndCloseInput(IAsyncResult result); 71public IAsyncResult BeginCloseInput(TimeSpan timeout, AsyncCallback callback, object state) 87IAsyncResult result = instance.BeginClose(timeoutHelper.RemainingTime(), Fx.ThunkCallback(new AsyncCallback(CloseInstanceContextCallback)), instance); 128static void CloseInstanceContextCallback(IAsyncResult result) 159public void EndCloseInput(IAsyncResult result) 200protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 214protected override void OnEndClose(IAsyncResult result) 302IAsyncResult result; 325static void Callback(IAsyncResult result) 365public static void End(IAsyncResult result)
System\ServiceModel\Dispatcher\InvokerUtil.cs (2)
18delegate IAsyncResult InvokeBeginDelegate(object target, object[] inputs, AsyncCallback asyncCallback, object state); 19delegate object InvokeEndDelegate(object target, object[] outputs, IAsyncResult result);
System\ServiceModel\Dispatcher\IOperationInvoker.cs (2)
18IAsyncResult InvokeBegin(object instance, object[] inputs, AsyncCallback callback, object state); 20object InvokeEnd(object instance, out object[] outputs, IAsyncResult result);
System\ServiceModel\Dispatcher\IResumeMessageRpc.cs (2)
16void Resume(IAsyncResult result); 18void SignalConditionalResume(IAsyncResult result);
System\ServiceModel\Dispatcher\ListenerBinder.cs (12)
76public IAsyncResult BeginAccept(TimeSpan timeout, AsyncCallback callback, object state) 81public IChannelBinder EndAccept(IAsyncResult result) 123public IAsyncResult BeginAccept(TimeSpan timeout, AsyncCallback callback, object state) 128public IChannelBinder EndAccept(IAsyncResult result) 168public IAsyncResult BeginAccept(TimeSpan timeout, AsyncCallback callback, object state) 173public IChannelBinder EndAccept(IAsyncResult result) 213public IAsyncResult BeginAccept(TimeSpan timeout, AsyncCallback callback, object state) 218public IChannelBinder EndAccept(IAsyncResult result) 258public IAsyncResult BeginAccept(TimeSpan timeout, AsyncCallback callback, object state) 263public IChannelBinder EndAccept(IAsyncResult result) 303public IAsyncResult BeginAccept(TimeSpan timeout, AsyncCallback callback, object state) 308public IChannelBinder EndAccept(IAsyncResult result)
System\ServiceModel\Dispatcher\ListenerHandler.cs (14)
112protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 117protected override void OnEndOpen(IAsyncResult result) 223IAsyncResult result = this.acceptor.BeginWaitForChannel(ListenerHandler.waitCallback, this); 238static void WaitCallback(IAsyncResult result) 288IAsyncResult result = this.acceptor.BeginTryAccept(TimeSpan.MaxValue, ListenerHandler.acceptCallback, this); 356ListenerChannel CompleteAccept(IAsyncResult result) 379bool HandleEndAccept(IAsyncResult result) 397static void AcceptCallback(IAsyncResult result) 440IAsyncResult result = duplexSession.BeginCloseOutputSession(timeout, Fx.ThunkCallback(new AsyncCallback(CloseOutputSessionCallback)), state); 446IAsyncResult result = channel.BeginClose(timeout, Fx.ThunkCallback(new AsyncCallback(CloseChannelCallback)), state); 467static void CloseChannelCallback(IAsyncResult result) 515static void CloseOutputSessionCallback(IAsyncResult result) 655protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 689protected override void OnEndClose(IAsyncResult result)
System\ServiceModel\Dispatcher\MessageRpc.cs (10)
34internal IAsyncResult AsyncResult; 79SignalGate<IAsyncResult> invokeContinueGate; 224IAsyncResult result = receiveContext.BeginAbandon( 302IAsyncResult result = receiveContext.BeginComplete( 331static void HandleEndAbandon(IAsyncResult result) 354static void HandleEndComplete(IAsyncResult result) 696internal bool UnlockInvokeContinueGate(out IAsyncResult result) 703this.invokeContinueGate = new SignalGate<IAsyncResult>(); 789public void Resume(IAsyncResult result) 816public void SignalConditionalResume(IAsyncResult result)
System\ServiceModel\Dispatcher\MultipleReceiveBinder.cs (19)
76public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 86IAsyncResult innerResult; 108IAsyncResult result = this.channelBinder.BeginTryReceive(timeout, onInnerReceiveCompleted, receiveScope); 116static void OnInnerReceiveCompleted(IAsyncResult nestedResult) 127void HandleReceiveAndSignalCompletion(IAsyncResult nestedResult, bool completedSynchronosly) 135private bool SignalReceiveCompleted(IAsyncResult nestedResult) 153void HandleReceiveRequestComplete(IAsyncResult innerResult, bool completedSynchronously) 182public bool EndTryReceive(IAsyncResult result, out RequestContext requestContext) 197public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 202public void EndSend(IAsyncResult result) 212public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state) 217public Message EndRequest(IAsyncResult result) 227public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state) 232public bool EndWaitForMessage(IAsyncResult result) 261public static bool End(IAsyncResult result, out RequestContext context) 269class ReceiveScopeSignalGate : SignalGate<IAsyncResult> 331internal bool TryDequeueHead(out IAsyncResult result) 345public bool TrySignal(ReceiveScopeSignalGate scope, IAsyncResult nestedResult) 358public bool TrySignalPending(IAsyncResult result)
System\ServiceModel\Dispatcher\OperationFormatter.cs (10)
357IAsyncResult BeginSerializeBodyContents(XmlDictionaryWriter writer, MessageVersion version, object[] parameters, object returnValue, bool isRequest, 363void EndSerializeBodyContents(IAsyncResult result) 388IAsyncResult result = streamFormatter.BeginSerialize(writer, parameters, returnValue, PrepareAsyncCompletion(handleEndSerializeBodyContents), this); 405static bool HandleEndSerializeBodyContents(IAsyncResult result) 412public static void End(IAsyncResult result) 716protected override IAsyncResult OnBeginWriteBodyContents(XmlDictionaryWriter writer, AsyncCallback callback, object state) 723protected override void OnEndWriteBodyContents(IAsyncResult result) 745IAsyncResult result = this.operationFormatter.BeginSerializeBodyContents(writer, operationFormatterBodyWriter.version, 756static bool HandleEndOnWriteBodyContents(IAsyncResult result) 763public static void End(IAsyncResult result)
System\ServiceModel\Dispatcher\OutputChannelBinder.cs (8)
66public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 71public bool EndTryReceive(IAsyncResult result, out RequestContext requestContext) 81public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 86public void EndSend(IAsyncResult result) 96public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state) 101public Message EndRequest(IAsyncResult result) 121public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state) 126public bool EndWaitForMessage(IAsyncResult result)
System\ServiceModel\Dispatcher\ProxyOperationRuntime.cs (2)
416internal void MapAsyncEndInputs(IMethodCallMessage methodCall, out IAsyncResult result, out object[] outs) 419result = methodCall.Args[methodCall.ArgCount - 1] as IAsyncResult;
System\ServiceModel\Dispatcher\ReceiveContextRPCFacet.cs (14)
50IAsyncResult result = new AcknowledgementCompleteAsyncResult( 80IAsyncResult result = new AcknowledgementCompleteAsyncResult( 100public IAsyncResult BeginComplete(TimeSpan timeout, Transaction transaction, ChannelHandler channelHandler, AsyncCallback callback, object state) 102IAsyncResult result = null; 124public void EndComplete(IAsyncResult result) 131public IAsyncResult BeginAbandon(TimeSpan timeout, AsyncCallback callback, object state) 138public void EndAbandon(IAsyncResult result) 144static void HandleEndComplete(IAsyncResult result) 226public static void End(IAsyncResult result) 233IAsyncResult result = null; 262static bool HandleComplete(IAsyncResult result) 269static void CompleteCallback(IAsyncResult result) 325IAsyncResult result = this.receiveContext.BeginAbandon( 350static void AbandonCallback(IAsyncResult result)
System\ServiceModel\Dispatcher\ReplyChannelBinder.cs (8)
68public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 73public bool EndTryReceive(IAsyncResult result, out RequestContext requestContext) 83public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 88public void EndSend(IAsyncResult result) 98public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state) 103public Message EndRequest(IAsyncResult result) 123public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state) 128public bool EndWaitForMessage(IAsyncResult result)
System\ServiceModel\Dispatcher\RequestChannelBinder.cs (8)
61public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 66public bool EndTryReceive(IAsyncResult result, out RequestContext requestContext) 76public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 81public void EndSend(IAsyncResult result) 91public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state) 96public Message EndRequest(IAsyncResult result) 125public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state) 130public bool EndWaitForMessage(IAsyncResult result)
System\ServiceModel\Dispatcher\StreamFormatter.cs (5)
73internal IAsyncResult BeginSerialize(XmlDictionaryWriter writer, object[] parameters, object returnValue, AsyncCallback callback, object state) 78public void EndSerialize(IAsyncResult result) 99IAsyncResult result = writer.WriteValueAsync(new OperationStreamProvider(streamValue)).AsAsyncResult(PrepareAsyncCompletion(handleEndSerialize), this); 110static bool HandleEndSerialize(IAsyncResult result) 117public static void End(IAsyncResult result)
System\ServiceModel\Dispatcher\SyncMethodInvoker.cs (2)
242public IAsyncResult InvokeBegin(object instance, object[] inputs, AsyncCallback callback, object state) 247public object InvokeEnd(object instance, out object[] outputs, IAsyncResult result)
System\ServiceModel\Dispatcher\TaskMethodInvoker.cs (2)
68public IAsyncResult InvokeBegin(object instance, object[] inputs, AsyncCallback callback, object state) 73public object InvokeEnd(object instance, out object[] outputs, IAsyncResult result)
System\ServiceModel\IClientChannel.cs (2)
24IAsyncResult BeginDisplayInitializationUI(AsyncCallback callback, object state); 25void EndDisplayInitializationUI(IAsyncResult result);
System\ServiceModel\ICommunicationObject.cs (6)
21IAsyncResult BeginClose(AsyncCallback callback, object state); 22IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state); 23void EndClose(IAsyncResult result); 27IAsyncResult BeginOpen(AsyncCallback callback, object state); 28IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state); 29void EndOpen(IAsyncResult result);
System\ServiceModel\IDuplexContextChannel.cs (2)
14IAsyncResult BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state); 15void EndCloseOutputSession(IAsyncResult result);
System\ServiceModel\InstanceContext.cs (9)
319internal IAsyncResult BeginCloseInput(TimeSpan timeout, AsyncCallback callback, object state) 404internal void EndCloseInput(IAsyncResult result) 536protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 541protected override void OnEndClose(IAsyncResult result) 546protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 551protected override void OnEndOpen(IAsyncResult result) 651IAsyncResult result = this.instanceContext.channels.BeginClose(this.timeoutHelper.RemainingTime(), PrepareAsyncCompletion(new AsyncCompletion(CloseChannelsCallback)), this); 658public static void End(IAsyncResult result) 663bool CloseChannelsCallback(IAsyncResult result)
System\ServiceModel\MsmqIntegration\MsmqIntegrationOutputChannel.cs (6)
55protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 61protected override void OnEndClose(IAsyncResult result) 100protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 106protected override void OnEndOpen(IAsyncResult result) 116protected override IAsyncResult OnBeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 122protected override void OnEndSend(IAsyncResult result)
System\ServiceModel\Security\AcceleratedTokenProvider.cs (2)
241protected override IAsyncResult BeginCreateNegotiationState(EndpointAddress target, Uri via, TimeSpan timeout, AsyncCallback callback, object state) 246protected override AcceleratedTokenProviderState EndCreateNegotiationState(IAsyncResult result)
System\ServiceModel\Security\AcceptorSessionSymmetricMessageSecurityProtocol.cs (2)
142protected override IAsyncResult BeginSecureOutgoingMessageCore(Message message, TimeSpan timeout, SecurityProtocolCorrelationState correlationState, AsyncCallback callback, object state) 162protected override void EndSecureOutgoingMessageCore(IAsyncResult result, out Message message, out SecurityProtocolCorrelationState newCorrelationState)
System\ServiceModel\Security\ApplySecurityAndSendAsyncResult.cs (5)
42IAsyncResult result = this.binding.BeginSecureOutgoingMessage(message, timeoutHelper.RemainingTime(), correlationState, sharedCallback, this); 66IAsyncResult result = BeginSendCore(this.channel, message, timeoutHelper.RemainingTime(), sharedCallback, this); 75protected abstract IAsyncResult BeginSendCore(MessageSenderType channel, Message message, TimeSpan timeout, AsyncCallback callback, object state); 77protected abstract void EndSendCore(MessageSenderType channel, IAsyncResult result); 87static void SharedCallback(IAsyncResult result)
System\ServiceModel\Security\AsymmetricSecurityProtocol.cs (2)
145protected override IAsyncResult BeginSecureOutgoingMessageCore(Message message, TimeSpan timeout, SecurityProtocolCorrelationState correlationState, AsyncCallback callback, object state) 172protected override void EndSecureOutgoingMessageCore(IAsyncResult result, out Message message, out SecurityProtocolCorrelationState newCorrelationState)
System\ServiceModel\Security\DuplexSecurityProtocolFactory.cs (4)
230public override IAsyncResult BeginSecureOutgoingMessage(Message message, TimeSpan timeout, AsyncCallback callback, object state) 242public override IAsyncResult BeginSecureOutgoingMessage(Message message, TimeSpan timeout, SecurityProtocolCorrelationState correlationState, 255public override void EndSecureOutgoingMessage(IAsyncResult result, out Message message) 267public override void EndSecureOutgoingMessage(IAsyncResult result,
System\ServiceModel\Security\ImpersonatingMessage.cs (4)
66protected override IAsyncResult OnBeginWriteMessage(XmlDictionaryWriter writer, AsyncCallback callback, object state) 111protected override void OnEndWriteMessage(IAsyncResult result) 141protected override IAsyncResult OnBeginWriteBodyContents(XmlDictionaryWriter writer, AsyncCallback callback, object state) 187protected override void OnEndWriteBodyContents(IAsyncResult result)
System\ServiceModel\Security\InfocardInteractiveChannelInitializer.cs (6)
33public virtual IAsyncResult BeginDisplayInitializationUI(IClientChannel channel, AsyncCallback callback, object state) 38public virtual void EndDisplayInitializationUI(IAsyncResult result) 74IAsyncResult result = null; 114static void Callback(IAsyncResult result) 129void CallEnd(IAsyncResult result, out Exception exception) 159internal static void End(IAsyncResult result)
System\ServiceModel\Security\InitiatorSessionSymmetricMessageSecurityProtocol.cs (3)
157protected override IAsyncResult BeginSecureOutgoingMessageCore(Message message, TimeSpan timeout, SecurityProtocolCorrelationState correlationState, AsyncCallback callback, object state) 204protected override void EndSecureOutgoingMessageCore(IAsyncResult result, out Message message, out SecurityProtocolCorrelationState newCorrelationState) 300internal static Message End(IAsyncResult result, out SecurityProtocolCorrelationState newCorrelationState)
System\ServiceModel\Security\InitiatorSessionSymmetricTransportSecurityProtocol.cs (3)
152protected override IAsyncResult BeginSecureOutgoingMessageAtInitiatorCore(Message message, string actor, TimeSpan timeout, AsyncCallback callback, object state) 171protected override Message EndSecureOutgoingMessageAtInitiatorCore(IAsyncResult result) 210internal static Message End(IAsyncResult result)
System\ServiceModel\Security\ISecurityCommunicationObject.cs (4)
11IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state); 12IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state); 16void OnEndClose(IAsyncResult result); 17void OnEndOpen(IAsyncResult result);
System\ServiceModel\Security\IssuanceTokenProviderBase.cs (20)
350protected override IAsyncResult BeginGetTokenCore(TimeSpan timeout, AsyncCallback callback, object state) 353IAsyncResult asyncResult; 370protected override SecurityToken EndGetTokenCore(IAsyncResult result) 417protected abstract IAsyncResult BeginCreateNegotiationState(EndpointAddress target, Uri via, TimeSpan timeout, AsyncCallback callback, object state); 419protected abstract T EndCreateNegotiationState(IAsyncResult result); 426protected abstract IAsyncResult BeginInitializeChannelFactories(EndpointAddress target, TimeSpan timeout, AsyncCallback callback, object state); 427protected abstract void EndInitializeChannelFactories(IAsyncResult result); 639protected IAsyncResult BeginNegotiation(TimeSpan timeout, AsyncCallback callback, object state) 646protected SecurityToken EndNegotiation(IAsyncResult result) 799IAsyncResult createStateResult = this.tokenProvider.BeginCreateNegotiationState(target, this.via, timeoutHelper.RemainingTime(), createNegotiationStateCallback, this); 809static void CreateNegotiationStateCallback(IAsyncResult result) 856IAsyncResult result = this.tokenProvider.BeginInitializeChannelFactories(negotiationState.RemoteAddress, timeoutHelper.RemainingTime(), initializeChannelFactoriesCallback, this); 866static void InitializeChannelFactoriesCallback(IAsyncResult result) 909IAsyncResult result = rstChannel.BeginOpen(timeoutHelper.RemainingTime(), openChannelCallback, this); 918static void OpenChannelCallback(IAsyncResult result) 968IAsyncResult result = null; 1001static void SendRequestCallback(IAsyncResult result) 1073IAsyncResult result = rstChannel.BeginClose(timeoutHelper.RemainingTime(), closeChannelCallback, this); 1082static void CloseChannelCallback(IAsyncResult result) 1150public static SecurityToken End(IAsyncResult result)
System\ServiceModel\Security\IWSTrust13AsyncContract.cs (16)
26IAsyncResult BeginTrust13Cancel( Message request, AsyncCallback callback, object state ); 33Message EndTrust13Cancel( IAsyncResult ar ); 43IAsyncResult BeginTrust13Issue( Message request, AsyncCallback callback, object state ); 50Message EndTrust13Issue( IAsyncResult ar ); 61IAsyncResult BeginTrust13Renew( Message request, AsyncCallback callback, object state ); 68Message EndTrust13Renew( IAsyncResult ar ); 79IAsyncResult BeginTrust13Validate( Message request, AsyncCallback callback, object state ); 86Message EndTrust13Validate( IAsyncResult ar ); 101IAsyncResult BeginTrust13CancelResponse( Message request, AsyncCallback callback, object state ); 108Message EndTrust13CancelResponse( IAsyncResult ar ); 124IAsyncResult BeginTrust13IssueResponse( Message request, AsyncCallback callback, object state ); 131Message EndTrust13IssueResponse( IAsyncResult ar ); 147IAsyncResult BeginTrust13RenewResponse( Message request, AsyncCallback callback, object state ); 154Message EndTrust13RenewResponse( IAsyncResult ar ); 170IAsyncResult BeginTrust13ValidateResponse( Message request, AsyncCallback callback, object state ); 177Message EndTrust13ValidateResponse( IAsyncResult ar );
System\ServiceModel\Security\IWSTrustChannelContract.cs (12)
34/// <returns>An <see cref="IAsyncResult" /> object that represents the asynchronous send, which could still 36IAsyncResult BeginCancel(System.IdentityModel.Protocols.WSTrust.RequestSecurityToken request, AsyncCallback callback, object state); 43void EndCancel(IAsyncResult result, out System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse response); 68/// <returns>An <see cref="IAsyncResult" /> object that represents the asynchronous send, which could still 70IAsyncResult BeginIssue(System.IdentityModel.Protocols.WSTrust.RequestSecurityToken request, AsyncCallback callback, object asyncState); 78SecurityToken EndIssue(IAsyncResult result, out System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse response); 94/// <returns>An <see cref="IAsyncResult" /> object that represents the asynchronous send, which could still 96IAsyncResult BeginRenew(System.IdentityModel.Protocols.WSTrust.RequestSecurityToken request, AsyncCallback callback, object state); 103void EndRenew(IAsyncResult result, out System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse response); 119/// <returns>An <see cref="IAsyncResult" /> object that represents the asynchronous send, which could still 121IAsyncResult BeginValidate(System.IdentityModel.Protocols.WSTrust.RequestSecurityToken request, AsyncCallback callback, object state); 128void EndValidate(IAsyncResult result, out System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse response);
System\ServiceModel\Security\IWSTrustContract.cs (8)
33IAsyncResult BeginCancel(Message message, AsyncCallback callback, object asyncState); 40Message EndCancel(IAsyncResult asyncResult); 58IAsyncResult BeginIssue(Message message, AsyncCallback callback, object asyncState); 65Message EndIssue(IAsyncResult asyncResult); 83IAsyncResult BeginRenew(Message message, AsyncCallback callback, object asyncState); 90Message EndRenew(IAsyncResult asyncResult); 108IAsyncResult BeginValidate(Message message, AsyncCallback callback, object asyncState); 115Message EndValidate(IAsyncResult asyncResult);
System\ServiceModel\Security\IWSTrustFeb2005AsyncContract.cs (16)
26IAsyncResult BeginTrustFeb2005Cancel( Message request, AsyncCallback callback, object state ); 33Message EndTrustFeb2005Cancel( IAsyncResult ar ); 43IAsyncResult BeginTrustFeb2005Issue( Message request, AsyncCallback callback, object state ); 50Message EndTrustFeb2005Issue( IAsyncResult ar ); 60IAsyncResult BeginTrustFeb2005Renew( Message request, AsyncCallback callback, object state ); 67Message EndTrustFeb2005Renew( IAsyncResult ar ); 77IAsyncResult BeginTrustFeb2005Validate( Message request, AsyncCallback callback, object state ); 84Message EndTrustFeb2005Validate( IAsyncResult ar ); 94IAsyncResult BeginTrustFeb2005CancelResponse( Message request, AsyncCallback callback, object state ); 101Message EndTrustFeb2005CancelResponse( IAsyncResult ar ); 111IAsyncResult BeginTrustFeb2005IssueResponse( Message request, AsyncCallback callback, object state ); 118Message EndTrustFeb2005IssueResponse( IAsyncResult ar ); 128IAsyncResult BeginTrustFeb2005RenewResponse( Message request, AsyncCallback callback, object state ); 135Message EndTrustFeb2005RenewResponse( IAsyncResult ar ); 145IAsyncResult BeginTrustFeb2005ValidateResponse( Message request, AsyncCallback callback, object state ); 152Message EndTrustFeb2005ValidateResponse( IAsyncResult ar );
System\ServiceModel\Security\MessageSecurityProtocol.cs (14)
79public override IAsyncResult BeginSecureOutgoingMessage(Message message, TimeSpan timeout, AsyncCallback callback, object state) 101public override IAsyncResult BeginSecureOutgoingMessage(Message message, TimeSpan timeout, SecurityProtocolCorrelationState correlationState, AsyncCallback callback, object state) 123protected abstract IAsyncResult BeginSecureOutgoingMessageCore(Message message, TimeSpan timeout, SecurityProtocolCorrelationState correlationState, AsyncCallback callback, object state); 125public override void EndSecureOutgoingMessage(IAsyncResult result, out Message message) 147public override void EndSecureOutgoingMessage(IAsyncResult result, out Message message, out SecurityProtocolCorrelationState newCorrelationState) 168protected abstract void EndSecureOutgoingMessageCore(IAsyncResult result, out Message message, out SecurityProtocolCorrelationState newCorrelationState); 712internal static Message End(IAsyncResult result, out SecurityProtocolCorrelationState newCorrelationState) 735static void GetTokenCompleteCallback(IAsyncResult result) 780IAsyncResult result = this.provider.BeginGetToken(timeoutHelper.RemainingTime(), getTokenCompleteCallback, this); 840internal static Message End(IAsyncResult result, out SecurityProtocolCorrelationState newCorrelationState) 873IAsyncResult result = this.secondaryProvider.BeginGetToken(this.timeoutHelper.RemainingTime(), getSecondaryTokenCompleteCallback, this); 900static void GetPrimaryTokenCompleteCallback(IAsyncResult result) 937static void GetSecondaryTokenCompleteCallback(IAsyncResult result) 989IAsyncResult result = this.primaryProvider.BeginGetToken(this.timeoutHelper.RemainingTime(), getPrimaryTokenCompleteCallback, this);
System\ServiceModel\Security\NegotiationTokenAuthenticator.cs (2)
1051public IAsyncResult InvokeBegin(object instance, object[] inputs, AsyncCallback callback, object state) 1056public object InvokeEnd(object instance, out object[] outputs, IAsyncResult result)
System\ServiceModel\Security\NegotiationTokenProvider.cs (2)
158protected override IAsyncResult BeginInitializeChannelFactories(EndpointAddress target, TimeSpan timeout, AsyncCallback callback, object state) 163protected override void EndInitializeChannelFactories(IAsyncResult result)
System\ServiceModel\Security\ReceiveMessageAndVerifySecurityAsyncResultBase.cs (3)
28IAsyncResult asyncResult = innerChannel.BeginTryReceive(this.timeoutHelper.RemainingTime(), innerTryReceiveCompletedCallback, this); 51static void InnerTryReceiveCompletedCallback(IAsyncResult result) 91public static bool End(IAsyncResult result, out Message message)
System\ServiceModel\Security\SecurityChannel.cs (8)
63protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 69protected override void OnEndClose(IAsyncResult result) 74IAsyncResult BeginCloseSecurityProtocol(TimeSpan timeout, AsyncCallback callback, object state) 86void EndCloseSecurityProtocol(IAsyncResult result) 125new public static void End(IAsyncResult result) 140protected override IAsyncResult BeginSendCore(IOutputChannel channel, Message message, TimeSpan timeout, AsyncCallback callback, object state) 145internal static void End(IAsyncResult result) 151protected override void EndSendCore(IOutputChannel channel, IAsyncResult result)
System\ServiceModel\Security\SecurityListenerSettingsLifetimeManager.cs (8)
83public IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 103public void EndOpen(IAsyncResult result) 109IAsyncResult BeginOpenSecurityProtocolFactory(TimeSpan timeout, AsyncCallback callback, object state) 114void EndOpenSecurityProtocolFactory(IAsyncResult result) 148public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 169IAsyncResult result = OperationWithTimeoutComposer.BeginComposeAsyncOperations(timeout, beginOperations.ToArray(), endOperations.ToArray(), callback, state); 187public void EndClose(IAsyncResult result) 231new public static void End(IAsyncResult result)
System\ServiceModel\Security\SecurityProtocol.cs (19)
123public IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 128public IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 141public void OnEndClose(IAsyncResult result) 146public void OnEndOpen(IAsyncResult result) 362public IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 367public void EndOpen(IAsyncResult result) 484public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 489public void EndClose(IAsyncResult result) 705public virtual IAsyncResult BeginSecureOutgoingMessage(Message message, TimeSpan timeout, AsyncCallback callback, object state) 711public virtual IAsyncResult BeginSecureOutgoingMessage(Message message, TimeSpan timeout, SecurityProtocolCorrelationState correlationState, AsyncCallback callback, object state) 717public virtual IAsyncResult BeginVerifyIncomingMessage(Message message, TimeSpan timeout, AsyncCallback callback, object state) 723public virtual IAsyncResult BeginVerifyIncomingMessage(Message message, TimeSpan timeout, SecurityProtocolCorrelationState[] correlationStates, AsyncCallback callback, object state) 729public virtual void EndSecureOutgoingMessage(IAsyncResult result, out Message message) 734public virtual void EndSecureOutgoingMessage(IAsyncResult result, out Message message, out SecurityProtocolCorrelationState newCorrelationState) 739public virtual void EndVerifyIncomingMessage(IAsyncResult result, out Message message) 744public virtual void EndVerifyIncomingMessage(IAsyncResult result, out Message message, out SecurityProtocolCorrelationState newCorrelationState) 879static void GetSupportingTokenCallback(IAsyncResult result) 910void AddSupportingToken(IAsyncResult result) 931IAsyncResult result = null;
System\ServiceModel\Security\SecurityProtocolFactory.cs (8)
632public IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 637public IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 650public void OnEndClose(IAsyncResult result) 655public void OnEndOpen(IAsyncResult result) 1095public IAsyncResult BeginOpen(bool actAsInitiator, TimeSpan timeout, AsyncCallback callback, object state) 1101public void EndOpen(IAsyncResult result) 1118public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 1123public void EndClose(IAsyncResult result)
System\ServiceModel\Security\SecuritySessionClientSettings.cs (91)
220public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 225public void EndClose(IAsyncResult result) 230IAsyncResult ISecurityCommunicationObject.OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 235IAsyncResult ISecurityCommunicationObject.OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 248void ISecurityCommunicationObject.OnEndClose(IAsyncResult result) 253void ISecurityCommunicationObject.OnEndOpen(IAsyncResult result) 650protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 664protected override void OnEndOpen(IAsyncResult result) 850IAsyncResult BeginSendCloseMessage(TimeSpan timeout, AsyncCallback callback, object state) 864SecurityProtocolCorrelationState EndSendCloseMessage(IAsyncResult result) 871IAsyncResult BeginSendCloseResponseMessage(TimeSpan timeout, AsyncCallback callback, object state) 876void EndSendCloseResponseMessage(IAsyncResult result) 1294protected IAsyncResult BeginSecureOutgoingMessage(Message message, TimeSpan timeout, AsyncCallback callback, object state) 1308protected Message EndSecureOutgoingMessage(IAsyncResult result, out SecurityProtocolCorrelationState correlationState) 1377protected virtual IAsyncResult BeginCloseCore(TimeSpan timeout, AsyncCallback callback, object state) 1382protected virtual void EndCloseCore(IAsyncResult result) 1387protected IAsyncResult BeginReceiveInternal(TimeSpan timeout, SecurityProtocolCorrelationState correlationState, AsyncCallback callback, object state) 1392protected Message EndReceiveInternal(IAsyncResult result) 1458protected IAsyncResult BeginCloseSession(TimeSpan timeout, AsyncCallback callback, object state) 1471protected bool EndCloseSession(IAsyncResult result, out bool wasAborted) 1534protected virtual IAsyncResult BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state) 1549IAsyncResult result; 1575protected virtual SecurityProtocolCorrelationState EndCloseOutputSession(IAsyncResult result) 1664protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 1669protected override void OnEndClose(IAsyncResult result) 1692IAsyncResult result = this.channel.channelBinder.BeginClose(timeoutHelper.RemainingTime(), closeChannelBinderCallback, this); 1718static void ChannelBinderCloseCallback(IAsyncResult result) 1768IAsyncResult result = SecurityUtils.BeginCloseTokenProviderIfRequired(this.channel.sessionTokenProvider, timeoutHelper.RemainingTime(), closeTokenProviderCallback, this); 1787static void CloseTokenProviderCallback(IAsyncResult result) 1838public static void End(IAsyncResult result) 1859IAsyncResult result = channel.ChannelBinder.BeginTryReceive(timeoutHelper.RemainingTime(), onReceive, this); 1871bool CompleteReceive(IAsyncResult result) 1903public static Message End(IAsyncResult result) 1909static void OnReceive(IAsyncResult result) 1951IAsyncResult result = SecurityUtils.BeginOpenTokenProviderIfRequired(this.sessionChannel.sessionTokenProvider, timeoutHelper.RemainingTime(), openTokenProviderCallback, this); 1964static void OpenTokenProviderCallback(IAsyncResult result) 1997IAsyncResult result = this.sessionChannel.sessionTokenProvider.BeginGetToken(timeoutHelper.RemainingTime(), getTokenCallback, this); 2016static void GetTokenCallback(IAsyncResult result) 2060public static void End(IAsyncResult result) 2085IAsyncResult result = this.sessionChannel.BeginCloseOutputSession(timeoutHelper.RemainingTime(), closeOutputSessionCallback, this); 2111static void CloseOutputSessionCallback(IAsyncResult result) 2161IAsyncResult result = this.sessionChannel.inputSessionClosedHandle.BeginWait(this.timeoutHelper.RemainingTime(), true, shutdownWaitCallback, this); 2186static void ShutdownWaitCallback(IAsyncResult result) 2223public static bool End(IAsyncResult result, out bool wasAborted) 2259IAsyncResult result = this.sessionChannel.BeginCloseSession(this.timeoutHelper.RemainingTime(), closeSessionCallback, this); 2281static void CloseSessionCallback(IAsyncResult result) 2335IAsyncResult result = this.sessionChannel.outputSessionCloseHandle.BeginWait(timeoutHelper.RemainingTime(), true, outputSessionClosedCallback, this); 2372static void OutputSessionClosedCallback(IAsyncResult result) 2436IAsyncResult result = this.sessionChannel.BeginCloseCore(timeoutHelper.RemainingTime(), closeCoreCallback, this); 2445static void CloseCoreCallback(IAsyncResult result) 2469public static void End(IAsyncResult result) 2516public static Message End(IAsyncResult result, out TimeSpan remainingTime) 2539IAsyncResult result = this.sessionChannel.BeginSecureOutgoingMessage(message, timeoutHelper.RemainingTime(), secureOutgoingMessageCallback, this); 2590static void SecureOutgoingMessageCallback(IAsyncResult result) 2649IAsyncResult result = this.ChannelBinder.BeginSend(this.Message, this.TimeoutHelper.RemainingTime(), sendCallback, this); 2667static void SendCallback(IAsyncResult result) 2704public static SecurityProtocolCorrelationState End(IAsyncResult result) 2865protected override IAsyncResult BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state) 2871protected override SecurityProtocolCorrelationState EndCloseOutputSession(IAsyncResult result) 2877IAsyncResult BeginBaseCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state) 2882SecurityProtocolCorrelationState EndBaseCloseOutputSession(IAsyncResult result) 2944public IAsyncResult BeginRequest(Message message, AsyncCallback callback, object state) 2949public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state) 2956public Message EndRequest(IAsyncResult result) 2985IAsyncResult result = this.ChannelBinder.BeginRequest(this.Message, this.TimeoutHelper.RemainingTime(), requestCallback, this); 2994static void RequestCallback(IAsyncResult result) 3019public static Message EndAsReply(IAsyncResult result, out SecurityProtocolCorrelationState correlationState, out TimeSpan remainingTime) 3041IAsyncResult result = this.requestChannel.BeginBaseCloseOutputSession(timeoutHelper.RemainingTime(), baseCloseOutputSessionCallback, this); 3054static void BaseCloseOutputSessionCallback(IAsyncResult result) 3087IAsyncResult result = this.requestChannel.BeginReceiveInternal(this.timeoutHelper.RemainingTime(), this.correlationState, receiveInternalCallback, this); 3096static void ReceiveInternalCallback(IAsyncResult result) 3140public static void End(IAsyncResult result) 3200public IAsyncResult BeginReceive(AsyncCallback callback, object state) 3205public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state) 3210public Message EndReceive(IAsyncResult result) 3215public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 3221public bool EndTryReceive(IAsyncResult result, out Message message) 3264public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state) 3269public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 3276public void EndSend(IAsyncResult result) 3288IAsyncResult result = this.IssueReceive(); 3295IAsyncResult IssueReceive() 3328CompleteReceive((IAsyncResult)obj); 3331static void OnReceive(IAsyncResult result) 3339void CompleteReceive(IAsyncResult result) 3370IAsyncResult nextReceiveResult = null; 3421public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state) 3426public bool EndWaitForMessage(IAsyncResult result) 3523public IAsyncResult BeginCloseOutputSession(AsyncCallback callback, object state) 3528public IAsyncResult BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state) 3571public void EndCloseOutputSession(IAsyncResult result)
System\ServiceModel\Security\SecuritySessionSecurityTokenAuthenticator.cs (2)
1237public IAsyncResult InvokeBegin(object instance, object[] inputs, AsyncCallback callback, object state) 1242public object InvokeEnd(object instance, out object[] outputs, IAsyncResult result)
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (15)
455protected override IAsyncResult BeginGetTokenCore(TimeSpan timeout, AsyncCallback callback, object state) 461protected override SecurityToken EndGetTokenCore(IAsyncResult result) 472protected override IAsyncResult BeginRenewTokenCore(TimeSpan timeout, SecurityToken tokenToBeRenewed, AsyncCallback callback, object state) 478protected override SecurityToken EndRenewTokenCore(IAsyncResult result) 878IAsyncResult result = this.channel.BeginOpen(this.timeoutHelper.RemainingTime(), openChannelCallback, this); 887static void OpenChannelCallback(IAsyncResult result) 938IAsyncResult result = this.channel.BeginRequest(requestMessage, this.timeoutHelper.RemainingTime(), Fx.ThunkCallback(new AsyncCallback(this.RequestCallback)), wrapper); 958void RequestCallback(IAsyncResult result) 1018IAsyncResult result = this.channel.BeginClose(this.timeoutHelper.RemainingTime(), closeChannelCallback, this); 1027static void CloseChannelCallback(IAsyncResult result) 1069public static SecurityToken End(IAsyncResult result) 1096protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 1101protected override void OnEndOpen(IAsyncResult result) 1106protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 1111protected override void OnEndClose(IAsyncResult result)
System\ServiceModel\Security\SecuritySessionServerSettings.cs (103)
359public IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 364public IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 377public void OnEndClose(IAsyncResult result) 382public void OnEndOpen(IAsyncResult result) 417internal IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 422internal void EndClose(IAsyncResult result) 437internal IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 442internal void EndOpen(IAsyncResult result) 1001public IAsyncResult BeginReceive(TimeSpan timeout) 1006public void ProcessMessage(IAsyncResult result) 1091static void ReceiveCallback(IAsyncResult result) 1241protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 1247protected override void OnEndOpen(IAsyncResult result) 1318protected virtual IAsyncResult BeginCloseCore(TimeSpan timeout, AsyncCallback callback, object state) 1323protected virtual void EndCloseCore(IAsyncResult result) 1478public IAsyncResult BeginReceiveRequest(AsyncCallback callback, object state) 1483public IAsyncResult BeginReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state) 1488public RequestContext EndReceiveRequest(IAsyncResult result) 1501public IAsyncResult BeginTryReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state) 1506public bool EndTryReceiveRequest(IAsyncResult result, out RequestContext requestContext) 1607public IAsyncResult BeginReceive(AsyncCallback callback, object state) 1612public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state) 1617public Message EndReceive(IAsyncResult result) 1630public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 1635public bool EndTryReceive(IAsyncResult result, out Message message) 2020internal IAsyncResult BeginSendCloseResponse(RequestContext requestContext, Message closeResponse, TimeSpan timeout, AsyncCallback callback, object state) 2039internal void EndSendCloseResponse(IAsyncResult result) 2114internal IAsyncResult BeginSendClose(TimeSpan timeout, AsyncCallback callback, object state) 2133internal void EndSendClose(IAsyncResult result) 2168internal IAsyncResult BeginSendMessage(RequestContext requestContext, Message response, TimeSpan timeout, AsyncCallback callback, object state) 2173internal void EndSendMessage(IAsyncResult result) 2198IAsyncResult result = this.BeginSend(message); 2217IAsyncResult BeginSend(Message response) 2233void EndSend(IAsyncResult result) 2260static void SendCallback(IAsyncResult result) 2284public static void End(IAsyncResult result) 2296new public static void End(IAsyncResult result) 2321IAsyncResult result = this.channel.channelBinder.BeginClose(timeoutHelper.RemainingTime(), channelBinderCloseCallback, this); 2356static void ChannelBinderCloseCallback(IAsyncResult result) 2425IAsyncResult result = this.channel.settingsLifetimeManager.BeginClose(timeoutHelper.RemainingTime(), settingsLifetimeManagerCloseCallback, this); 2443static void SettingsLifetimeManagerCloseCallback(IAsyncResult result) 2484public static void End(IAsyncResult result) 2654IAsyncResult result = channel.ChannelBinder.BeginTryReceive(this.timeoutHelper.RemainingTime(), onReceive, this); 2662bool CompleteReceive(IAsyncResult result) 2757static ReceiveRequestAsyncResult End(IAsyncResult result) 2762public static bool EndAsMessage(IAsyncResult result, out Message message) 2786public static bool EndAsRequestContext(IAsyncResult result, out RequestContext requestContext) 2802static void OnReceive(IAsyncResult result) 2892protected override void EndCloseCore(IAsyncResult result) 3006protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 3014protected override void OnEndClose(IAsyncResult result) 3164IAsyncResult result = this.sessionChannel.BeginSendCloseResponse(closeRequestContext, closeResponse, timeoutHelper.RemainingTime(), sendCloseResponseCallback, this); 3209static void SendCloseResponseCallback(IAsyncResult result) 3268IAsyncResult result = this.sessionChannel.BeginTryReceive(this.timeoutHelper.RemainingTime(), receiveCallback, this); 3299static void ReceiveCallback(IAsyncResult result) 3368IAsyncResult result = this.sessionChannel.inputSessionClosedHandle.BeginWait(this.timeoutHelper.RemainingTime(), true, waitCallback, this); 3393static void WaitForInputSessionCloseCallback(IAsyncResult result) 3449IAsyncResult result = this.sessionChannel.BeginCloseCore(this.timeoutHelper.RemainingTime(), closeCoreCallback, this); 3463static void CloseCoreCallback(IAsyncResult result) 3487public static void End(IAsyncResult result) 3518public IAsyncResult BeginWaitForRequest(TimeSpan timeout, AsyncCallback callback, object state) 3523public bool EndWaitForRequest(IAsyncResult result) 3563protected override IAsyncResult OnBeginReply(Message message, TimeSpan timeout, AsyncCallback callback, object state) 3573protected override void OnEndReply(IAsyncResult result) 3638public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state) 3643public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 3651public void EndSend(IAsyncResult result) 3703protected override void EndCloseCore(IAsyncResult result) 3723protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 3728protected override void OnEndClose(IAsyncResult result) 4005IAsyncResult BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state) 4010void EndCloseOutputSession(IAsyncResult result) 4020public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state) 4025public bool EndWaitForMessage(IAsyncResult result) 4054IAsyncResult result = this.BeginSend(sendCallback, this); 4072static void SendCallback(IAsyncResult result) 4097IAsyncResult BeginSend(AsyncCallback callback, object state) 4109void EndSend(IAsyncResult result) 4134public static void End(IAsyncResult result) 4159IAsyncResult result = this.sessionChannel.BeginCloseOutputSession(timeoutHelper.RemainingTime(), closeOutputSessionCallback, this); 4178static void CloseOutputSessionCallback(IAsyncResult result) 4232IAsyncResult result = this.sessionChannel.BeginTryReceive(this.timeoutHelper.RemainingTime(), receiveCallback, this); 4262static void ReceiveCallback(IAsyncResult result) 4332IAsyncResult result = this.sessionChannel.inputSessionCloseHandle.BeginWait(this.timeoutHelper.RemainingTime(), inputSessionWaitCallback, this); 4362static void WaitForInputSessionCloseCallback(IAsyncResult result) 4432IAsyncResult result = this.sessionChannel.outputSessionCloseHandle.BeginWait(timeoutHelper.RemainingTime(), true, outputSessionWaitCallback, this); 4464static void WaitForOutputSessionCloseCallback(IAsyncResult result) 4521IAsyncResult result = this.sessionChannel.BeginCloseCore(this.timeoutHelper.RemainingTime(), closeCoreCallback, this); 4535static void CloseCoreCallback(IAsyncResult result) 4559public static void End(IAsyncResult result) 4612public IAsyncResult BeginCloseOutputSession(AsyncCallback callback, object state) 4617public IAsyncResult BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state) 4650public void EndCloseOutputSession(IAsyncResult result) 4718IAsyncResult BeginHandleDemuxFailure<TFaultContext>(Message message, TFaultContext faultContext, AsyncCallback callback, object state) 4725public IAsyncResult BeginHandleDemuxFailure(Message message, RequestContext faultContext, AsyncCallback callback, object state) 4730public IAsyncResult BeginHandleDemuxFailure(Message message, IOutputChannel faultContext, AsyncCallback callback, object state) 4735public void EndHandleDemuxFailure(IAsyncResult result) 4762IAsyncResult result = BeginSend(fault); 4771IAsyncResult BeginSend(Message message) 4776IAsyncResult result = null; 4797void EndSend(IAsyncResult result) 4812static void SendCallback(IAsyncResult result) 4837internal static void End(IAsyncResult result)
System\ServiceModel\Security\SecurityUtils.cs (15)
1524internal static IAsyncResult BeginOpenTokenProviderIfRequired(SecurityTokenProvider tokenProvider, TimeSpan timeout, 1530internal static void EndOpenTokenProviderIfRequired(IAsyncResult result) 1535internal static IAsyncResult BeginCloseTokenProviderIfRequired(SecurityTokenProvider tokenProvider, TimeSpan timeout, 1541internal static void EndCloseTokenProviderIfRequired(IAsyncResult result) 1576internal static IAsyncResult BeginOpenTokenAuthenticatorIfRequired(SecurityTokenAuthenticator tokenAuthenticator, TimeSpan timeout, 1582internal static void EndOpenTokenAuthenticatorIfRequired(IAsyncResult result) 1587internal static IAsyncResult BeginCloseTokenAuthenticatorIfRequired(SecurityTokenAuthenticator tokenAuthenticator, TimeSpan timeout, 1593internal static void EndCloseTokenAuthenticatorIfRequired(IAsyncResult result) 1661IAsyncResult result = this.communicationObject.BeginOpen(timeout, onOpen, this); 1675public static void End(IAsyncResult result) 1680static void OnOpen(IAsyncResult result) 1736IAsyncResult result = this.communicationObject.BeginClose(timeout, onClose, this); 1750public static void End(IAsyncResult result) 1755static void OnClose(IAsyncResult result) 2471public static void End(IAsyncResult result)
System\ServiceModel\Security\SpnegoTokenProvider.cs (2)
205protected override IAsyncResult BeginCreateNegotiationState(EndpointAddress target, Uri via, TimeSpan timeout, AsyncCallback callback, object state) 211protected override SspiNegotiationTokenProviderState EndCreateNegotiationState(IAsyncResult result)
System\ServiceModel\Security\SymmetricSecurityProtocol.cs (2)
156protected override IAsyncResult BeginSecureOutgoingMessageCore(Message message, TimeSpan timeout, SecurityProtocolCorrelationState correlationState, AsyncCallback callback, object state) 226protected override void EndSecureOutgoingMessageCore(IAsyncResult result, out Message message, out SecurityProtocolCorrelationState newCorrelationState)
System\ServiceModel\Security\TlsnegoTokenProvider.cs (5)
120protected override IAsyncResult BeginCreateNegotiationState(EndpointAddress target, Uri via, TimeSpan timeout, AsyncCallback callback, object state) 133protected override SspiNegotiationTokenProviderState EndCreateNegotiationState(IAsyncResult result) 241IAsyncResult result = this.tlsTokenProvider.ClientTokenProvider.BeginGetToken(timeout, getTokensCallback, this); 252static void GetTokensCallback(IAsyncResult result) 274public static SspiNegotiationTokenProviderState End(IAsyncResult result)
System\ServiceModel\Security\Tokens\IssuedSecurityTokenProvider.cs (12)
299public IAsyncResult BeginClose(AsyncCallback callback, object state) 304public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 309public void EndClose(IAsyncResult result) 336public IAsyncResult BeginOpen(AsyncCallback callback, object state) 342public IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 348public void EndOpen(IAsyncResult result) 360protected override IAsyncResult BeginGetTokenCore(TimeSpan timeout, AsyncCallback callback, object state) 370protected override SecurityToken EndGetTokenCore(IAsyncResult result) 762protected override IAsyncResult BeginInitializeChannelFactories(EndpointAddress target, TimeSpan timeout, AsyncCallback callback, object state) 774protected override void EndInitializeChannelFactories(IAsyncResult result) 827protected override IAsyncResult BeginCreateNegotiationState(EndpointAddress target, Uri via, TimeSpan timeout, AsyncCallback callback, object state) 832protected override FederatedTokenProviderState EndCreateNegotiationState(IAsyncResult result)
System\ServiceModel\Security\TransportSecurityProtocol.cs (7)
75public override IAsyncResult BeginSecureOutgoingMessage(Message message, TimeSpan timeout, SecurityProtocolCorrelationState correlationState, AsyncCallback callback, object state) 105public override IAsyncResult BeginSecureOutgoingMessage(Message message, TimeSpan timeout, AsyncCallback callback, object state) 110protected virtual IAsyncResult BeginSecureOutgoingMessageAtInitiatorCore(Message message, string actor, TimeSpan timeout, AsyncCallback callback, object state) 125protected virtual Message EndSecureOutgoingMessageAtInitiatorCore(IAsyncResult result) 137public override void EndSecureOutgoingMessage(IAsyncResult result, out Message message) 143public override void EndSecureOutgoingMessage(IAsyncResult result, out Message message, out SecurityProtocolCorrelationState newCorrelationState) 294internal static Message End(IAsyncResult result)
System\ServiceModel\Security\WrappedSessionSecurityTokenAuthenticator.cs (6)
161public System.IAsyncResult BeginClose( System.TimeSpan timeout, System.AsyncCallback callback, object state ) 166public System.IAsyncResult BeginClose( System.AsyncCallback callback, object state ) 171public System.IAsyncResult BeginOpen( System.TimeSpan timeout, System.AsyncCallback callback, object state ) 176public System.IAsyncResult BeginOpen( System.AsyncCallback callback, object state ) 203public void EndClose( System.IAsyncResult result ) 208public void EndOpen( System.IAsyncResult result )
System\ServiceModel\Security\WrapperSecurityCommunicationObject.cs (24)
46protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 51protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 73protected override void OnEndClose(IAsyncResult result) 78protected override void OnEndOpen(IAsyncResult result) 200public IAsyncResult BeginClose(AsyncCallback callback, object state) 205public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 210public void EndClose(IAsyncResult result) 225public IAsyncResult BeginOpen(AsyncCallback callback, object state) 230public IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 235public void EndOpen(IAsyncResult result) 250public IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 255public IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 273public void OnEndClose(IAsyncResult result) 278public void OnEndOpen(IAsyncResult result) 377public IAsyncResult BeginClose(AsyncCallback callback, object state) 382public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 387public void EndClose(IAsyncResult result) 402public IAsyncResult BeginOpen(AsyncCallback callback, object state) 407public IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 412public void EndOpen(IAsyncResult result) 427public IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 432public IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 450public void OnEndClose(IAsyncResult result) 455public void OnEndOpen(IAsyncResult result)
System\ServiceModel\Security\WSSecurityJan2004.cs (2)
353public override IAsyncResult BeginReadTokenCore(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver, AsyncCallback callback, object state) 382public override SecurityToken EndReadTokenCore(IAsyncResult result)
System\ServiceModel\Security\WSSecurityTokenSerializer.cs (2)
483public virtual IAsyncResult BeginReadTokenCore(XmlDictionaryReader reader, 549public virtual SecurityToken EndReadTokenCore(IAsyncResult result)
System\ServiceModel\Security\WSTrustChannel.cs (45)
97public new static Message End(IAsyncResult iar) 110void OnOperationCompleted(IAsyncResult iar) 127Message EndOperation(IAsyncResult iar) 757/// <returns>The <see cref="IAsyncResult" /> that references the asynchronous close operation.</returns> 758public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 774/// <returns>The <see cref="IAsyncResult" /> that references the asynchronous close operation.</returns> 775public IAsyncResult BeginClose(AsyncCallback callback, object state) 794/// <returns>The <see cref="IAsyncResult" /> that references the asynchronous open operation.</returns> 795public IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 811/// <returns>The <see cref="IAsyncResult" /> that references the asynchronous open operation.</returns> 812public IAsyncResult BeginOpen(AsyncCallback callback, object state) 869/// <param name="result">The <see cref="IAsyncResult" /> that is returned by a call to the BeginClose() method.</param> 870public void EndClose(IAsyncResult result) 878/// <param name="result">The <see cref="IAsyncResult" /> that is returned by a call to the BeginClose() method.</param> 879public void EndOpen(IAsyncResult result) 1020IAsyncResult BeginOperation(WSTrustChannel.WSTrustChannelAsyncResult.Operations operation, 1037System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse EndOperation(IAsyncResult result, out WSTrustChannelAsyncResult tcar) 1064/// <returns>An <see cref="IAsyncResult" /> object that represents the asynchronous send, which could still 1066public IAsyncResult BeginCancel(System.IdentityModel.Protocols.WSTrust.RequestSecurityToken rst, AsyncCallback callback, object state) 1077public void EndCancel(IAsyncResult result, out System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse rstr) 1090/// <returns>An <see cref="IAsyncResult" /> object that represents the asynchronous send, which could still 1092public IAsyncResult BeginIssue(System.IdentityModel.Protocols.WSTrust.RequestSecurityToken rst, AsyncCallback callback, object asyncState) 1104public SecurityToken EndIssue(IAsyncResult result, out System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse rstr) 1119/// <returns>An <see cref="IAsyncResult" /> object that represents the asynchronous send, which could still 1121public IAsyncResult BeginRenew(System.IdentityModel.Protocols.WSTrust.RequestSecurityToken rst, AsyncCallback callback, object state) 1132public void EndRenew(IAsyncResult result, out System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse rstr) 1145/// <returns>An <see cref="IAsyncResult" /> object that represents the asynchronous send, which could still 1147public IAsyncResult BeginValidate(System.IdentityModel.Protocols.WSTrust.RequestSecurityToken rst, AsyncCallback callback, object state) 1158public void EndValidate(IAsyncResult result, out System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse rstr) 1190/// <returns>The <see cref="IAsyncResult" /> that references the asynchronous close operation.</returns> 1191public IAsyncResult BeginCancel(Message message, AsyncCallback callback, object asyncState) 1199/// <param name="asyncResult">The <see cref="IAsyncResult" /> that is returned by a call to the BeginClose() method.</param> 1201public Message EndCancel(IAsyncResult asyncResult) 1228/// <returns>The <see cref="IAsyncResult" /> that references the asynchronous issue operation.</returns> 1229public IAsyncResult BeginIssue(Message message, AsyncCallback callback, object asyncState) 1237/// <param name="asyncResult">The <see cref="IAsyncResult" /> that is returned by a call to the BeginIssue() method.</param> 1239public Message EndIssue(IAsyncResult asyncResult) 1266/// <returns>The <see cref="IAsyncResult" /> that references the asynchronous renew operation.</returns> 1267public IAsyncResult BeginRenew(Message message, AsyncCallback callback, object asyncState) 1275/// <param name="asyncResult">The <see cref="IAsyncResult" /> that is returned by a call to the BeginRenew() method.</param> 1277public Message EndRenew(IAsyncResult asyncResult) 1304/// <returns>The <see cref="IAsyncResult" /> that references the asynchronous validate operation.</returns> 1305public IAsyncResult BeginValidate(Message message, AsyncCallback callback, object asyncState) 1313/// <param name="asyncResult">The <see cref="IAsyncResult" /> that is returned by a call to the BeginValidate() method.</param> 1315public Message EndValidate(IAsyncResult asyncResult)
System\ServiceModel\Security\WSTrustFeb2005.cs (4)
318protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 323protected override void OnEndOpen(IAsyncResult result) 328protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 333protected override void OnEndClose(IAsyncResult result)
System\ServiceModel\Security\WSTrustServiceContract.cs (46)
191/// <returns><see cref="IAsyncResult"/> that represents the asynchronous operation. Used as the input 193protected virtual IAsyncResult BeginDispatchRequest(DispatchContext dispatchContext, AsyncCallback asyncCallback, object asyncState) 201/// <param name="ar"><see cref="IAsyncResult"/> that was returned by the 205protected virtual DispatchContext EndDispatchRequest(IAsyncResult ar) 524protected virtual IAsyncResult BeginProcessCore(Message requestMessage, WSTrustRequestSerializer requestSerializer, WSTrustResponseSerializer responseSerializer, string requestAction, string responseAction, string trustNamespace, AsyncCallback callback, object state) 556IAsyncResult result = null; 611protected virtual Message EndProcessCore(IAsyncResult ar, string requestAction, string responseAction, string trustNamespace) 921public IAsyncResult BeginTrust13Cancel(Message request, AsyncCallback callback, object state) 931public Message EndTrust13Cancel(IAsyncResult ar) 943public IAsyncResult BeginTrust13Issue(Message request, AsyncCallback callback, object state) 953public Message EndTrust13Issue(IAsyncResult ar) 965public IAsyncResult BeginTrust13Renew(Message request, AsyncCallback callback, object state) 975public Message EndTrust13Renew(IAsyncResult ar) 987public IAsyncResult BeginTrust13Validate(Message request, AsyncCallback callback, object state) 997public Message EndTrust13Validate(IAsyncResult ar) 1009public IAsyncResult BeginTrust13CancelResponse(Message request, AsyncCallback callback, object state) 1026public Message EndTrust13CancelResponse(IAsyncResult ar) 1041public IAsyncResult BeginTrust13IssueResponse(Message request, AsyncCallback callback, object state) 1058public Message EndTrust13IssueResponse(IAsyncResult ar) 1073public IAsyncResult BeginTrust13RenewResponse(Message request, AsyncCallback callback, object state) 1090public Message EndTrust13RenewResponse(IAsyncResult ar) 1105public IAsyncResult BeginTrust13ValidateResponse(Message request, AsyncCallback callback, object state) 1122public Message EndTrust13ValidateResponse(IAsyncResult ar) 1137public IAsyncResult BeginTrustFeb2005Cancel(Message request, AsyncCallback callback, object state) 1147public Message EndTrustFeb2005Cancel(IAsyncResult ar) 1159public IAsyncResult BeginTrustFeb2005Issue(Message request, AsyncCallback callback, object state) 1169public Message EndTrustFeb2005Issue(IAsyncResult ar) 1181public IAsyncResult BeginTrustFeb2005Renew(Message request, AsyncCallback callback, object state) 1191public Message EndTrustFeb2005Renew(IAsyncResult ar) 1203public IAsyncResult BeginTrustFeb2005Validate(Message request, AsyncCallback callback, object state) 1213public Message EndTrustFeb2005Validate(IAsyncResult ar) 1225public IAsyncResult BeginTrustFeb2005CancelResponse(Message request, AsyncCallback callback, object state) 1242public Message EndTrustFeb2005CancelResponse(IAsyncResult ar) 1257public IAsyncResult BeginTrustFeb2005IssueResponse(Message request, AsyncCallback callback, object state) 1274public Message EndTrustFeb2005IssueResponse(IAsyncResult ar) 1289public IAsyncResult BeginTrustFeb2005RenewResponse(Message request, AsyncCallback callback, object state) 1306public Message EndTrustFeb2005RenewResponse(IAsyncResult ar) 1321public IAsyncResult BeginTrustFeb2005ValidateResponse(Message request, AsyncCallback callback, object state) 1338public Message EndTrustFeb2005ValidateResponse(IAsyncResult ar) 1425public new static Message End(IAsyncResult ar) 1448private void OnDispatchRequestCompleted(IAsyncResult ar) 1513public new static DispatchContext End(IAsyncResult ar) 1525void OnCancelComplete(IAsyncResult ar) 1541void OnIssueComplete(IAsyncResult ar) 1557void OnRenewComplete(IAsyncResult ar) 1573void OnValidateComplete(IAsyncResult ar)
System\ServiceModel\ServiceChannelManager.cs (6)
125public IAsyncResult BeginCloseInput(TimeSpan timeout, AsyncCallback callback, object state) 237public void EndCloseInput(IAsyncResult result) 314protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 319IAsyncResult OnBeginCloseContinue(TimeSpan timeout, AsyncCallback callback, object state) 334protected override void OnEndClose(IAsyncResult result) 339void OnEndCloseContinue(IAsyncResult result)
System\ServiceModel\ServiceHost.cs (26)
562internal virtual IAsyncResult BeginAfterInitializeRuntime(TimeSpan timeout, AsyncCallback callback, object state) 567internal virtual void EndAfterInitializeRuntime(IAsyncResult result) 828protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 841protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 847IAsyncResult BeginOpenChannelDispatchers(TimeSpan timeout, AsyncCallback callback, object state) 951protected override void OnEndClose(IAsyncResult result) 974protected override void OnEndOpen(IAsyncResult result) 979void EndOpenChannelDispatchers(IAsyncResult result) 1264IAsyncResult result = this.host.BeginAfterInitializeRuntime( 1270static bool HandleEndAfterInitializeRuntime(IAsyncResult result) 1280IAsyncResult result = this.host.BeginOpenChannelDispatchers( 1286static bool HandleEndOpenChannelDispatchers(IAsyncResult result) 1294public static void End(IAsyncResult result) 1333IAsyncResult result = null; 1357void CloseListenersCallback(IAsyncResult result) 1365void FinishCloseListeners(IAsyncResult result, bool completedSynchronously) 1396IAsyncResult result = null; 1432void CloseInputCallback(IAsyncResult result) 1440void FinishCloseInput(IAsyncResult result, bool completedSynchronously) 1472IAsyncResult result = null; 1497void CloseInstancesCallback(IAsyncResult result) 1505void FinishCloseInstances(IAsyncResult result, bool completedSynchronously) 1537IAsyncResult result = null; 1561void CloseChannelDispatchersCallback(IAsyncResult result) 1569void FinishCloseChannelDispatchers(IAsyncResult result, bool completedSynchronously) 1593public static void End(IAsyncResult result)
System.ServiceModel.Activation (28)
System\ServiceModel\Activation\AspNetRouteServiceHttpHandler.cs (2)
46public IAsyncResult BeginProcessRequest(HttpContext context, AsyncCallback callback, object extraData) 54public void EndProcessRequest(IAsyncResult result)
System\ServiceModel\Activation\CollectibleLRUCache.cs (5)
271public abstract IAsyncResult BeginClose(AsyncCallback callback, object state); 272public abstract void EndClose(IAsyncResult result); 322IAsyncResult result = this[i].BeginClose(collectibleNodeClosedCallback, this[i]); 360void OnCollectibleNodeClosed(IAsyncResult result) 370void HandleCollectibleNodeClosed(IAsyncResult result)
System\ServiceModel\Activation\HostedAspNetEnvironment.cs (4)
656protected override IAsyncResult OnBeginAbandon(TimeSpan timeout, AsyncCallback callback, object state) 661protected override IAsyncResult OnBeginComplete(TimeSpan timeout, AsyncCallback callback, object state) 675protected override void OnEndAbandon(IAsyncResult result) 681protected override void OnEndComplete(IAsyncResult result)
System\ServiceModel\Activation\HostedHttpContext.cs (6)
164protected override IAsyncResult OnBeginReply( 377public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object state) 388IAsyncResult result = base.BeginRead(buffer, offset, count, callback, state); 405public override int EndRead(IAsyncResult result) 677public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state) 690public override void EndWrite(IAsyncResult result)
System\ServiceModel\Activation\HostedHttpRequestAsyncResult.cs (2)
354static void ProcessRequestComplete(IAsyncResult result) 687public static void End(IAsyncResult result)
System\ServiceModel\Activation\HostedHttpTransportManager.cs (3)
143IAsyncResult httpContextReceivedResult = listener.BeginHttpContextReceived(hostedContext, 176static void EndHttpContextReceived(IAsyncResult httpContextReceivedResult) 189static void OnHttpContextReceived(IAsyncResult httpContextReceivedResult)
System\ServiceModel\Activation\ServiceHttpHandlerFactory.cs (2)
59public IAsyncResult BeginProcessRequest(HttpContext context, AsyncCallback callback, object extraData) 67public void EndProcessRequest(IAsyncResult result)
System\ServiceModel\Activation\ServiceHttpModule.cs (2)
53static public IAsyncResult BeginProcessRequest(object sender, EventArgs e, AsyncCallback cb, object extraData) 124static public void EndProcessRequest(IAsyncResult ar)
System\ServiceModel\ServiceHostingEnvironment.cs (2)
1693public override IAsyncResult BeginClose(AsyncCallback callback, object state) 1722public override void EndClose(IAsyncResult result)
System.ServiceModel.Activities (442)
System\ServiceModel\Activities\Description\WorkflowOperationBehavior.cs (2)
162protected override IAsyncResult OnBeginServiceOperation(WorkflowServiceInstance workflowInstance, OperationContext operationContext, 172protected override object OnEndServiceOperation(WorkflowServiceInstance durableInstance, out object[] outputs, IAsyncResult result)
System\ServiceModel\Activities\Dispatcher\BufferedReceiveManager.cs (3)
269IAsyncResult result = receiveContext.BeginAbandon( 289static bool HandleEndAbandon(IAsyncResult result) 296static void OnEndAbandon(IAsyncResult result)
System\ServiceModel\Activities\Dispatcher\ControlOperationInvoker.cs (24)
164public IAsyncResult InvokeBegin(object instance, object[] inputs, AsyncCallback callback, object state) 169public IAsyncResult InvokeBegin(object instance, object[] inputs, IInvokeReceivedNotification notification, AsyncCallback callback, object state) 180public object InvokeEnd(object instance, out object[] outputs, IAsyncResult result) 186protected virtual IAsyncResult OnBeginServiceOperation(WorkflowServiceInstance durableInstance, 193protected virtual object OnEndServiceOperation(WorkflowServiceInstance durableInstance, out object[] outputs, IAsyncResult result) 366public static object End(out object[] outputs, IAsyncResult result) 385IAsyncResult result; 476static bool HandleEndGetInstance(IAsyncResult result) 555IAsyncResult result = null; 666static bool HandleEndOperation(IAsyncResult result) 760IAsyncResult result = this.receiveContext.BeginAbandon(TimeSpan.MaxValue, this.PrepareAsyncCompletion(handleEndAbandonReceiveContext), this); 764static bool HandleEndAbandonReceiveContext(IAsyncResult result) 874IAsyncResult BeginRunAndGetResponse(TimeoutHelper timeoutHelper, AsyncCallback callback, object state) 879object EndRunAndGetResponse(IAsyncResult result, out object[] outputs) 923public static object End(IAsyncResult result, out object[] outputs) 932IAsyncResult result = this.control.workflowServiceInstance.BeginRun(this.control.transaction, this.timeoutHelper.RemainingTime(), 937static bool HandleEndRun(IAsyncResult result) 946IAsyncResult result = this.control.workflowServiceInstance.BeginSuspend(false, SR.DefaultCreateOnlyReason, 951static bool HandleEndSuspend(IAsyncResult result) 960IAsyncResult result = this.control.getInstanceContext.WorkflowHostingResponseContext.BeginGetResponse(this.timeoutHelper.RemainingTime(), 965static bool HandleEndGetResponse(IAsyncResult result) 1031IAsyncResult result; 1054public static object End(out object[] outputs, IAsyncResult result) 1061static bool HandleEndInvoke(IAsyncResult result)
System\ServiceModel\Activities\Dispatcher\DurableInstanceManager.cs (37)
189IAsyncResult BeginWaitAndHandleStoreEvents(AsyncCallback callback, object state) 194void EndWaitAndHandleStoreEvents(IAsyncResult result) 199static void WaitAndHandleStoreEventsCallback(IAsyncResult result) 268internal IAsyncResult BeginGetInstance(InstanceKey instanceKey, ICollection<InstanceKey> additionalKeys, WorkflowGetInstanceContext parameters, TimeSpan timeout, AsyncCallback callback, object state) 274internal IAsyncResult BeginGetInstance(Guid instanceId, WorkflowGetInstanceContext parameters, 281internal WorkflowServiceInstance EndGetInstance(IAsyncResult result) 425public IAsyncResult BeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 435public void EndOpen(IAsyncResult result) 449public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 454public void EndClose(IAsyncResult result) 537IAsyncResult executeResult = this.instanceManager.InstanceStore.BeginExecute(this.handle, 559static bool HandleEndExecute(IAsyncResult result) 590public static void End(IAsyncResult result) 782IAsyncResult result = currentInstance.BeginReleaseInstance( 833IAsyncResult executeResult = null; 863static void HandleEndReleaseInstance(IAsyncResult result) 917static bool HandleEndExecute(IAsyncResult result) 939public static void End(IAsyncResult result) 944static void HandleEndReleaseInstanceWrapperCallback(IAsyncResult result) 1057public static WorkflowServiceInstance End(IAsyncResult result) 1072IAsyncResult nextResult = this.durableInstance.BeginTryAcquireReference(this.timeout, this.PrepareAsyncCompletion(handleEndAcquireReference), this); 1076static bool HandleEndAcquireReference(IAsyncResult result) 1096IAsyncResult enlistResult = null; 1130static bool HandleEndEnlistContext(IAsyncResult result) 1160IAsyncResult nextResult = null; 1202IAsyncResult result; 1226static bool HandleEndLoad(IAsyncResult result) 1244static bool HandleAssociateInfrastructureKeys(IAsyncResult result) 1273IAsyncResult result = this.committableTransaction.BeginCommit(PrepareAsyncCompletion(handleCommit), this); 1282static bool HandleCommit(IAsyncResult result) 1349public static void End(IAsyncResult result) 1384IAsyncResult result = this.instanceManager.InstanceStore.BeginWaitForEvents(this.instanceManager.handle, 1389static bool HandleEndWaitForStoreEvents(IAsyncResult result) 1408IAsyncResult result = this.instanceManager.BeginGetInstance(Guid.Empty, null, null, this.instanceManager.Host.PersistTimeout, 1428static bool HandleEndGetInstance(IAsyncResult result) 1450IAsyncResult result = this.currentInstance.BeginRun(null, TimeSpan.MaxValue, PrepareAsyncCompletion(handleEndRunInstance), this); 1472static bool HandleEndRunInstance(IAsyncResult result)
System\ServiceModel\Activities\Dispatcher\PersistenceContext.cs (35)
215public IAsyncResult BeginSave( 228public void EndSave(IAsyncResult result) 233public IAsyncResult BeginRelease(TimeSpan timeout, AsyncCallback callback, object state) 240public void EndRelease(IAsyncResult result) 245public IAsyncResult BeginAssociateKeys( 251internal IAsyncResult BeginAssociateInfrastructureKeys( 257IAsyncResult BeginAssociateKeysHelper(ICollection<InstanceKey> associatedKeys, 266public void EndAssociateKeys(IAsyncResult result) 271internal void EndAssociateInfrastructureKeys(IAsyncResult result) 277public IAsyncResult BeginUpdateSuspendMetadata(Exception reason, TimeSpan timeout, AsyncCallback callback, object state) 284public void EndUpdateSuspendMetadata(IAsyncResult result) 343protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 348protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 370protected override void OnEndClose(IAsyncResult result) 375protected override void OnEndOpen(IAsyncResult result) 527internal void EndEnlist(IAsyncResult result) 758public static void End(IAsyncResult result) 844IAsyncResult result = this.persistenceContext.store.BeginExecute( 901public static void End(IAsyncResult result) 906static bool HandleEndExecute(IAsyncResult result) 921IAsyncResult result; 938static bool HandleEndEnlist(IAsyncResult result) 1000IAsyncResult result = this.persistenceContext.store.BeginExecute( 1058public static void End(IAsyncResult result) 1063static bool HandleEndExecute(IAsyncResult result) 1074IAsyncResult result; 1082static bool HandleEndEnlist(IAsyncResult result) 1157IAsyncResult enlistResult = persistenceContext.BeginEnlist(this.timeoutHelper.RemainingTime(), 1200public static void End(IAsyncResult result) 1205static bool HandleEndExecute(IAsyncResult result) 1212static bool HandleEndEnlist(IAsyncResult result) 1255IAsyncResult beginExecuteResult = null; 1351IAsyncResult result = this.persistenceContext.store.BeginExecute( 1396public static void End(IAsyncResult result) 1401static bool HandleEndExecute(IAsyncResult result)
System\ServiceModel\Activities\Dispatcher\PersistenceProviderDirectory.cs (18)
153public IAsyncResult BeginLoad(InstanceKey key, ICollection<InstanceKey> associatedKeys, Transaction transaction, 170public IAsyncResult BeginLoad(Guid instanceId, ICollection<InstanceKey> associatedKeys, Transaction transaction, bool loadAny, WorkflowIdentityKey updatedIdentity, 186public PersistenceContext EndLoad(IAsyncResult result, out bool fromCache) 192public IAsyncResult BeginLoadOrCreate(InstanceKey key, Guid suggestedId, 210public IAsyncResult BeginLoadOrCreate(Guid instanceId, ICollection<InstanceKey> associatedKeys, Transaction transaction, 218public PersistenceContext EndLoadOrCreate(IAsyncResult result, out bool fromCache) 449internal IAsyncResult BeginReserveThrottle(TimeSpan timeout, AsyncCallback callback, object state) 454internal void EndReserveThrottle(out bool ownsThrottle, IAsyncResult result) 818public static PersistenceContext End(IAsyncResult result, out bool fromCache) 861static bool HandleReserveThrottle(IAsyncResult result) 921IAsyncResult reserveThrottleResult = this.ppd.BeginReserveThrottle(this.timeoutHelper.RemainingTime(), 975IAsyncResult executeResult; 1018static bool HandleExecute(IAsyncResult result) 1139IAsyncResult loadResult; 1166static bool HandleLoadPipeline(IAsyncResult result) 1184IAsyncResult result; 1192static bool HandleContextEnlist(IAsyncResult result) 1376public static bool End(IAsyncResult result)
System\ServiceModel\Activities\Dispatcher\TransactionContext.cs (5)
63IAsyncResult result = new PrepareAsyncResult(this, TransactionContext.handleEndPrepare, preparingEnlistment); 107static void HandleEndPrepare(IAsyncResult result) 144IAsyncResult result = null; 155public static void End(IAsyncResult result) 160static bool OnEndPersist(IAsyncResult result)
System\ServiceModel\Activities\Dispatcher\TransactionWaitAsyncResult.cs (1)
194public static void End(IAsyncResult result)
System\ServiceModel\Activities\Dispatcher\WorkflowServiceInstance.cs (140)
737IAsyncResult BeginAcquireLockOnIdle(TimeSpan timeout, ref bool ownsLock, AsyncCallback callback, object state) 742void EndAcquireLockOnIdle(IAsyncResult result) 748void EndAcquireLockOnIdle(IAsyncResult result, ref bool ownsLock) 847public IAsyncResult BeginAbandon(Exception reason, TimeSpan timeout, AsyncCallback callback, object state) 854IAsyncResult BeginAbandon(Exception reason, bool shouldTrackAbort, TimeSpan timeout, AsyncCallback callback, object state) 859public void EndAbandon(IAsyncResult result) 864IAsyncResult BeginAbandonAndSuspend(Exception reason, TimeSpan timeout, AsyncCallback callback, object state) 870void EndAbandonAndSuspend(IAsyncResult result) 1082IAsyncResult result = this.BeginFlushTrackingRecords(this.trackTimeout, Fx.ThunkCallback(new AsyncCallback(OnAbortTrackingComplete)), isUpdateFailure); 1112void OnAbortTrackingComplete(IAsyncResult result) 1149public IAsyncResult BeginTerminate(string reason, Transaction transaction, TimeSpan timeout, AsyncCallback callback, object state) 1161IAsyncResult BeginTerminate(Exception reason, Transaction transaction, TimeSpan timeout, AsyncCallback callback, object state) 1167public void EndTerminate(IAsyncResult result) 1173public IAsyncResult BeginCancel(Transaction transaction, TimeSpan timeout, AsyncCallback callback, object state) 1178public void EndCancel(IAsyncResult result) 1189public IAsyncResult BeginRun(Transaction transaction, TimeSpan timeout, AsyncCallback callback, object state) 1194public IAsyncResult BeginRun(Transaction transaction, string operationName, TimeSpan timeout, AsyncCallback callback, object state) 1199public void EndRun(IAsyncResult result) 1232IAsyncResult result = this.Controller.BeginFlushTrackingRecords(this.trackTimeout, TrackCompleteDoneCallback, this); 1286IAsyncResult result = this.Controller.BeginFlushTrackingRecords(this.trackTimeout, TrackIdleDoneCallback, this); 1331static void OnTrackCompleteDone(IAsyncResult result) 1363static void OnTrackIdleDone(IAsyncResult result) 1406IAsyncResult result = this.Controller.BeginFlushTrackingRecords(this.trackTimeout, TrackUnhandledExceptionDoneCallback, data); 1440static void OnTrackUnhandledExceptionDone(IAsyncResult result) 1474public IAsyncResult BeginSuspend(bool isUnlocked, string reason, Transaction transaction, TimeSpan timeout, AsyncCallback callback, object state) 1479public void EndSuspend(IAsyncResult result) 1484public IAsyncResult BeginUnsuspend(Transaction transaction, TimeSpan timeout, AsyncCallback callback, object state) 1489public void EndUnsuspend(IAsyncResult result) 1574public IAsyncResult BeginPersist(TimeSpan timeout, AsyncCallback callback, object state) 1579IAsyncResult BeginPersist(bool isTry, TimeSpan timeout, AsyncCallback callback, object state) 1585public bool EndPersist(IAsyncResult result) 1590protected override IAsyncResult OnBeginFlushTrackingRecords(AsyncCallback callback, object state) 1595protected override void OnEndFlushTrackingRecords(IAsyncResult result) 1600protected override IAsyncResult OnBeginPersist(AsyncCallback callback, object state) 1605protected override void OnEndPersist(IAsyncResult result) 1610protected override IAsyncResult OnBeginAssociateKeys(ICollection<InstanceKey> keys, AsyncCallback callback, object state) 1622protected override void OnEndAssociateKeys(IAsyncResult result) 1688public IAsyncResult BeginResumeProtocolBookmark(Bookmark bookmark, BookmarkScope bookmarkScope, object value, TimeSpan timeout, AsyncCallback callback, object state) 1710public BookmarkResumptionResult EndResumeProtocolBookmark(IAsyncResult result) 1715protected override IAsyncResult OnBeginResumeBookmark(Bookmark bookmark, object value, TimeSpan timeout, AsyncCallback callback, object state) 1720protected override BookmarkResumptionResult OnEndResumeBookmark(IAsyncResult result) 1765IAsyncResult BeginWaitForCanPersist(ref bool ownsLock, TimeSpan timeout, AsyncCallback callback, object state) 1770void EndWaitForCanPersist(IAsyncResult result, ref bool ownsLock) 2037public IAsyncResult BeginTryAcquireReference(TimeSpan timeout, AsyncCallback callback, object state) 2042public bool EndTryAcquireReference(IAsyncResult result) 2047public IAsyncResult BeginReleaseInstance(bool isTryUnload, TimeSpan timeout, AsyncCallback callback, object state) 2052public void EndReleaseInstance(IAsyncResult result) 2057public static void EndReleaseInstanceForClose(IAsyncResult result) 2062public IAsyncResult BeginAssociateInfrastructureKeys(ICollection<InstanceKey> associatedKeys, Transaction transaction, TimeSpan timeout, AsyncCallback callback, object state) 2067public void EndAssociateInfrastructureKeys(IAsyncResult result) 2080public IAsyncResult BeginWaitForPendingOperations(string sessionId, TimeSpan timeout, AsyncCallback callback, object state) 2104public void EndWaitForPendingOperations(IAsyncResult result) 2110public void RemovePendingOperation(string sessionId, IAsyncResult result) 2188IAsyncResult result = this.BeginReleaseInstance(false, TimeSpan.MaxValue, handleEndReleaseInstance, this); 2197static void HandleEndReleaseInstance(IAsyncResult result) 2208void OnReleaseInstance(IAsyncResult result) 2471public static void End(IAsyncResult result) 2535IAsyncResult result = null; 2572IAsyncResult BeginUnload(TimeSpan timeout, AsyncCallback callback, object state) 2577void EndUnload(IAsyncResult result) 2582IAsyncResult BeginTryUnload(TimeSpan timeout, AsyncCallback callback, object state) 2587bool EndTryUnload(IAsyncResult result) 2592static bool HandleEndUnload(IAsyncResult result) 2709IAsyncResult result = this.workflowInstance.persistenceContext.BeginRelease(this.workflowInstance.persistTimeout, 2715static bool OnReleasePersistenceContext(IAsyncResult result) 2724IAsyncResult closeResult = thisPtr.workflowInstance.persistenceContext.BeginClose(thisPtr.timeoutHelper.RemainingTime(), 2729static bool OnClosePersistenceContext(IAsyncResult result) 2787public static bool End(IAsyncResult result) 2889public static void End(IAsyncResult result) 2919IAsyncResult result = this.workflow.BeginAcquireLockOnIdle(this.timeoutHelper.RemainingTime(), ref this.ownsLock, 2927public static void End(IAsyncResult result) 2932static bool HandleLockAcquired(IAsyncResult result) 2951IAsyncResult result; 2960static bool HandleAssociateInfrastructureKeys(IAsyncResult result) 3049IAsyncResult result = this.instance.BeginAcquireLockOnIdle(timeoutHelper.RemainingTime(), ref this.ownsLock, PrepareAsyncCompletion(handleEndLockAcquired), this); 3055IAsyncResult result = this.instance.BeginTryAcquireReference(timeoutHelper.RemainingTime(), PrepareAsyncCompletion(handleEndReferenceAcquired), this); 3059static bool HandleEndReferenceAcquired(IAsyncResult result) 3150public static BookmarkResumptionResult End(IAsyncResult result) 3156static bool HandleEndLockAcquired(IAsyncResult result) 3237IAsyncResult result = this.instance.Controller.BeginFlushTrackingRecords(this.instance.trackTimeout, PrepareAsyncCompletion(handleEndTrack), this); 3244static bool HandleEndTrack(IAsyncResult result) 3507IAsyncResult result = this.instance.BeginWaitForCanPersist(ref this.ownsLock, this.timeoutHelper.RemainingTime(), 3618IAsyncResult result = this.instance.persistenceContext.BeginOpen(timeoutHelper.RemainingTime(), 3634public static bool End(IAsyncResult result) 3641static bool OutermostCallback(IAsyncResult result) 3703static bool OnWaitForCanPersist(IAsyncResult result) 3712static bool OnProviderOpened(IAsyncResult result) 3735IAsyncResult result = this.instance.Controller.BeginFlushTrackingRecords(this.instance.trackTimeout, PrepareInnerAsyncCompletion(trackingCompleteCallback), this); 3744static bool OnTrackingComplete(IAsyncResult result) 3798IAsyncResult result = null; 3833static bool OnPersisted(IAsyncResult result) 3862IAsyncResult result = null; 3902static bool OnSaved(IAsyncResult result) 3928IAsyncResult result = null; 3962static bool OnNotifyCompletion(IAsyncResult result) 3986IAsyncResult completeResult = null; 4017static bool OnCompleteContext(IAsyncResult result) 4176IAsyncResult result = BeginPerformOperation(PrepareAsyncCompletion(handleEndPerformOperation), this); 4188static bool HandleEndPerformOperation(IAsyncResult result) 4205IAsyncResult result = this.instance.Controller.BeginFlushTrackingRecords(this.instance.trackTimeout, PrepareAsyncCompletion(handleEndTrack), this); 4221static bool HandleEndTrack(IAsyncResult result) 4246protected virtual IAsyncResult BeginPerformOperation(AsyncCallback callback, object state) 4250protected virtual void EndPerformOperation(IAsyncResult result) 4278public static void End(IAsyncResult result) 4359public static void End(IAsyncResult result) 4378protected override IAsyncResult BeginPerformOperation(AsyncCallback callback, object state) 4396protected override void EndPerformOperation(IAsyncResult result) 4455public static void End(IAsyncResult result) 4470protected override IAsyncResult BeginPerformOperation(AsyncCallback callback, object state) 4488protected override void EndPerformOperation(IAsyncResult result) 4530public static void End(IAsyncResult result) 4587public static void End(IAsyncResult result) 4629public static void End(IAsyncResult result) 4652protected override IAsyncResult BeginPerformOperation(AsyncCallback callback, object state) 4657protected override void EndPerformOperation(IAsyncResult result) 4678IAsyncResult result = this.parent.Instance.BeginWaitForCanPersist(ref this.parent.ownsLock, this.parent.timeoutHelper.RemainingTime(), 4686public static void End(IAsyncResult result) 4691static bool HandleEndWaitForCanPersist(IAsyncResult result) 4741public static void End(IAsyncResult result) 4843public static void End(IAsyncResult result) 4848public static void End(IAsyncResult result, ref bool ownsLock) 4992public static void End(IAsyncResult result, ref bool ownsLock) 5611public bool TryBeginComplete(AsyncCallback callback, object state, out IAsyncResult result) 5629public void EndComplete(IAsyncResult result) 5731IAsyncResult result = this.instance.BeginPersist(true, TimeSpan.MaxValue, onPersistCallback, this); 5747static void PersistCallback(IAsyncResult result) 5769void HandleEndPersist(IAsyncResult result) 5815IAsyncResult result = BeginUnlockAndAbort(TimeSpan.MaxValue, onUnlockAndAbortCallback, this); 5823IAsyncResult result = this.instance.BeginReleaseInstance(true, TimeSpan.MaxValue, onUnloadCallback, this); 5840static void UnloadCallback(IAsyncResult result) 5863void HandleEndUnload(IAsyncResult result) 5868IAsyncResult BeginUnlockAndAbort(TimeSpan timeout, AsyncCallback callback, object state) 5873void EndUnlockAndAbort(IAsyncResult result) 5878static void UnlockAndAbortCallback(IAsyncResult result) 5948public static void End(IAsyncResult result) 5991IAsyncResult result = this.instance.BeginAbandon(new FaultException(OperationExecutionFault.CreateAbortedFault(SR.DefaultAbortReason)), false, 6001static bool HandleEndAbandon(IAsyncResult result) 6051IAsyncResult result; 6094static void OperationCallback(IAsyncResult result) 6117void HandleEndOperation(IAsyncResult result)
System\ServiceModel\Activities\InternalReceiveMessage.cs (3)
1234protected override IAsyncResult BeginExecute(AsyncCodeActivityContext context, AsyncCallback callback, object state) 1241protected override void EndExecute(AsyncCodeActivityContext context, IAsyncResult result) 1272public static void End(IAsyncResult result)
System\ServiceModel\Activities\InternalSendMessage.cs (24)
1631protected override IAsyncResult BeginExecute(AsyncCodeActivityContext context, AsyncCallback callback, object state) 1638protected override void EndExecute(AsyncCodeActivityContext context, IAsyncResult result) 1657IAsyncResult result = this.instance.FactoryReference.BeginOpen(PrepareAsyncCompletion(channelFactoryOpenCompletion), this); 1674public static void End(IAsyncResult result) 1679static bool ChannelFactoryOpenCompletion(IAsyncResult result) 1685bool OnNewChannelFactoryOpened(IAsyncResult result) 1726protected override IAsyncResult BeginExecute(AsyncCodeActivityContext context, AsyncCallback callback, object state) 1740protected override void EndExecute(AsyncCodeActivityContext context, IAsyncResult result) 1781IAsyncResult result = this.channel.BeginOpen(PrepareAsyncCompletion(onChannelOpened), this); 1800public static void End(IAsyncResult result) 1805static bool OnChannelOpened(IAsyncResult result) 1814IAsyncResult result = null; 1897static void OnChannelReceiveReplyComplete(IAsyncResult result) 1963static bool OnChannelSendComplete(IAsyncResult result) 2068protected override IAsyncResult BeginExecute(AsyncCodeActivityContext context, AsyncCallback callback, object state) 2077protected override void EndExecute(AsyncCodeActivityContext context, IAsyncResult result) 2107public static void End(IAsyncResult result) 2624protected override IAsyncResult OnBeginFinalizeCorrelation(Message message, TimeSpan timeout, AsyncCallback callback, object state) 2629protected override Message OnEndFinalizeCorrelation(IAsyncResult result) 2727public static Message End(IAsyncResult result) 2835public IAsyncResult BeginOpen(AsyncCallback callback, object state) 2842public ObjectCacheItem<ChannelFactoryReference> EndOpen(IAsyncResult result, ObjectCache<FactoryCacheKey, ChannelFactoryReference> factoryCache) 2969IAsyncResult result = communicationObject.BeginClose(ServiceDefaults.CloseTimeout, onDisposeCommunicationObject, communicationObject); 2994static void OnDisposeCommunicationObject(IAsyncResult result)
System\ServiceModel\Activities\IWorkflowInstanceManagement.cs (26)
24IAsyncResult BeginAbandon(Guid instanceId, string reason, AsyncCallback callback, object state); 26void EndAbandon(IAsyncResult result); 34IAsyncResult BeginCancel(Guid instanceId, AsyncCallback callback, object state); 36void EndCancel(IAsyncResult result); 44IAsyncResult BeginRun(Guid instanceId, AsyncCallback callback, object state); 46void EndRun(IAsyncResult result); 54IAsyncResult BeginSuspend(Guid instanceId, string reason, AsyncCallback callback, object state); 56void EndSuspend(IAsyncResult result); 64IAsyncResult BeginTerminate(Guid instanceId, string reason, AsyncCallback callback, object state); 66void EndTerminate(IAsyncResult result); 74IAsyncResult BeginUnsuspend(Guid instanceId, AsyncCallback callback, object state); 76void EndUnsuspend(IAsyncResult result); 88IAsyncResult BeginTransactedCancel(Guid instanceId, AsyncCallback callback, object state); 90void EndTransactedCancel(IAsyncResult result); 99IAsyncResult BeginTransactedRun(Guid instanceId, AsyncCallback callback, object state); 101void EndTransactedRun(IAsyncResult result); 110IAsyncResult BeginTransactedSuspend(Guid instanceId, string reason, AsyncCallback callback, object state); 112void EndTransactedSuspend(IAsyncResult result); 121IAsyncResult BeginTransactedTerminate(Guid instanceId, string reason, AsyncCallback callback, object state); 123void EndTransactedTerminate(IAsyncResult result); 132IAsyncResult BeginTransactedUnsuspend(Guid instanceId, AsyncCallback callback, object state); 134void EndTransactedUnsuspend(IAsyncResult result); 148IAsyncResult BeginUpdate(Guid instanceId, WorkflowIdentity updatedDefinitionIdentity, AsyncCallback callback, object state); 150void EndUpdate(IAsyncResult result); 159IAsyncResult BeginTransactedUpdate(Guid instanceId, WorkflowIdentity updatedDefinitionIdentity, AsyncCallback callback, object state); 161void EndTransactedUpdate(IAsyncResult result);
System\ServiceModel\Activities\Tracking\TrackingProfileManager.cs (2)
17public virtual IAsyncResult BeginLoad( 33public virtual TrackingProfile EndLoad(IAsyncResult result)
System\ServiceModel\Activities\TransactedReceiveScope.cs (1)
292static void TransactionCommitCallback(IAsyncResult result)
System\ServiceModel\Activities\WorkflowControlClient.cs (42)
353public IAsyncResult BeginAbandon(Guid instanceId, AsyncCallback callback, object state) 358public IAsyncResult BeginAbandon(Guid instanceId, string reason, AsyncCallback callback, object state) 363public void EndAbandon(IAsyncResult result) 369public IAsyncResult BeginCancel(Guid instanceId, AsyncCallback callback, object state) 375public void EndCancel(IAsyncResult result) 381public IAsyncResult BeginRun(Guid instanceId, AsyncCallback callback, object state) 387public void EndRun(IAsyncResult result) 393public IAsyncResult BeginSuspend(Guid instanceId, AsyncCallback callback, object state) 399public IAsyncResult BeginSuspend(Guid instanceId, string reason, AsyncCallback callback, object state) 405public void EndSuspend(IAsyncResult result) 411public IAsyncResult BeginUnsuspend(Guid instanceId, AsyncCallback callback, object state) 417public void EndUnsuspend(IAsyncResult result) 423public IAsyncResult BeginTerminate(Guid instanceId, AsyncCallback callback, object state) 429public IAsyncResult BeginTerminate(Guid instanceId, string reason, AsyncCallback callback, object state) 435public void EndTerminate(IAsyncResult result) 452IAsyncResult OnBeginAbandon(object[] inputs, AsyncCallback callback, object state) 457object[] OnEndAbandon(IAsyncResult result) 475IAsyncResult OnBeginCancel(object[] inputs, AsyncCallback callback, object state) 480object[] OnEndCancel(IAsyncResult result) 497IAsyncResult OnBeginRun(object[] inputs, AsyncCallback callback, object state) 501object[] OnEndRun(IAsyncResult result) 517IAsyncResult OnBeginSuspend(object[] inputs, AsyncCallback callback, object state) 521object[] OnEndSuspend(IAsyncResult result) 537IAsyncResult OnBeginUnsuspend(object[] inputs, AsyncCallback callback, object state) 541object[] OnEndUnsuspend(IAsyncResult result) 558IAsyncResult OnBeginTerminate(object[] inputs, AsyncCallback callback, object state) 563object[] OnEndTerminate(IAsyncResult result) 588public static void End(IAsyncResult result) 595IAsyncResult result; 614static bool HandleEndCancel(IAsyncResult result) 649public static void End(IAsyncResult result) 657IAsyncResult result; 676static bool HandleEndRun(IAsyncResult result) 710public static void End(IAsyncResult result) 717IAsyncResult result; 737static bool HandleEndSuspend(IAsyncResult result) 771public static void End(IAsyncResult result) 778IAsyncResult result; 798static bool HandleEndUnsuspend(IAsyncResult result) 832public static void End(IAsyncResult result) 839IAsyncResult result; 858static bool HandleEndTerminate(IAsyncResult result)
System\ServiceModel\Activities\WorkflowCreationContext.cs (2)
56protected internal virtual IAsyncResult OnBeginWorkflowCompleted( 63protected internal virtual void OnEndWorkflowCompleted(IAsyncResult result)
System\ServiceModel\Activities\WorkflowHostingResponseContext.cs (3)
64internal IAsyncResult BeginGetResponse(TimeSpan timeout, AsyncCallback callback, object state) 70internal object EndGetResponse(IAsyncResult result, out object[] outputs) 96public static object End(IAsyncResult result, out object[] outputs)
System\ServiceModel\Activities\WorkflowOperationContext.cs (14)
48IAsyncResult pendingAsyncResult; 200public static IAsyncResult BeginProcessRequest(WorkflowServiceInstance workflowInstance, OperationContext operationContext, string operationName, 209public static object EndProcessRequest(IAsyncResult result, out object[] outputs) 581IAsyncResult pendingAsyncResult = this.workflowInstance.BeginWaitForPendingOperations(sessionId, this.timeoutHelper.RemainingTime(), this.PrepareAsyncCompletion(handleEndWaitForPendingOperations), this); 606static bool HandleEndWaitForPendingOperations(IAsyncResult result) 633IAsyncResult nextResult = this.workflowInstance.BeginResumeProtocolBookmark( 659static bool HandleEndResumeBookmark(IAsyncResult result) 742IAsyncResult nextResult = ReceiveContextAsyncResult.BeginProcessReceiveContext(this, this.receiveContext, PrepareAsyncCompletion(handleEndProcessReceiveContext), this); 749static bool HandleEndProcessReceiveContext(IAsyncResult result) 824public static IAsyncResult BeginProcessReceiveContext(WorkflowOperationContext context, ReceiveContext receiveContext, AsyncCallback callback, object state) 829public static void EndProcessReceiveContext(IAsyncResult result) 834public static void End(IAsyncResult result) 841IAsyncResult result; 867static bool HandleEndComplete(IAsyncResult result)
System\ServiceModel\Activities\WorkflowServiceHost.cs (11)
528internal override IAsyncResult BeginAfterInitializeRuntime(TimeSpan timeout, AsyncCallback callback, object state) 533internal override void EndAfterInitializeRuntime(IAsyncResult result) 549protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 554protected override void OnEndClose(IAsyncResult result) 576IAsyncResult BeginHostClose(TimeSpan timeout, AsyncCallback callback, object state) 580void EndHostClose(IAsyncResult result) 795IAsyncResult result = this.host.durableInstanceManager.BeginClose( 802IAsyncResult result = this.host.BeginHostClose( 807static bool HandleDurableInstanceManagerEndClose(IAsyncResult result) 817static bool HandleEndHostClose(IAsyncResult result) 825public static void End(IAsyncResult result)
System\ServiceModel\Activities\WorkflowUpdateableControlClient.cs (49)
392public IAsyncResult BeginAbandon(Guid instanceId, AsyncCallback callback, object state) 397public IAsyncResult BeginAbandon(Guid instanceId, string reason, AsyncCallback callback, object state) 402public void EndAbandon(IAsyncResult result) 408public IAsyncResult BeginCancel(Guid instanceId, AsyncCallback callback, object state) 414public void EndCancel(IAsyncResult result) 420public IAsyncResult BeginRun(Guid instanceId, AsyncCallback callback, object state) 426public void EndRun(IAsyncResult result) 432public IAsyncResult BeginSuspend(Guid instanceId, AsyncCallback callback, object state) 438public IAsyncResult BeginSuspend(Guid instanceId, string reason, AsyncCallback callback, object state) 444public void EndSuspend(IAsyncResult result) 450public IAsyncResult BeginUnsuspend(Guid instanceId, AsyncCallback callback, object state) 456public void EndUnsuspend(IAsyncResult result) 462public IAsyncResult BeginTerminate(Guid instanceId, AsyncCallback callback, object state) 468public IAsyncResult BeginTerminate(Guid instanceId, string reason, AsyncCallback callback, object state) 474public void EndTerminate(IAsyncResult result) 480public IAsyncResult BeginUpdate(Guid instanceId, WorkflowIdentity updatedDefinitionIdentity, AsyncCallback callback, object state) 486public void EndUpdate(IAsyncResult result) 503IAsyncResult OnBeginAbandon(object[] inputs, AsyncCallback callback, object state) 508object[] OnEndAbandon(IAsyncResult result) 526IAsyncResult OnBeginCancel(object[] inputs, AsyncCallback callback, object state) 531object[] OnEndCancel(IAsyncResult result) 548IAsyncResult OnBeginRun(object[] inputs, AsyncCallback callback, object state) 552object[] OnEndRun(IAsyncResult result) 568IAsyncResult OnBeginSuspend(object[] inputs, AsyncCallback callback, object state) 572object[] OnEndSuspend(IAsyncResult result) 588IAsyncResult OnBeginUnsuspend(object[] inputs, AsyncCallback callback, object state) 592object[] OnEndUnsuspend(IAsyncResult result) 609IAsyncResult OnBeginTerminate(object[] inputs, AsyncCallback callback, object state) 614object[] OnEndTerminate(IAsyncResult result) 631IAsyncResult OnBeginUpdate(object[] inputs, AsyncCallback callback, object state) 635object[] OnEndUpdate(IAsyncResult result) 660public static void End(IAsyncResult result) 667IAsyncResult result; 686static bool HandleEndCancel(IAsyncResult result) 721public static void End(IAsyncResult result) 729IAsyncResult result; 748static bool HandleEndRun(IAsyncResult result) 782public static void End(IAsyncResult result) 789IAsyncResult result; 809static bool HandleEndSuspend(IAsyncResult result) 843public static void End(IAsyncResult result) 850IAsyncResult result; 870static bool HandleEndUnsuspend(IAsyncResult result) 904public static void End(IAsyncResult result) 911IAsyncResult result; 930static bool HandleEndTerminate(IAsyncResult result) 964public static void End(IAsyncResult result) 972IAsyncResult result; 991static bool HandleEndUpdate(IAsyncResult result)
System.ServiceModel.Channels (93)
System\ServiceModel\Channels\ByteStreamMessage.cs (12)
363protected override IAsyncResult OnBeginWriteMessage(XmlDictionaryWriter writer, AsyncCallback callback, object state) 369protected override void OnEndWriteMessage(IAsyncResult result) 379protected override IAsyncResult OnBeginWriteBodyContents(XmlDictionaryWriter writer, AsyncCallback callback, object state) 384protected override void OnEndWriteBodyContents(IAsyncResult result) 400IAsyncResult result = this.message.OnBeginWriteBodyContents(this.writer, PrepareAsyncCompletion(HandleWriteBodyContents), this); 409static bool HandleWriteBodyContents(IAsyncResult result) 417public static void End(IAsyncResult result) 501protected override IAsyncResult OnBeginWriteBodyContents(XmlDictionaryWriter writer, AsyncCallback callback, object state) 506protected override void OnEndWriteBodyContents(IAsyncResult result) 543IAsyncResult result = this.writer.WriteValueAsync(new ByteStreamStreamProvider(stream)).AsAsyncResult(PrepareAsyncCompletion(HandleWriteBodyContents), this); 554static bool HandleWriteBodyContents(IAsyncResult result) 568public static void End(IAsyncResult result)
System\ServiceModel\Channels\ByteStreamMessageEncoder.cs (8)
171public override IAsyncResult BeginWriteMessage(Message message, Stream stream, AsyncCallback callback, object state) 193public override void EndWriteMessage(IAsyncResult result) 302static Action<IAsyncResult, Exception> onCleanup; 314onCleanup = new Action<IAsyncResult, Exception>(Cleanup); 329IAsyncResult result = message.BeginWriteMessage(writer, PrepareAsyncCompletion(HandleWriteMessage), this); 348static bool HandleWriteMessage(IAsyncResult result) 364static void Cleanup(IAsyncResult result, Exception ex) 382public static void End(IAsyncResult result)
System\ServiceModel\Channels\UdpChannelBase.cs (9)
323protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 329protected override void OnEndOpen(IAsyncResult result) 339protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 350protected override void OnEndClose(IAsyncResult result) 450public static void End(IAsyncResult result) 455private static bool CompleteBaseClose(IAsyncResult result) 466private static bool CompleteCloseOutputChannel(IAsyncResult result) 482IAsyncResult result = this.channel.UdpOutputChannel.BeginClose(this.timeoutHelper.RemainingTime(), this.PrepareAsyncCompletion(completeCloseOutputChannelCallback), this); 491IAsyncResult result = this.baseBeginClose(this.timeoutHelper.RemainingTime(), this.PrepareAsyncCompletion(completeBaseCloseCallback), this);
System\ServiceModel\Channels\UdpChannelFactory.cs (2)
73protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 139protected override void OnEndOpen(IAsyncResult result)
System\ServiceModel\Channels\UdpChannelListener.cs (8)
271protected override IAsyncResult OnBeginAcceptChannel(TimeSpan timeout, AsyncCallback callback, object state) 281protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 287protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 293protected override IAsyncResult OnBeginWaitForChannel(TimeSpan timeout, AsyncCallback callback, object state) 331protected override ChannelInterfaceType OnEndAcceptChannel(IAsyncResult result) 344protected override void OnEndClose(IAsyncResult result) 349protected override void OnEndOpen(IAsyncResult result) 354protected override bool OnEndWaitForChannel(IAsyncResult result)
System\ServiceModel\Channels\UdpDuplexChannel.cs (10)
50public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state) 55public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 67public void EndSend(IAsyncResult result) 110public IAsyncResult BeginReceive(AsyncCallback callback, object state) 115public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state) 126public Message EndReceive(IAsyncResult result) 142public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 153public bool EndTryReceive(IAsyncResult result, out Message message) 169public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state) 180public bool EndWaitForMessage(IAsyncResult result)
System\ServiceModel\Channels\UdpOutputChannel.cs (10)
175protected override IAsyncResult OnBeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 185protected override void OnEndSend(IAsyncResult result) 298protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 313protected override void OnEndClose(IAsyncResult result) 318protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 324protected override void OnEndOpen(IAsyncResult result) 705public static void End(IAsyncResult result) 716private static void OnSocketSendComplete(IAsyncResult result) 786private bool ContinueTransmitting(IAsyncResult socketAsyncResult) 962internal static void End(IAsyncResult result)
System\ServiceModel\Channels\UdpReplyChannel.cs (13)
75public IAsyncResult BeginReceiveRequest(AsyncCallback callback, object state) 80public IAsyncResult BeginReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state) 91public RequestContext EndReceiveRequest(IAsyncResult result) 107public IAsyncResult BeginTryReceiveRequest(TimeSpan timeout, AsyncCallback callback, object state) 118public bool EndTryReceiveRequest(IAsyncResult result, out RequestContext context) 134public IAsyncResult BeginWaitForRequest(TimeSpan timeout, AsyncCallback callback, object state) 145public bool EndWaitForRequest(IAsyncResult result) 169private static IAsyncResult HelpBeginReceiveRequest(IReplyChannel channel, TimeSpan timeout, AsyncCallback callback, object state) 174private static RequestContext HelpEndReceiveRequest(IAsyncResult result) 203IAsyncResult result = channel.BeginTryReceiveRequest(timeout, onReceiveRequest, this); 214public static RequestContext End(IAsyncResult result) 220private static void OnReceiveRequest(IAsyncResult result) 246private void HandleReceiveRequestComplete(IAsyncResult result)
System\ServiceModel\Channels\UdpRequestContext.cs (2)
44protected override IAsyncResult OnBeginReply(Message message, TimeSpan timeout, AsyncCallback callback, object state) 61protected override void OnEndReply(IAsyncResult result)
System\ServiceModel\Channels\UdpSocket.cs (11)
79public IAsyncResult BeginReceiveFrom(byte[] buffer, int offset, int size, ref EndPoint remoteEndPoint, AsyncCallback callback, object state) 86IAsyncResult asyncResult = null; 150public ArraySegment<byte> EndReceiveFrom(IAsyncResult result, ref EndPoint remoteEndPoint) 198public IAsyncResult BeginSendTo(byte[] buffer, int offset, int size, EndPoint remoteEndPoint, AsyncCallback callback, object state) 206public int EndSendTo(IAsyncResult result) 299IAsyncResult socketAsyncResult = this.socket.BeginSendTo(buffer, offset, size, SocketFlags.None, remoteEndPoint, onSendToComplete, this); 316static void OnSendToComplete(IAsyncResult result) 374IAsyncResult socketAsyncResult = this.socket.BeginReceiveFrom(this.Buffer.Array, 422public static ArraySegment<byte> End(IAsyncResult result, ref EndPoint remoteEndPoint) 430static void OnReceiveMessageFrom(IAsyncResult result) 469ArraySegment<byte> EndReceiveFrom(IAsyncResult result)
System\ServiceModel\Channels\UdpSocketReceiveManager.cs (3)
192void OnReceiveFrom(IAsyncResult result) 249IAsyncResult result = null; 348ArraySegment<byte> EndReceiveFrom(IAsyncResult result, UdpSocketReceiveState state)
System\ServiceModel\Channels\XmlByteStreamWriter.cs (5)
133internal IAsyncResult BeginWriteBase64(byte[] buffer, int index, int count, AsyncCallback callback, object state) 139internal void EndWriteBase64(IAsyncResult result) 153IAsyncResult result = writer.stream.BeginWrite(buffer, index, count, PrepareAsyncCompletion(HandleWriteBase64), this); 162static bool HandleWriteBase64(IAsyncResult result) 171public static void End(IAsyncResult result)
System.ServiceModel.Discovery (451)
System\ServiceModel\Discovery\AnnouncementClient.cs (10)
370public IAsyncResult BeginAnnounceOnline(EndpointDiscoveryMetadata discoveryMetadata, AsyncCallback callback, object state) 385public void EndAnnounceOnline(IAsyncResult result) 404public IAsyncResult BeginAnnounceOffline(EndpointDiscoveryMetadata discoveryMetadata, AsyncCallback callback, object state) 419public void EndAnnounceOffline(IAsyncResult result) 446IAsyncResult ICommunicationObject.BeginOpen(AsyncCallback callback, object state) 452IAsyncResult ICommunicationObject.BeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 458void ICommunicationObject.EndOpen(IAsyncResult result) 478IAsyncResult ICommunicationObject.BeginClose(AsyncCallback callback, object state) 484IAsyncResult ICommunicationObject.BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 490void ICommunicationObject.EndClose(IAsyncResult result)
System\ServiceModel\Discovery\AnnouncementDispatcherAsyncResult.cs (2)
123void OnAnnouncementSendsCompleted(IAsyncResult result) 201public static void End(IAsyncResult result)
System\ServiceModel\Discovery\AnnouncementSendsAsyncResult.cs (3)
36protected override IAsyncResult OnBeginSend(int index, TimeSpan timeout, AsyncCallback callback, object state) 53protected override void OnEndSend(IAsyncResult result) 64public static void End(IAsyncResult result)
System\ServiceModel\Discovery\AnnouncementService.cs (20)
52IAsyncResult IAnnouncementContractApril2005.BeginHelloOperation(HelloMessageApril2005 message, AsyncCallback callback, object state) 57void IAnnouncementContractApril2005.EndHelloOperation(IAsyncResult result) 67IAsyncResult IAnnouncementContractApril2005.BeginByeOperation(ByeMessageApril2005 message, AsyncCallback callback, object state) 72void IAnnouncementContractApril2005.EndByeOperation(IAsyncResult result) 82IAsyncResult IAnnouncementContract11.BeginHelloOperation(HelloMessage11 message, AsyncCallback callback, object state) 87void IAnnouncementContract11.EndHelloOperation(IAsyncResult result) 97IAsyncResult IAnnouncementContract11.BeginByeOperation(ByeMessage11 message, AsyncCallback callback, object state) 102void IAnnouncementContract11.EndByeOperation(IAsyncResult result) 112IAsyncResult IAnnouncementContractCD1.BeginHelloOperation(HelloMessageCD1 message, AsyncCallback callback, object state) 117void IAnnouncementContractCD1.EndHelloOperation(IAsyncResult result) 127IAsyncResult IAnnouncementContractCD1.BeginByeOperation(ByeMessageCD1 message, AsyncCallback callback, object state) 132void IAnnouncementContractCD1.EndByeOperation(IAsyncResult result) 142IAsyncResult IAnnouncementServiceImplementation.OnBeginOnlineAnnouncement( 151void IAnnouncementServiceImplementation.OnEndOnlineAnnouncement(IAsyncResult result) 156IAsyncResult IAnnouncementServiceImplementation.OnBeginOfflineAnnouncement( 165void IAnnouncementServiceImplementation.OnEndOfflineAnnouncement(IAsyncResult result) 170protected virtual IAsyncResult OnBeginOnlineAnnouncement( 185protected virtual void OnEndOnlineAnnouncement(IAsyncResult result) 190protected virtual IAsyncResult OnBeginOfflineAnnouncement( 206protected virtual void OnEndOfflineAnnouncement(IAsyncResult result)
System\ServiceModel\Discovery\AsyncOperationLifetimeManager.cs (3)
198public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 204public void EndClose(IAsyncResult result) 249internal static void End(IAsyncResult result)
System\ServiceModel\Discovery\ByeOperationAsyncResult.cs (2)
37IAsyncResult innerAsyncResult = 55static bool OnOnOfflineAnnouncementCompleted(IAsyncResult result)
System\ServiceModel\Discovery\DefaultDiscoveryService.cs (4)
25protected override IAsyncResult OnBeginFind( 34protected override void OnEndFind(IAsyncResult result) 39protected override IAsyncResult OnBeginResolve(ResolveCriteria resolveCriteria, AsyncCallback callback, object state) 47protected override EndpointDiscoveryMetadata OnEndResolve(IAsyncResult result)
System\ServiceModel\Discovery\DiscoveryClient.cs (17)
262IAsyncResult ICommunicationObject.BeginOpen(AsyncCallback callback, object state) 269IAsyncResult ICommunicationObject.BeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 276void ICommunicationObject.EndOpen(IAsyncResult result) 335IAsyncResult ICommunicationObject.BeginClose(AsyncCallback callback, object state) 342IAsyncResult ICommunicationObject.BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 356void ICommunicationObject.EndClose(IAsyncResult result) 840IAsyncResult result = InnerClient.BeginProbeOperation(criteria, this.probeOperationCallbackDelegate, context); 885IAsyncResult result = InnerClient.BeginResolveOperation(criteria, this.resolveOperationCallbackDelegate, context); 927void ProbeOperationCompletedCallback(IAsyncResult result) 943void CompleteProbeOperation(IAsyncResult result) 1018void ResolveOperationCompletedCallback(IAsyncResult result) 1034void CompleteResolveOperation(IAsyncResult result) 1211IAsyncResult result = this.client.asyncOperationsLifetimeManager.BeginClose( 1222internal static void End(IAsyncResult result) 1227static bool OnAsyncLifetimeManagerCloseCompleted(IAsyncResult result) 1249IAsyncResult closeAsyncResult = thisPtr.client.InnerCommunicationObject.BeginClose( 1264static bool OnInnerCommunicationObjectCloseCompleted(IAsyncResult result)
System\ServiceModel\Discovery\DiscoveryClientChannelBase.cs (8)
86protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 95protected override void OnEndOpen(IAsyncResult result) 118protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 127protected override void OnEndClose(IAsyncResult result) 457public static TChannel End(IAsyncResult result) 659IAsyncResult closeResult = this.innerChannel.BeginClose( 675public static void End(IAsyncResult result) 680bool OnCloseCompleted(IAsyncResult result)
System\ServiceModel\Discovery\DiscoveryClientChannelFactory.cs (4)
114protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 119protected override void OnEndOpen(IAsyncResult result) 129protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 142protected override void OnEndClose(IAsyncResult result)
System\ServiceModel\Discovery\DiscoveryClientDuplexChannel.cs (8)
35public override IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 47public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state) 52public IAsyncResult BeginReceive(AsyncCallback callback, object state) 57public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 62public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state) 67public Message EndReceive(IAsyncResult result) 72public bool EndTryReceive(IAsyncResult result, out Message message) 77public bool EndWaitForMessage(IAsyncResult result)
System\ServiceModel\Discovery\DiscoveryClientOutputChannel.cs (3)
49public virtual IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 54public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state) 59public void EndSend(IAsyncResult result)
System\ServiceModel\Discovery\DiscoveryClientRequestChannel.cs (3)
49public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state) 54public IAsyncResult BeginRequest(Message message, AsyncCallback callback, object state) 59public Message EndRequest(IAsyncResult result)
System\ServiceModel\Discovery\DiscoveryProxy.cs (56)
71IAsyncResult IAnnouncementContractApril2005.BeginHelloOperation(HelloMessageApril2005 message, AsyncCallback callback, object state) 76void IAnnouncementContractApril2005.EndHelloOperation(IAsyncResult result) 86IAsyncResult IAnnouncementContractApril2005.BeginByeOperation(ByeMessageApril2005 message, AsyncCallback callback, object state) 91void IAnnouncementContractApril2005.EndByeOperation(IAsyncResult result) 101IAsyncResult IAnnouncementContract11.BeginHelloOperation(HelloMessage11 message, AsyncCallback callback, object state) 106void IAnnouncementContract11.EndHelloOperation(IAsyncResult result) 116IAsyncResult IAnnouncementContract11.BeginByeOperation(ByeMessage11 message, AsyncCallback callback, object state) 121void IAnnouncementContract11.EndByeOperation(IAsyncResult result) 131IAsyncResult IAnnouncementContractCD1.BeginHelloOperation(HelloMessageCD1 message, AsyncCallback callback, object state) 136void IAnnouncementContractCD1.EndHelloOperation(IAsyncResult result) 146IAsyncResult IAnnouncementContractCD1.BeginByeOperation(ByeMessageCD1 message, AsyncCallback callback, object state) 151void IAnnouncementContractCD1.EndByeOperation(IAsyncResult result) 161IAsyncResult IDiscoveryContractApril2005.BeginProbeOperation(ProbeMessageApril2005 request, AsyncCallback callback, object state) 166void IDiscoveryContractApril2005.EndProbeOperation(IAsyncResult result) 176IAsyncResult IDiscoveryContractApril2005.BeginResolveOperation(ResolveMessageApril2005 request, AsyncCallback callback, object state) 181void IDiscoveryContractApril2005.EndResolveOperation(IAsyncResult result) 191IAsyncResult IDiscoveryContractAdhoc11.BeginProbeOperation(ProbeMessage11 request, AsyncCallback callback, object state) 196void IDiscoveryContractAdhoc11.EndProbeOperation(IAsyncResult result) 206IAsyncResult IDiscoveryContractAdhoc11.BeginResolveOperation(ResolveMessage11 request, AsyncCallback callback, object state) 211void IDiscoveryContractAdhoc11.EndResolveOperation(IAsyncResult result) 222IAsyncResult IDiscoveryContractManaged11.BeginProbeOperation(ProbeMessage11 request, AsyncCallback callback, object state) 227ProbeMatchesMessage11 IDiscoveryContractManaged11.EndProbeOperation(IAsyncResult result) 238IAsyncResult IDiscoveryContractManaged11.BeginResolveOperation(ResolveMessage11 request, AsyncCallback callback, object state) 243ResolveMatchesMessage11 IDiscoveryContractManaged11.EndResolveOperation(IAsyncResult result) 253IAsyncResult IDiscoveryContractAdhocCD1.BeginProbeOperation(ProbeMessageCD1 request, AsyncCallback callback, object state) 258void IDiscoveryContractAdhocCD1.EndProbeOperation(IAsyncResult result) 268IAsyncResult IDiscoveryContractAdhocCD1.BeginResolveOperation(ResolveMessageCD1 request, AsyncCallback callback, object state) 273void IDiscoveryContractAdhocCD1.EndResolveOperation(IAsyncResult result) 284IAsyncResult IDiscoveryContractManagedCD1.BeginProbeOperation(ProbeMessageCD1 request, AsyncCallback callback, object state) 289ProbeMatchesMessageCD1 IDiscoveryContractManagedCD1.EndProbeOperation(IAsyncResult result) 300IAsyncResult IDiscoveryContractManagedCD1.BeginResolveOperation(ResolveMessageCD1 request, AsyncCallback callback, object state) 305ResolveMatchesMessageCD1 IDiscoveryContractManagedCD1.EndResolveOperation(IAsyncResult result) 315IAsyncResult IAnnouncementServiceImplementation.OnBeginOnlineAnnouncement( 324void IAnnouncementServiceImplementation.OnEndOnlineAnnouncement(IAsyncResult result) 329IAsyncResult IAnnouncementServiceImplementation.OnBeginOfflineAnnouncement( 338void IAnnouncementServiceImplementation.OnEndOfflineAnnouncement(IAsyncResult result) 353IAsyncResult IDiscoveryServiceImplementation.BeginFind(FindRequestContext findRequestContext, AsyncCallback callback, object state) 358void IDiscoveryServiceImplementation.EndFind(IAsyncResult result) 363IAsyncResult IDiscoveryServiceImplementation.BeginResolve(ResolveCriteria resolveCriteria, AsyncCallback callback, object state) 368EndpointDiscoveryMetadata IDiscoveryServiceImplementation.EndResolve(IAsyncResult result) 373IAsyncResult IMulticastSuppressionImplementation.BeginShouldRedirectFind(FindCriteria findCriteria, AsyncCallback callback, object state) 378bool IMulticastSuppressionImplementation.EndShouldRedirectFind(IAsyncResult result, out Collection<EndpointDiscoveryMetadata> redirectionEndpoints) 383IAsyncResult IMulticastSuppressionImplementation.BeginShouldRedirectResolve(ResolveCriteria resolveCriteria, AsyncCallback callback, object state) 388bool IMulticastSuppressionImplementation.EndShouldRedirectResolve(IAsyncResult result, out Collection<EndpointDiscoveryMetadata> redirectionEndpoints) 393protected virtual IAsyncResult BeginShouldRedirectFind(FindCriteria resolveCriteria, AsyncCallback callback, object state) 399protected virtual bool EndShouldRedirectFind(IAsyncResult result, out Collection<EndpointDiscoveryMetadata> redirectionEndpoints) 405protected virtual IAsyncResult BeginShouldRedirectResolve(ResolveCriteria findCriteria, AsyncCallback callback, object state) 411protected virtual bool EndShouldRedirectResolve(IAsyncResult result, out Collection<EndpointDiscoveryMetadata> redirectionEndpoints) 418protected abstract IAsyncResult OnBeginOnlineAnnouncement( 423protected abstract void OnEndOnlineAnnouncement(IAsyncResult result); 425protected abstract IAsyncResult OnBeginOfflineAnnouncement( 430protected abstract void OnEndOfflineAnnouncement(IAsyncResult result); 432protected abstract IAsyncResult OnBeginFind(FindRequestContext findRequestContext, AsyncCallback callback, object state); 433protected abstract void OnEndFind(IAsyncResult result); 435protected abstract IAsyncResult OnBeginResolve(ResolveCriteria resolveCriteria, AsyncCallback callback, object state); 436protected abstract EndpointDiscoveryMetadata OnEndResolve(IAsyncResult result);
System\ServiceModel\Discovery\DiscoveryService.cs (28)
75IAsyncResult IDiscoveryContractApril2005.BeginProbeOperation(ProbeMessageApril2005 request, AsyncCallback callback, object state) 80void IDiscoveryContractApril2005.EndProbeOperation(IAsyncResult result) 90IAsyncResult IDiscoveryContractApril2005.BeginResolveOperation(ResolveMessageApril2005 request, AsyncCallback callback, object state) 95void IDiscoveryContractApril2005.EndResolveOperation(IAsyncResult result) 105IAsyncResult IDiscoveryContractAdhoc11.BeginProbeOperation(ProbeMessage11 request, AsyncCallback callback, object state) 110void IDiscoveryContractAdhoc11.EndProbeOperation(IAsyncResult result) 120IAsyncResult IDiscoveryContractAdhoc11.BeginResolveOperation(ResolveMessage11 request, AsyncCallback callback, object state) 125void IDiscoveryContractAdhoc11.EndResolveOperation(IAsyncResult result) 136IAsyncResult IDiscoveryContractManaged11.BeginProbeOperation(ProbeMessage11 request, AsyncCallback callback, object state) 141ProbeMatchesMessage11 IDiscoveryContractManaged11.EndProbeOperation(IAsyncResult result) 153IAsyncResult IDiscoveryContractManaged11.BeginResolveOperation(ResolveMessage11 request, AsyncCallback callback, object state) 158ResolveMatchesMessage11 IDiscoveryContractManaged11.EndResolveOperation(IAsyncResult result) 168IAsyncResult IDiscoveryContractAdhocCD1.BeginProbeOperation(ProbeMessageCD1 request, AsyncCallback callback, object state) 173void IDiscoveryContractAdhocCD1.EndProbeOperation(IAsyncResult result) 183IAsyncResult IDiscoveryContractAdhocCD1.BeginResolveOperation(ResolveMessageCD1 request, AsyncCallback callback, object state) 188void IDiscoveryContractAdhocCD1.EndResolveOperation(IAsyncResult result) 199IAsyncResult IDiscoveryContractManagedCD1.BeginProbeOperation(ProbeMessageCD1 request, AsyncCallback callback, object state) 204ProbeMatchesMessageCD1 IDiscoveryContractManagedCD1.EndProbeOperation(IAsyncResult result) 215IAsyncResult IDiscoveryContractManagedCD1.BeginResolveOperation(ResolveMessageCD1 request, AsyncCallback callback, object state) 220ResolveMatchesMessageCD1 IDiscoveryContractManagedCD1.EndResolveOperation(IAsyncResult result) 235IAsyncResult IDiscoveryServiceImplementation.BeginFind(FindRequestContext findRequestContext, AsyncCallback callback, object state) 240void IDiscoveryServiceImplementation.EndFind(IAsyncResult result) 245IAsyncResult IDiscoveryServiceImplementation.BeginResolve(ResolveCriteria resolveCriteria, AsyncCallback callback, object state) 250EndpointDiscoveryMetadata IDiscoveryServiceImplementation.EndResolve(IAsyncResult result) 293protected abstract IAsyncResult OnBeginFind(FindRequestContext findRequestContext, AsyncCallback callback, object state); 294protected abstract void OnEndFind(IAsyncResult result); 296protected abstract IAsyncResult OnBeginResolve(ResolveCriteria resolveCriteria, AsyncCallback callback, object state); 297protected abstract EndpointDiscoveryMetadata OnEndResolve(IAsyncResult result);
System\ServiceModel\Discovery\HelloOperationAsyncResult.cs (2)
37IAsyncResult innerAsyncResult = 55static bool OnOnOnlineAnnouncementCompleted(IAsyncResult result)
System\ServiceModel\Discovery\IAnnouncementInnerClient.cs (4)
22IAsyncResult BeginHelloOperation(EndpointDiscoveryMetadata endpointDiscoveryMetadata, AsyncCallback callback, object state); 23void EndHelloOperation(IAsyncResult result); 25IAsyncResult BeginByeOperation(EndpointDiscoveryMetadata endpointDiscoveryMetadata, AsyncCallback callback, object state); 26void EndByeOperation(IAsyncResult result);
System\ServiceModel\Discovery\IAnnouncementServiceImplementation.cs (4)
13IAsyncResult OnBeginOnlineAnnouncement( 18void OnEndOnlineAnnouncement(IAsyncResult result); 20IAsyncResult OnBeginOfflineAnnouncement( 25void OnEndOfflineAnnouncement(IAsyncResult result);
System\ServiceModel\Discovery\IDiscoveryInnerClient.cs (4)
24IAsyncResult BeginProbeOperation(FindCriteria findCriteria, AsyncCallback callback, object state); 25IAsyncResult BeginResolveOperation(ResolveCriteria resolveCriteria, AsyncCallback callback, object state); 27void EndProbeOperation(IAsyncResult result); 28void EndResolveOperation(IAsyncResult result);
System\ServiceModel\Discovery\IDiscoveryRequestContext.cs (6)
16IAsyncResult BeginSendFindResponse(Collection<EndpointDiscoveryMetadata> matchingEndpoints, AsyncCallback callback, object state); 17void EndSendFindResponse(IAsyncResult result); 19IAsyncResult BeginSendResolveResponse(EndpointDiscoveryMetadata matchingEndpoint, AsyncCallback callback, object state); 20void EndSendResolveResponse(IAsyncResult result); 22IAsyncResult BeginSendProxyAnnouncements(Collection<EndpointDiscoveryMetadata> proxyAnnouncementEndpoints, AsyncCallback callback, object state); 23void EndSendProxyAnnouncements(IAsyncResult result);
System\ServiceModel\Discovery\IDiscoveryServiceImplementation.cs (4)
15IAsyncResult BeginFind(FindRequestContext findRequestContext, AsyncCallback callback, object state); 16void EndFind(IAsyncResult result); 18IAsyncResult BeginResolve(ResolveCriteria resolveCriteria, AsyncCallback callback, object state); 19EndpointDiscoveryMetadata EndResolve(IAsyncResult result);
System\ServiceModel\Discovery\IMulticastSuppressionImplementation.cs (4)
11IAsyncResult BeginShouldRedirectFind(FindCriteria findCriteria, AsyncCallback callback, object state); 12bool EndShouldRedirectFind(IAsyncResult result, out Collection<EndpointDiscoveryMetadata> redirectionEndpoints); 14IAsyncResult BeginShouldRedirectResolve(ResolveCriteria resolveCriteria, AsyncCallback callback, object state); 15bool EndShouldRedirectResolve(IAsyncResult result, out Collection<EndpointDiscoveryMetadata> redirectionEndpoints);
System\ServiceModel\Discovery\IteratorAsyncResult.cs (7)
86IAsyncResult result; 115IAsyncResult StartStep(AsyncStep step) 117IAsyncResult result = null; 197void OnStepCompleted(IAsyncResult result) 214void FinishStep(AsyncStep step, IAsyncResult result) 265public delegate IAsyncResult BeginCall( 271public delegate void EndCall(TIteratorState iterState, IAsyncResult result);
System\ServiceModel\Discovery\OfflineAnnouncementChannelDispatcher.cs (10)
63protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 68protected override void OnEndClose(IAsyncResult result) 78protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 83protected override void OnEndOpen(IAsyncResult result) 151protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 166protected override void OnEndClose(IAsyncResult result) 171protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 176protected override void OnEndOpen(IAsyncResult result) 185public IAsyncResult BeginWaitForChannel(TimeSpan timeout, AsyncCallback callback, object state) 190public bool EndWaitForChannel(IAsyncResult result)
System\ServiceModel\Discovery\OnlineAnnouncementChannelDispatcher.cs (4)
112protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 138protected override void OnEndOpen(IAsyncResult result) 158protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 163protected override void OnEndClose(IAsyncResult result)
System\ServiceModel\Discovery\ProbeDuplexAsyncResult.cs (25)
95protected abstract IAsyncResult BeginSendFindResponse( 101protected abstract void EndSendFindResponse(TResponseChannel responseChannel, IAsyncResult result); 103protected abstract IAsyncResult BeginSendProxyAnnouncement( 109protected abstract void EndSendProxyAnnouncement(TResponseChannel responseChannel, IAsyncResult result); 111static bool OnShouldRedirectFindCompleted(IAsyncResult result) 128static bool OnSendProxyAnnouncementsCompleted(IAsyncResult result) 134static void OnFindCompleted(IAsyncResult result) 148static bool OnSendFindResponsesCompleted(IAsyncResult result) 162void FinishFind(IAsyncResult result) 209IAsyncResult result = this.multicastSuppressionImpl.BeginShouldRedirectFind( 224IAsyncResult result = new ProxyAnnouncementsSendAsyncResult( 235IAsyncResult result = this.discoveryServiceImpl.BeginFind( 250IAsyncResult result = new FindResponsesSendAsyncResult( 273IAsyncResult BeginSendFindResponse( 279IAsyncResult result; 298void EndSendFindResponse(IAsyncResult result) 303IAsyncResult BeginSendProxyAnnouncement( 309IAsyncResult result; 328void EndSendProxyAnnouncement(IAsyncResult result) 354public static void End(IAsyncResult result) 359protected override IAsyncResult OnBeginSend(int index, TimeSpan timeout, AsyncCallback callback, object state) 368protected override void OnEndSend(IAsyncResult result) 392public static void End(IAsyncResult result) 397protected override IAsyncResult OnBeginSendItem( 410protected override void OnEndSendItem(IAsyncResult result)
System\ServiceModel\Discovery\ProbeRequestResponseAsyncResult.cs (2)
78static bool OnOnFindCompleted(IAsyncResult result) 94IAsyncResult result = this.discoveryServiceImpl.BeginFind(
System\ServiceModel\Discovery\RandomDelayQueuedSendsAsyncResult.cs (5)
54public IAsyncResult BeginDelay(AsyncCallback callback, object state) 59public void EndDelay(IAsyncResult result) 89protected abstract IAsyncResult OnBeginSendItem( 95protected abstract void OnEndSendItem(IAsyncResult result); 197public static void End(IAsyncResult result)
System\ServiceModel\Discovery\RandomDelaySendsAsyncResult.cs (7)
107IAsyncResult result = OnBeginSend(this.currentSendIndex, this.timeoutHelper.RemainingTime(), this.onSendCompletedCallback, null); 130IAsyncResult result; 172void OnSendCompleted(IAsyncResult result) 211IAsyncResult result = this.channel.BeginClose(this.timeoutHelper.RemainingTime(), onCloseCompletedCallback, null); 241void OnCloseCompleted(IAsyncResult result) 321protected abstract IAsyncResult OnBeginSend(int index, TimeSpan timeout, AsyncCallback callback, object state); 322protected abstract void OnEndSend(IAsyncResult result);
System\ServiceModel\Discovery\ResolveDuplexAsyncResult.cs (18)
88protected abstract IAsyncResult BeginSendResolveResponse( 94protected abstract void EndSendResolveResponse(TResponseChannel responseChannel, IAsyncResult result); 96protected abstract IAsyncResult BeginSendProxyAnnouncement( 102protected abstract void EndSendProxyAnnouncement(TResponseChannel responseChannel, IAsyncResult result); 104static bool OnShouldRedirectResolveCompleted(IAsyncResult result) 121static bool OnSendProxyAnnouncementsCompleted(IAsyncResult result) 127static bool OnOnResolveCompleted(IAsyncResult result) 137static bool OnSendResolveResponseCompleted(IAsyncResult result) 168IAsyncResult result = this.multicastSuppressionImpl.BeginShouldRedirectResolve( 183IAsyncResult result = new ProxyAnnouncementsSendAsyncResult( 194IAsyncResult result = this.discoveryServiceImpl.BeginResolve( 210IAsyncResult result = null; 243IAsyncResult BeginSendProxyAnnouncement( 249IAsyncResult result; 268void EndSendProxyAnnouncement(IAsyncResult result) 294public static void End(IAsyncResult result) 299protected override IAsyncResult OnBeginSend(int index, TimeSpan timeout, AsyncCallback callback, object state) 308protected override void OnEndSend(IAsyncResult result)
System\ServiceModel\Discovery\ResolveRequestResponseAsyncResult.cs (2)
81static bool OnOnResolveCompleted(IAsyncResult result) 92IAsyncResult result = this.discoveryServiceImpl.BeginResolve(
System\ServiceModel\Discovery\UdpContractFilterBehavior.cs (2)
66public IAsyncResult InvokeBegin(object instance, object[] inputs, AsyncCallback callback, object state) 71public object InvokeEnd(object instance, out object[] outputs, IAsyncResult result)
System\ServiceModel\Discovery\Version11\AnnouncementInnerClient11.cs (10)
114public IAsyncResult BeginHelloOperation(EndpointDiscoveryMetadata endpointDiscoveryMetadata, AsyncCallback callback, object state) 120public void EndHelloOperation(IAsyncResult result) 125public IAsyncResult BeginByeOperation(EndpointDiscoveryMetadata endpointDiscoveryMetadata, AsyncCallback callback, object state) 131public void EndByeOperation(IAsyncResult result) 184IAsyncResult BeginHelloOperation(HelloMessage11 message, AsyncCallback callback, object state) 189IAsyncResult BeginByeOperation(ByeMessage11 message, AsyncCallback callback, object state) 195IAsyncResult OnBeginHelloOperation(object[] inValues, System.AsyncCallback callback, object asyncState) 201object[] OnEndHelloOperation(System.IAsyncResult result) 216IAsyncResult OnBeginByeOperation(object[] inValues, System.AsyncCallback callback, object asyncState) 222object[] OnEndByeOperation(System.IAsyncResult result)
System\ServiceModel\Discovery\Version11\ByeOperation11AsyncResult.cs (1)
20public static void End(IAsyncResult result)
System\ServiceModel\Discovery\Version11\DiscoveryInnerClientAdhoc11.cs (14)
78public IAsyncResult BeginProbeOperation(FindCriteria findCriteria, AsyncCallback callback, object state) 85public IAsyncResult BeginResolveOperation(ResolveCriteria resolveCriteria, AsyncCallback callback, object state) 92public void EndProbeOperation(IAsyncResult result) 97public void EndResolveOperation(IAsyncResult result) 116public IAsyncResult BeginProbeMatchOperation(ProbeMatchesMessage11 response, AsyncCallback callback, object state) 140public void EndProbeMatchOperation(IAsyncResult result) 145public IAsyncResult BeginResolveMatchOperation(ResolveMatchesMessage11 response, AsyncCallback callback, object state) 168public void EndResolveMatchOperation(IAsyncResult result) 173public IAsyncResult BeginHelloOperation(HelloMessage11 message, AsyncCallback callback, object state) 196public void EndHelloOperation(IAsyncResult result) 218public IAsyncResult BeginProbeOperation(ProbeMessage11 request, AsyncCallback callback, object state) 223public IAsyncResult BeginResolveOperation(ResolveMessage11 request, AsyncCallback callback, object state) 228public void EndProbeOperation(IAsyncResult result) 233public void EndResolveOperation(IAsyncResult result)
System\ServiceModel\Discovery\Version11\DiscoveryInnerClientManaged11.cs (4)
72public IAsyncResult BeginProbeOperation(FindCriteria findCriteria, AsyncCallback callback, object state) 79public IAsyncResult BeginResolveOperation(ResolveCriteria resolveCriteria, AsyncCallback callback, object state) 87public void EndProbeOperation(IAsyncResult result) 105public void EndResolveOperation(IAsyncResult result)
System\ServiceModel\Discovery\Version11\HelloOperation11AsyncResult.cs (1)
20public static void End(IAsyncResult result)
System\ServiceModel\Discovery\Version11\IAnnouncementContract11.cs (4)
19IAsyncResult BeginHelloOperation(HelloMessage11 message, AsyncCallback callback, Object state); 21void EndHelloOperation(IAsyncResult result); 27IAsyncResult BeginByeOperation(ByeMessage11 message, AsyncCallback callback, Object state); 29void EndByeOperation(IAsyncResult result);
System\ServiceModel\Discovery\Version11\IDiscoveryContractAdhoc11.cs (4)
19IAsyncResult BeginProbeOperation(ProbeMessage11 request, AsyncCallback callback, object state); 21void EndProbeOperation(IAsyncResult result); 27IAsyncResult BeginResolveOperation(ResolveMessage11 request, AsyncCallback callback, object state); 29void EndResolveOperation(IAsyncResult result);
System\ServiceModel\Discovery\Version11\IDiscoveryContractManaged11.cs (4)
18IAsyncResult BeginProbeOperation(ProbeMessage11 request, AsyncCallback callback, object state); 20ProbeMatchesMessage11 EndProbeOperation(IAsyncResult result); 26IAsyncResult BeginResolveOperation(ResolveMessage11 request, AsyncCallback callback, object state); 28ResolveMatchesMessage11 EndResolveOperation(IAsyncResult result);
System\ServiceModel\Discovery\Version11\IDiscoveryResponseContract11.cs (6)
15IAsyncResult BeginProbeMatchOperation(ProbeMatchesMessage11 response, AsyncCallback callback, object state); 17void EndProbeMatchOperation(IAsyncResult result); 20IAsyncResult BeginResolveMatchOperation(ResolveMatchesMessage11 response, AsyncCallback callback, object state); 22void EndResolveMatchOperation(IAsyncResult result); 25IAsyncResult BeginHelloOperation(HelloMessage11 message, AsyncCallback callback, object state); 27void EndHelloOperation(IAsyncResult result);
System\ServiceModel\Discovery\Version11\ProbeDuplex11AsyncResult.cs (5)
20public static void End(IAsyncResult result) 44protected override IAsyncResult BeginSendFindResponse( 59protected override void EndSendFindResponse(IDiscoveryResponseContract11 responseChannel, IAsyncResult result) 64protected override IAsyncResult BeginSendProxyAnnouncement( 79protected override void EndSendProxyAnnouncement(IDiscoveryResponseContract11 responseChannel, IAsyncResult result)
System\ServiceModel\Discovery\Version11\ProbeRequestResponse11AsyncResult.cs (1)
20public static ProbeMatchesMessage11 End(IAsyncResult result)
System\ServiceModel\Discovery\Version11\ResolveDuplex11AsyncResult.cs (5)
20public static void End(IAsyncResult result) 44protected override IAsyncResult BeginSendResolveResponse( 59protected override void EndSendResolveResponse(IDiscoveryResponseContract11 responseChannel, IAsyncResult result) 64protected override IAsyncResult BeginSendProxyAnnouncement( 79protected override void EndSendProxyAnnouncement(IDiscoveryResponseContract11 responseChannel, IAsyncResult result)
System\ServiceModel\Discovery\Version11\ResolveRequestResponse11AsyncResult.cs (1)
19public static ResolveMatchesMessage11 End(IAsyncResult result)
System\ServiceModel\Discovery\VersionApril2005\AnnouncementInnerClientApril2005.cs (10)
115public IAsyncResult BeginHelloOperation(EndpointDiscoveryMetadata endpointDiscoveryMetadata, AsyncCallback callback, object state) 121IAsyncResult BeginHelloOperation(HelloMessageApril2005 message, AsyncCallback callback, object state) 126public void EndHelloOperation(IAsyncResult result) 131public IAsyncResult BeginByeOperation(EndpointDiscoveryMetadata endpointDiscoveryMetadata, AsyncCallback callback, object state) 137IAsyncResult BeginByeOperation(ByeMessageApril2005 message, AsyncCallback callback, object state) 142public void EndByeOperation(IAsyncResult result) 147IAsyncResult OnBeginHelloOperation(object[] inValues, System.AsyncCallback callback, object asyncState) 153object[] OnEndHelloOperation(System.IAsyncResult result) 192IAsyncResult OnBeginByeOperation(object[] inValues, System.AsyncCallback callback, object asyncState) 198object[] OnEndByeOperation(System.IAsyncResult result)
System\ServiceModel\Discovery\VersionApril2005\ByeOperationApril2005AsyncResult.cs (1)
20public static void End(IAsyncResult result)
System\ServiceModel\Discovery\VersionApril2005\DiscoveryInnerClientApril2005.cs (14)
79public IAsyncResult BeginProbeOperation(FindCriteria findCriteria, AsyncCallback callback, object state) 86public IAsyncResult BeginResolveOperation(ResolveCriteria resolveCriteria, AsyncCallback callback, object state) 93public void EndProbeOperation(IAsyncResult result) 98public void EndResolveOperation(IAsyncResult result) 117public IAsyncResult BeginProbeMatchOperation(ProbeMatchesMessageApril2005 response, AsyncCallback callback, object state) 131public void EndProbeMatchOperation(IAsyncResult result) 136public IAsyncResult BeginResolveMatchOperation(ResolveMatchesMessageApril2005 response, AsyncCallback callback, object state) 149public void EndResolveMatchOperation(IAsyncResult result) 154public IAsyncResult BeginHelloOperation(HelloMessageApril2005 message, AsyncCallback callback, object state) 176public void EndHelloOperation(IAsyncResult result) 198public IAsyncResult BeginProbeOperation(ProbeMessageApril2005 request, AsyncCallback callback, object state) 203public IAsyncResult BeginResolveOperation(ResolveMessageApril2005 request, AsyncCallback callback, object state) 208public void EndProbeOperation(IAsyncResult result) 213public void EndResolveOperation(IAsyncResult result)
System\ServiceModel\Discovery\VersionApril2005\HelloOperationApril2005AsyncResult.cs (1)
20public static void End(IAsyncResult result)
System\ServiceModel\Discovery\VersionApril2005\IAnnouncementContractApril2005.cs (4)
19IAsyncResult BeginHelloOperation(HelloMessageApril2005 message, AsyncCallback callback, Object state); 21void EndHelloOperation(IAsyncResult result); 27IAsyncResult BeginByeOperation(ByeMessageApril2005 message, AsyncCallback callback, Object state); 29void EndByeOperation(IAsyncResult result);
System\ServiceModel\Discovery\VersionApril2005\IDiscoveryContractApril2005.cs (4)
18IAsyncResult BeginProbeOperation(ProbeMessageApril2005 request, AsyncCallback callback, object state); 20void EndProbeOperation(IAsyncResult result); 26IAsyncResult BeginResolveOperation(ResolveMessageApril2005 request, AsyncCallback callback, object state); 28void EndResolveOperation(IAsyncResult result);
System\ServiceModel\Discovery\VersionApril2005\IDiscoveryResponseContractApril2005.cs (6)
15IAsyncResult BeginProbeMatchOperation(ProbeMatchesMessageApril2005 response, AsyncCallback callback, object state); 17void EndProbeMatchOperation(IAsyncResult result); 20IAsyncResult BeginResolveMatchOperation(ResolveMatchesMessageApril2005 response, AsyncCallback callback, object state); 22void EndResolveMatchOperation(IAsyncResult result); 25IAsyncResult BeginHelloOperation(HelloMessageApril2005 message, AsyncCallback callback, object state); 27void EndHelloOperation(IAsyncResult result);
System\ServiceModel\Discovery\VersionApril2005\ProbeDuplexApril2005AsyncResult.cs (5)
20public static void End(IAsyncResult result) 44protected override IAsyncResult BeginSendFindResponse( 59protected override void EndSendFindResponse(IDiscoveryResponseContractApril2005 responseChannel, IAsyncResult result) 64protected override IAsyncResult BeginSendProxyAnnouncement( 79protected override void EndSendProxyAnnouncement(IDiscoveryResponseContractApril2005 responseChannel, IAsyncResult result)
System\ServiceModel\Discovery\VersionApril2005\ResolveDuplexApril2005AsyncResult.cs (5)
20public static void End(IAsyncResult result) 44protected override IAsyncResult BeginSendResolveResponse( 59protected override void EndSendResolveResponse(IDiscoveryResponseContractApril2005 responseChannel, IAsyncResult result) 64protected override IAsyncResult BeginSendProxyAnnouncement( 79protected override void EndSendProxyAnnouncement(IDiscoveryResponseContractApril2005 responseChannel, IAsyncResult result)
System\ServiceModel\Discovery\VersionCD1\AnnouncementInnerClientCD1.cs (10)
114public IAsyncResult BeginHelloOperation(EndpointDiscoveryMetadata endpointDiscoveryMetadata, AsyncCallback callback, object state) 120public void EndHelloOperation(IAsyncResult result) 125public IAsyncResult BeginByeOperation(EndpointDiscoveryMetadata endpointDiscoveryMetadata, AsyncCallback callback, object state) 131public void EndByeOperation(IAsyncResult result) 184IAsyncResult BeginHelloOperation(HelloMessageCD1 message, AsyncCallback callback, object state) 189IAsyncResult BeginByeOperation(ByeMessageCD1 message, AsyncCallback callback, object state) 195IAsyncResult OnBeginHelloOperation(object[] inValues, System.AsyncCallback callback, object asyncState) 201object[] OnEndHelloOperation(System.IAsyncResult result) 216IAsyncResult OnBeginByeOperation(object[] inValues, System.AsyncCallback callback, object asyncState) 222object[] OnEndByeOperation(System.IAsyncResult result)
System\ServiceModel\Discovery\VersionCD1\ByeOperationCD1AsyncResult.cs (1)
20public static void End(IAsyncResult result)
System\ServiceModel\Discovery\VersionCD1\DiscoveryInnerClientAdhocCD1.cs (14)
78public IAsyncResult BeginProbeOperation(FindCriteria findCriteria, AsyncCallback callback, object state) 85public IAsyncResult BeginResolveOperation(ResolveCriteria resolveCriteria, AsyncCallback callback, object state) 92public void EndProbeOperation(IAsyncResult result) 97public void EndResolveOperation(IAsyncResult result) 116public IAsyncResult BeginProbeMatchOperation(ProbeMatchesMessageCD1 response, AsyncCallback callback, object state) 140public void EndProbeMatchOperation(IAsyncResult result) 145public IAsyncResult BeginResolveMatchOperation(ResolveMatchesMessageCD1 response, AsyncCallback callback, object state) 167public void EndResolveMatchOperation(IAsyncResult result) 172public IAsyncResult BeginHelloOperation(HelloMessageCD1 message, AsyncCallback callback, object state) 194public void EndHelloOperation(IAsyncResult result) 216public IAsyncResult BeginProbeOperation(ProbeMessageCD1 request, AsyncCallback callback, object state) 221public IAsyncResult BeginResolveOperation(ResolveMessageCD1 request, AsyncCallback callback, object state) 226public void EndProbeOperation(IAsyncResult result) 231public void EndResolveOperation(IAsyncResult result)
System\ServiceModel\Discovery\VersionCD1\DiscoveryInnerClientManagedCD1.cs (4)
72public IAsyncResult BeginProbeOperation(FindCriteria findCriteria, AsyncCallback callback, object state) 79public IAsyncResult BeginResolveOperation(ResolveCriteria resolveCriteria, AsyncCallback callback, object state) 87public void EndProbeOperation(IAsyncResult result) 105public void EndResolveOperation(IAsyncResult result)
System\ServiceModel\Discovery\VersionCD1\HelloOperationCD1AsyncResult.cs (1)
20public static void End(IAsyncResult result)
System\ServiceModel\Discovery\VersionCD1\IAnnouncementContractCD1.cs (4)
19IAsyncResult BeginHelloOperation(HelloMessageCD1 message, AsyncCallback callback, Object state); 21void EndHelloOperation(IAsyncResult result); 27IAsyncResult BeginByeOperation(ByeMessageCD1 message, AsyncCallback callback, Object state); 29void EndByeOperation(IAsyncResult result);
System\ServiceModel\Discovery\VersionCD1\IDiscoveryContractAdhocCD1.cs (4)
19IAsyncResult BeginProbeOperation(ProbeMessageCD1 request, AsyncCallback callback, object state); 21void EndProbeOperation(IAsyncResult result); 27IAsyncResult BeginResolveOperation(ResolveMessageCD1 request, AsyncCallback callback, object state); 29void EndResolveOperation(IAsyncResult result);
System\ServiceModel\Discovery\VersionCD1\IDiscoveryContractManagedCD1.cs (4)
18IAsyncResult BeginProbeOperation(ProbeMessageCD1 request, AsyncCallback callback, object state); 20ProbeMatchesMessageCD1 EndProbeOperation(IAsyncResult result); 26IAsyncResult BeginResolveOperation(ResolveMessageCD1 request, AsyncCallback callback, object state); 28ResolveMatchesMessageCD1 EndResolveOperation(IAsyncResult result);
System\ServiceModel\Discovery\VersionCD1\IDiscoveryResponseContractCD1.cs (6)
15IAsyncResult BeginProbeMatchOperation(ProbeMatchesMessageCD1 response, AsyncCallback callback, object state); 17void EndProbeMatchOperation(IAsyncResult result); 20IAsyncResult BeginResolveMatchOperation(ResolveMatchesMessageCD1 response, AsyncCallback callback, object state); 22void EndResolveMatchOperation(IAsyncResult result); 25IAsyncResult BeginHelloOperation(HelloMessageCD1 message, AsyncCallback callback, object state); 27void EndHelloOperation(IAsyncResult result);
System\ServiceModel\Discovery\VersionCD1\ProbeDuplexCD1AsyncResult.cs (5)
20public static void End(IAsyncResult result) 44protected override IAsyncResult BeginSendFindResponse( 59protected override void EndSendFindResponse(IDiscoveryResponseContractCD1 responseChannel, IAsyncResult result) 64protected override IAsyncResult BeginSendProxyAnnouncement( 79protected override void EndSendProxyAnnouncement(IDiscoveryResponseContractCD1 responseChannel, IAsyncResult result)
System\ServiceModel\Discovery\VersionCD1\ProbeRequestResponseCD1AsyncResult.cs (1)
20public static ProbeMatchesMessageCD1 End(IAsyncResult result)
System\ServiceModel\Discovery\VersionCD1\ResolveDuplexCD1AsyncResult.cs (5)
20public static void End(IAsyncResult result) 44protected override IAsyncResult BeginSendResolveResponse( 59protected override void EndSendResolveResponse(IDiscoveryResponseContractCD1 responseChannel, IAsyncResult result) 64protected override IAsyncResult BeginSendProxyAnnouncement( 79protected override void EndSendProxyAnnouncement(IDiscoveryResponseContractCD1 responseChannel, IAsyncResult result)
System\ServiceModel\Discovery\VersionCD1\ResolveRequestResponseCD1AsyncResult.cs (1)
19public static ResolveMatchesMessageCD1 End(IAsyncResult result)
System.ServiceModel.Internals (32)
System\Runtime\AsyncResult.cs (11)
25Func<IAsyncResult, bool> checkSyncValidationFunc; 115protected Action<AsyncCallback, IAsyncResult> VirtualCallback 208static void AsyncCompletionWrapperCallback(IAsyncResult result) 254protected virtual bool OnContinueAsyncCompletion(IAsyncResult result) 266protected void SetCheckSyncValidationFunc(Func<IAsyncResult, bool> checkSyncValidationFunc) 286protected bool CheckSyncContinue(IAsyncResult result) 292protected bool SyncContinue(IAsyncResult result) 305bool TryContinueHelper(IAsyncResult result, out AsyncCompletion callback) 340protected static void ThrowInvalidAsyncResult(IAsyncResult result) 358protected static TAsyncResult End<TAsyncResult>(IAsyncResult result) 416protected delegate bool AsyncCompletion(IAsyncResult result);
System\Runtime\BufferedOutputStream.cs (4)
138public override IAsyncResult BeginRead(byte[] buffer, int offset, int size, AsyncCallback callback, object state) 143public override int EndRead(IAsyncResult result) 148public override IAsyncResult BeginWrite(byte[] buffer, int offset, int size, AsyncCallback callback, object state) 154public override void EndWrite(IAsyncResult result)
System\Runtime\CompletedAsyncResult.cs (3)
20public static void End(IAsyncResult result) 39public static T End(IAsyncResult result) 61public static TResult End(IAsyncResult result, out TParameter parameter)
System\Runtime\Fx.cs (1)
1101void UnhandledExceptionFrame(IAsyncResult result)
System\Runtime\InputQueue.cs (9)
39public InputQueue(Func<Action<AsyncCallback, IAsyncResult>> asyncCallbackGenerator) 65Func<Action<AsyncCallback, IAsyncResult>> AsyncCallbackGenerator 76public IAsyncResult BeginDequeue(TimeSpan timeout, AsyncCallback callback, object state) 114public IAsyncResult BeginWaitForItem(TimeSpan timeout, AsyncCallback callback, object state) 272public bool EndDequeue(IAsyncResult result, out T value) 286public T EndDequeue(IAsyncResult result) 299public bool EndWaitForItem(IAsyncResult result) 821public static bool End(IAsyncResult result, out T value) 887public static bool End(IAsyncResult result)
System\Runtime\ScheduleActionItemAsyncResult.cs (1)
49public static void End(IAsyncResult result)
System\Runtime\TaskExtensions.cs (2)
13public static IAsyncResult AsAsyncResult<T>(this Task<T> task, AsyncCallback callback, object state) 55public static IAsyncResult AsAsyncResult(this Task task, AsyncCallback callback, object state)
System\Runtime\TypedAsyncResult.cs (1)
26public static T End(IAsyncResult result)
System.ServiceModel.Routing (91)
System\ServiceModel\Channels\SynchronousSendBindingElement.cs (17)
80protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 86protected override void OnEndOpen(IAsyncResult result) 139protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 145protected override void OnEndOpen(IAsyncResult result) 159public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state) 164public IAsyncResult BeginReceive(AsyncCallback callback, object state) 169public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state) 174public IAsyncResult BeginWaitForMessage(TimeSpan timeout, AsyncCallback callback, object state) 179public Message EndReceive(IAsyncResult result) 184public bool EndTryReceive(IAsyncResult result, out Message message) 189public bool EndWaitForMessage(IAsyncResult result) 249public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state) 255public IAsyncResult BeginSend(Message message, AsyncCallback callback, object state) 261public void EndSend(IAsyncResult result) 316public IAsyncResult BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, object state) 322public IAsyncResult BeginRequest(Message message, AsyncCallback callback, object state) 328public Message EndRequest(IAsyncResult result)
System\ServiceModel\Routing\ClientFactory.cs (22)
152public IAsyncResult BeginOperation(Message message, Transaction transaction, AsyncCallback callback, object state) 157public Message EndOperation(IAsyncResult result) 162protected abstract IAsyncResult OnBeginOperation(Message message, AsyncCallback callback, object state); 163protected abstract Message OnEndOperation(IAsyncResult asyncResult); 220IAsyncResult asyncResult; 240public static Message End(IAsyncResult result) 246static bool OpenComplete(IAsyncResult openResult) 283IAsyncResult asyncResult; 291static bool OperationComplete(IAsyncResult result) 327protected override IAsyncResult OnBeginOperation(Message message, AsyncCallback callback, object state) 332protected override Message OnEndOperation(IAsyncResult result) 346protected override IAsyncResult OnBeginOperation(Message message, AsyncCallback callback, object state) 351protected override Message OnEndOperation(IAsyncResult result) 365protected override IAsyncResult OnBeginOperation(Message message, AsyncCallback callback, object state) 370protected override Message OnEndOperation(IAsyncResult result) 392IAsyncResult IDuplexRouterCallback.BeginProcessMessage(Message message, AsyncCallback callback, object state) 409void IDuplexRouterCallback.EndProcessMessage(IAsyncResult result) 438IAsyncResult result; 451public static void End(IAsyncResult result) 456static bool ProcessCallback(IAsyncResult result) 473protected override IAsyncResult OnBeginOperation(Message message, AsyncCallback callback, object state) 478protected override Message OnEndOperation(IAsyncResult result)
System\ServiceModel\Routing\IDuplexRouterCallback.cs (2)
16IAsyncResult BeginProcessMessage(Message message, AsyncCallback callback, object state); 18void EndProcessMessage(IAsyncResult result);
System\ServiceModel\Routing\IDuplexSessionRouter.cs (2)
16IAsyncResult BeginProcessMessage(Message message, AsyncCallback callback, object state); 18void EndProcessMessage(IAsyncResult result);
System\ServiceModel\Routing\IRequestReplyRouter.cs (2)
16IAsyncResult BeginProcessRequest(Message message, AsyncCallback callback, object state); 18Message EndProcessRequest(IAsyncResult result);
System\ServiceModel\Routing\IRoutingClient.cs (2)
13IAsyncResult BeginOperation(Message message, Transaction transaction, AsyncCallback callback, object state); 14Message EndOperation(IAsyncResult result);
System\ServiceModel\Routing\ISimplexDatagramRouter.cs (2)
15IAsyncResult BeginProcessMessage(Message message, AsyncCallback callback, object state); 17void EndProcessMessage(IAsyncResult result);
System\ServiceModel\Routing\ISimplexSessionRouter.cs (2)
15IAsyncResult BeginProcessMessage(Message message, AsyncCallback callback, object state); 17void EndProcessMessage(IAsyncResult result);
System\ServiceModel\Routing\ProcessMessagesAsyncResult.cs (13)
185IAsyncResult result; 242static bool ClientOperationCallback(IAsyncResult result) 282void ClientOperationComplete(IAsyncResult result) 431IAsyncResult result; 455static bool ChannelCloseCallback(IAsyncResult result) 488void ChannelCloseComplete(IAsyncResult result) 645IAsyncResult result; 671static bool CompleteReceiveContextCallback(IAsyncResult result) 694bool CompleteReceiveContextCompleted(IAsyncResult result) 715IAsyncResult result = this.service.RetryTransaction.BeginCommit( 735static bool CommitTransactionCallback(IAsyncResult result) 758bool CommitTransactionCompleted(IAsyncResult result) 782internal static void End(IAsyncResult result)
System\ServiceModel\Routing\ProcessRequestAsyncResult.cs (4)
86IAsyncResult result = null; 137static bool OperationCallback(IAsyncResult result) 171bool OperationComplete(IAsyncResult result) 200internal static Message End(IAsyncResult result)
System\ServiceModel\Routing\RoutingChannelExtension.cs (8)
126public abstract IAsyncResult BeginShutdown(RoutingService service, TimeSpan timeout, AsyncCallback callback, object state); 128static void CloseChannelsCallback(IAsyncResult asyncResult) 151static void ShutdownCallback(IAsyncResult result) 174void ShutdownComplete(IAsyncResult result) 209IAsyncResult result = this.BeginShutdown(this.sessionService, closeTimeout, shutdownCallback, this); 230public abstract void EndShutdown(IAsyncResult result); 279public override IAsyncResult BeginShutdown(RoutingService service, TimeSpan timeout, AsyncCallback callback, object state) 284public override void EndShutdown(IAsyncResult result)
System\ServiceModel\Routing\RoutingService.cs (13)
204IAsyncResult result = this.perMessageChannels.BeginClose(this.ChannelExtension.OperationTimeout, null, null); 226IAsyncResult ISimplexSessionRouter.BeginProcessMessage(Message message, AsyncCallback callback, object state) 231void ISimplexSessionRouter.EndProcessMessage(IAsyncResult result) 237IAsyncResult IRequestReplyRouter.BeginProcessRequest(Message message, AsyncCallback callback, object state) 242Message IRequestReplyRouter.EndProcessRequest(IAsyncResult result) 248IAsyncResult IDuplexSessionRouter.BeginProcessMessage(Message message, AsyncCallback callback, object state) 253void IDuplexSessionRouter.EndProcessMessage(IAsyncResult result) 259IAsyncResult ISimplexDatagramRouter.BeginProcessMessage(Message message, AsyncCallback callback, object state) 264void ISimplexDatagramRouter.EndProcessMessage(IAsyncResult result) 269IAsyncResult BeginProcessMessage<TContract>(Message message, AsyncCallback callback, object state) 286void EndProcessMessage<TContract>(IAsyncResult result) 303IAsyncResult BeginProcessRequest<TContract>(Message message, AsyncCallback callback, object state) 320Message EndProcessRequest<TContract>(IAsyncResult result)
System\ServiceModel\Routing\SessionChannels.cs (2)
43public IAsyncResult BeginClose(TimeSpan timeout, AsyncCallback callback, object state) 74public void EndClose(IAsyncResult asyncResult)
System.ServiceModel.Web (10)
System\ServiceModel\Channels\StreamBodyWriter.cs (2)
131public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object state) 136public override int EndRead(IAsyncResult asyncResult)
System\ServiceModel\Channels\WebMessageEncoderFactory.cs (4)
331public override IAsyncResult BeginWriteMessage(Message message, Stream stream, AsyncCallback callback, object state) 347public override void EndWriteMessage(IAsyncResult result) 501IAsyncResult result = webMessageEncoder.RawMessageEncoder.BeginWriteMessage(message, stream, PrepareAsyncCompletion(HandleEndWriteMessage), this); 519static bool HandleEndWriteMessage(IAsyncResult result)
System\ServiceModel\Dispatcher\HelpOperationInvoker.cs (2)
41public IAsyncResult InvokeBegin(object instance, object[] inputs, AsyncCallback callback, object state) 46public object InvokeEnd(object instance, out object[] outputs, IAsyncResult result)
System\ServiceModel\Dispatcher\HttpUnhandledOperationInvoker.cs (2)
130public IAsyncResult InvokeBegin(object instance, object[] inputs, AsyncCallback callback, object state) 135public object InvokeEnd(object instance, out object[] outputs, IAsyncResult result)
System.Transactions (6)
System\Transactions\CommittableTransaction.cs (6)
69public IAsyncResult BeginCommit( 205IAsyncResult asyncResult 241object IAsyncResult.AsyncState 249bool IAsyncResult.CompletedSynchronously 257WaitHandle IAsyncResult.AsyncWaitHandle 281bool IAsyncResult.IsCompleted
System.Web (102)
Abstractions\HttpResponseBase.cs (2)
319public virtual IAsyncResult BeginFlush(AsyncCallback callback, Object state) { 357public virtual void EndFlush(IAsyncResult asyncResult) {
Abstractions\HttpResponseWrapper.cs (2)
316public override IAsyncResult BeginFlush(AsyncCallback callback, Object state) { 352public override void EndFlush(IAsyncResult asyncResult) {
Compilation\PageCodeDomTreeGenerator.cs (4)
463method.ReturnType = new CodeTypeReference(typeof(IAsyncResult)); 487method.Parameters.Add(new CodeParameterDeclarationExpression(typeof(IAsyncResult), "ar")); 521method.ReturnType = new CodeTypeReference(typeof(IAsyncResult)); 545method.Parameters.Add(new CodeParameterDeclarationExpression(typeof(IAsyncResult), "ar"));
Configuration\RemoteWebConfigurationHostStream.cs (4)
137public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object state) 143public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state) 170public override int EndRead(IAsyncResult asyncResult) 176public override void EndWrite(IAsyncResult asyncResult)
DefaultHttpHandler.cs (2)
61public virtual IAsyncResult BeginProcessRequest(HttpContext context, AsyncCallback callback, Object state) { 112public virtual void EndProcessRequest(IAsyncResult result) {
Handlers\TransferRequestHandler.cs (2)
13public IAsyncResult BeginProcessRequest(HttpContext context, AsyncCallback cb, object extraData) 18public void EndProcessRequest(IAsyncResult result)
Hosting\IIS7WorkerRequest.cs (4)
529public override IAsyncResult BeginFlush(AsyncCallback callback, Object state) { 562public override void EndFlush(IAsyncResult asyncResult) { 596public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, Object state) { 651public override int EndRead(IAsyncResult asyncResult) {
Hosting\ISAPIWorkerRequest.cs (6)
2526public override IAsyncResult BeginFlush(AsyncCallback callback, Object state) { 2554public override void EndFlush(IAsyncResult asyncResult) { 2595public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, Object state) { 2652public override int EndRead(IAsyncResult asyncResult) { 2688internal override IAsyncResult BeginExecuteUrl( 2752internal override void EndExecuteUrl(IAsyncResult result) {
HttpApplication.cs (13)
49public delegate IAsyncResult BeginEventHandler(object sender, EventArgs e, AsyncCallback cb, object extraData); 54public delegate void EndEventHandler(IAsyncResult ar); 1464IAsyncResult IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) { 1494void IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) { 2745internal IAsyncResult BeginProcessRequestNotification(HttpContext context, AsyncCallback cb) { 2772internal RequestNotificationStatus EndProcessRequestNotification(IAsyncResult result) { 3121private void OnAsyncEventCompletion(IAsyncResult ar) { 3165private void InvokeEndHandler(IAsyncResult ar) { 3205IAsyncResult ar; 3422private void OnAsyncHandlerCompletion(IAsyncResult ar) { 3483private void InvokeEndHandler(IAsyncResult ar) { 3557IAsyncResult ar; 4401public void RegisterBeginUnwound(IAsyncResult asyncResult, out bool operationCompleted, out bool mustCallEndHandler) {
HttpBufferlessInputStream.cs (2)
129public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, Object state) { 173public override int EndRead(IAsyncResult asyncResult) {
HttpResponse.cs (5)
733public IAsyncResult BeginFlush(AsyncCallback callback, Object state) { 756public void EndFlush(IAsyncResult asyncResult) { 2553internal IAsyncResult BeginExecuteUrlForEntireResponse( 2606IAsyncResult ar = _wr.BeginExecuteUrl( 2627internal void EndExecuteUrlForEntireResponse(IAsyncResult result) {
HttpRuntime.cs (4)
1493IAsyncResult ar = context.ApplicationInstance.BeginProcessRequestNotification(context, _requestNotificationCompletionCallback); 2043private void OnRequestNotificationCompletion(IAsyncResult ar) { 2053private void OnRequestNotificationCompletionHelper(IAsyncResult ar) { 2092private void OnHandlerCompletion(IAsyncResult ar) {
httpserverutility.cs (2)
534IAsyncResult ar = asyncHandler.BeginProcessRequest(_context, null, null); 576IAsyncResult ar;
HttpTaskAsyncHandler.cs (2)
38IAsyncResult IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, object extraData) { 42void IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) {
IHttpAsyncHandler.cs (2)
26IAsyncResult BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData); 32void EndProcessRequest(IAsyncResult result);
ImplicitAsyncPreloadModule.cs (4)
39private IAsyncResult OnEnter(Object sender, EventArgs e, AsyncCallback cb, Object state) { 82IAsyncResult readAsyncResult = _inputStream.BeginRead(buffer, 0, buffer.Length, _callback, httpAsyncResult); 97private void OnLeave(IAsyncResult httpAsyncResult) { 104private void OnAsyncCompletion(IAsyncResult readAsyncResult) {
State\SessionStateModule.cs (2)
604IAsyncResult BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData) { 1232void EndAcquireState(IAsyncResult ar) {
TaskAsyncHelper.cs (2)
21internal static IAsyncResult BeginTask(Func<Task> taskFunc, AsyncCallback callback, object state) { 62internal static void EndTask(IAsyncResult ar) {
TaskWrapperAsyncResult.cs (3)
33get { return ((IAsyncResult)Task).AsyncWaitHandle; } 37get { return _forceCompletedSynchronously || ((IAsyncResult)Task).CompletedSynchronously; } 41get { return ((IAsyncResult)Task).IsCompleted; }
UI\LegacyPageAsyncTask.cs (4)
33private IAsyncResult _asyncResult; 78internal IAsyncResult AsyncResult { 96IAsyncResult ar = _beginHandler(source, args, _completionCallback, _state); 119private void OnAsyncTaskCompletion(IAsyncResult ar) {
UI\LegacyPageAsyncTaskManager.cs (2)
139private IAsyncResult BeginExecuteAsyncTasks(object sender, EventArgs e, AsyncCallback cb, object extraData) { 143private void EndExecuteAsyncTasks(IAsyncResult ar) {
UI\Page.cs (8)
5664protected IAsyncResult AspCompatBeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) { 5674protected void AspCompatEndProcessRequest(IAsyncResult result) { 5848IAsyncResult ar = ((BeginEventHandler)_beginHandlers[_currentHandler])(_page, EventArgs.Empty, _completionCallback, _stateObjects[_currentHandler]); 5946private void OnAsyncHandlerCompletion(IAsyncResult ar) { 5990protected IAsyncResult AsyncPageBeginProcessRequest(HttpContext context, AsyncCallback callback, Object extraData) { 6069private IAsyncResult LegacyAsyncPageBeginProcessRequest(HttpContext context, AsyncCallback callback, Object extraData) { 6116protected void AsyncPageEndProcessRequest(IAsyncResult result) { 6127private void LegacyAsyncPageEndProcessRequest(IAsyncResult result) {
UI\PageAsyncTaskApm.cs (1)
35IAsyncResult asyncResult = _beginHandler(sender, e, _ => { taskCompletionSource.SetResult(null); }, _state);
Util\AppVerifier.cs (11)
144public static Func<T, AsyncCallback, object, IAsyncResult> WrapBeginMethod<T>(HttpApplication httpApplication, Func<T, AsyncCallback, object, IAsyncResult> originalDelegate) { 184internal static Func<AsyncCallback, object, IAsyncResult> WrapBeginMethodImpl(HttpApplication httpApplication, Func<AsyncCallback, object, IAsyncResult> beginMethod, Delegate originalDelegate, Action<AppVerifierException> errorHandler, CallStackCollectionBitMasks callStackMask) { 272IAsyncResult asyncResultReturnedByBeginHandler = null; 273IAsyncResult asyncResultPassedToCallback = null; 319Holder<IAsyncResult> asyncResultHolder = tempBeginHandlerReturnValueHolder as Holder<IAsyncResult>; 359beginHandlerReturnValueHolder = new Holder<IAsyncResult>(asyncResultReturnedByBeginHandler); 369IAsyncResult tempAsyncResultPassedToCallback; 399IAsyncResult tempAsyncResultPassedToCallback;
Util\AspCompat.cs (3)
336internal /*public*/ IAsyncResult BeginAspCompatExecution(AsyncCallback cb, object extraData) { 365internal /*public*/ void EndAspCompatExecution(IAsyncResult ar) { 374IAsyncResult ar = step.BeginAspCompatExecution(null, null);
WorkerRequest.cs (6)
758public virtual IAsyncResult BeginFlush(AsyncCallback callback, Object state) { 763public virtual void EndFlush(IAsyncResult asyncResult) { 780public virtual IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, Object state) { 788public virtual int EndRead(IAsyncResult asyncResult) { 1020internal virtual IAsyncResult BeginExecuteUrl( 1029internal virtual void EndExecuteUrl(IAsyncResult result) {
System.Web.Extensions (2)
Script\Services\ScriptHandlerFactory.cs (2)
50public IAsyncResult BeginProcessRequest(HttpContext context, AsyncCallback cb, object extraData) { 54public void EndProcessRequest(IAsyncResult result) {
System.Web.Services (42)
System\Web\Services\Description\HttpProtocolImporter.cs (2)
201typeof(IAsyncResult).FullName, metadata, CodeFlags.IsPublic); 214new string[] { typeof(IAsyncResult).FullName },
System\Web\Services\Description\SoapProtocolImporter.cs (2)
861typeof(IAsyncResult).FullName, 878asyncReturnTypes[0] = typeof(IAsyncResult).FullName;
System\Web\Services\Protocols\BufferedResponseStream.cs (2)
56public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, Object state) { 60public override int EndRead(IAsyncResult asyncResult) { throw new NotSupportedException(Res.GetString(Res.StreamDoesNotRead)); }
System\Web\Services\Protocols\ClientProtocol.cs (9)
231internal IAsyncResult BeginSend(Uri requestUri, WebClientAsyncResult asyncResult, bool callWriteAsyncRequest) { 272static private void GetRequestStreamAsyncCallback(IAsyncResult asyncResult) { 307static private void GetResponseAsyncCallback(IAsyncResult asyncResult) { 343IAsyncResult asyncResult; 358static private bool ProcessAsyncResponseStreamResult(WebClientAsyncResult client, IAsyncResult asyncResult) { 383static private void ReadResponseAsyncCallback(IAsyncResult asyncResult) { 473protected virtual WebResponse GetWebResponse(WebRequest request, IAsyncResult result) { 498internal WebResponse EndSend(IAsyncResult asyncResult, ref object internalAsyncState, ref Stream responseStream) { 872protected override WebResponse GetWebResponse(WebRequest request, IAsyncResult result) {
System\Web\Services\Protocols\HttpClientProtocol.cs (3)
184protected IAsyncResult BeginInvoke(string methodName, string requestUrl, object[] parameters, AsyncCallback callback, object asyncState) { 236protected object EndInvoke(IAsyncResult asyncResult) { 244private void InvokeAsyncCallback(IAsyncResult result) {
System\Web\Services\Protocols\LogicalMethodInfo.cs (5)
167public IAsyncResult BeginInvoke(object target, object[] values, AsyncCallback callback, object asyncState) { 172return (IAsyncResult)methodInfo.Invoke(target, asyncValues); 180public object[] EndInvoke(object target, IAsyncResult asyncResult) { 467return typeof(IAsyncResult).IsAssignableFrom(methodInfo.ReturnType) && 478typeof(IAsyncResult).IsAssignableFrom(paramInfos[0].ParameterType) &&
System\Web\Services\Protocols\SoapClientProtocol.cs (3)
333protected IAsyncResult BeginInvoke(string methodName, object[] parameters, AsyncCallback callback, object asyncState) { 372protected object[] EndInvoke(IAsyncResult asyncResult) { 389private void InvokeAsyncCallback(IAsyncResult result) {
System\Web\Services\Protocols\SoapExtensionStream.cs (4)
90public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, Object state) { 95public override int EndRead(IAsyncResult asyncResult) { 100public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, Object state) { 106public override void EndWrite(IAsyncResult asyncResult) {
System\Web\Services\Protocols\WebServiceHandler.cs (12)
229private void Callback(IAsyncResult result) { 235private void DoCallback(IAsyncResult result) { 243protected IAsyncResult BeginCoreProcessRequest(AsyncCallback callback, object asyncState) { 244IAsyncResult asyncResult; 285private IAsyncResult BeginInvoke(AsyncCallback callback, object asyncState) { 286IAsyncResult asyncResult; 318private void OneWayCallback(IAsyncResult asyncResult) { 322protected void EndCoreProcessRequest(IAsyncResult asyncResult) { 331private void EndInvoke(IAsyncResult asyncResult) { 406public IAsyncResult BeginProcessRequest(HttpContext context, AsyncCallback callback, object asyncState) { 410IAsyncResult result = BeginCoreProcessRequest(callback, asyncState); 417public void EndProcessRequest(IAsyncResult asyncResult) {
System.Windows.Forms (7)
winforms\Managed\System\WinForms\Control.cs (5)
5569public IAsyncResult BeginInvoke(Delegate method) { 5592public IAsyncResult BeginInvoke(Delegate method, params Object[] args) { 5595return(IAsyncResult)marshaler.MarshaledInvoke(this, method, args, false); 6198public Object EndInvoke(IAsyncResult asyncResult) { 7851return(IAsyncResult)tme;
winforms\Managed\System\WinForms\PictureBox.cs (2)
736private void GetResponseCallback(IAsyncResult result) 772private void ReadCallBack(IAsyncResult result)
System.Workflow.Runtime (3)
System\Activities\Statements\Interop.cs (3)
1718protected override IAsyncResult BeginOnSave(IDictionary<XName, object> readWriteValues, IDictionary<System.Xml.Linq.XName, object> writeOnlyValues, TimeSpan timeout, AsyncCallback callback, object state) 1737protected override void EndOnSave(IAsyncResult result) 1853public static void End(IAsyncResult result)
System.WorkflowServices (88)
System\ServiceModel\Dispatcher\DurableInstance.cs (4)
61protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 66protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 75protected override void OnEndClose(IAsyncResult result) 80protected override void OnEndOpen(IAsyncResult result)
System\ServiceModel\Dispatcher\ServiceDurableInstance.cs (19)
130public IAsyncResult BeginFinishOperation(bool completeInstance, bool performPersistence, Exception operationException, AsyncCallback callback, object state) 135public IAsyncResult BeginStartOperation(bool canCreateInstance, AsyncCallback callback, object state) 140public void EndFinishOperation(IAsyncResult result) 145public object EndStartOperation(IAsyncResult result) 332protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 337protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 347protected override void OnEndClose(IAsyncResult result) 352protected override void OnEndOpen(IAsyncResult result) 560IAsyncResult result = null; 653public static void End(IAsyncResult result) 658static void CreateComplete(IAsyncResult result) 663static void DeleteComplete(IAsyncResult result) 668static void HandleOperationCompletion(OperationType operation, IAsyncResult result) 698static void UnlockComplete(IAsyncResult result) 703static void UpdateComplete(IAsyncResult result) 708void CallEndOperation(OperationType operation, IAsyncResult result) 783IAsyncResult result = null; 858public static object End(IAsyncResult result) 865static void LoadComplete(IAsyncResult result)
System\ServiceModel\Dispatcher\ServiceOperationInvoker.cs (9)
87public IAsyncResult InvokeBegin(object instance, object[] inputs, AsyncCallback callback, object state) 106public object InvokeEnd(object instance, out object[] outputs, IAsyncResult result) 134IAsyncResult result = this.durableInstance.BeginStartOperation(canCreateInstance, startCallback, this); 146public static object End(out object[] outputs, IAsyncResult result) 158static void FinishComplete(IAsyncResult result) 188static void InvokeComplete(IAsyncResult resultParameter) 226static void StartComplete(IAsyncResult resultParameter) 266IAsyncResult result = this.durableInstance.BeginFinishOperation(this.invoker.completesInstance, this.invoker.contractCausesSave, this.completionException, finishCallback, this); 297IAsyncResult result = null;
System\ServiceModel\Dispatcher\WorkflowOperationInvoker.cs (2)
120public IAsyncResult InvokeBegin(object instance, object[] inputs, AsyncCallback callback, object state) 160public object InvokeEnd(object instance, out object[] outputs, IAsyncResult result)
System\ServiceModel\Persistence\LockingPersistenceProvider.cs (10)
16public override IAsyncResult BeginCreate(object instance, TimeSpan timeout, AsyncCallback callback, object state) 21public abstract IAsyncResult BeginCreate(object instance, TimeSpan timeout, bool unlockInstance, AsyncCallback callback, object state); 23public override IAsyncResult BeginLoad(TimeSpan timeout, AsyncCallback callback, object state) 28public abstract IAsyncResult BeginLoad(TimeSpan timeout, bool lockInstance, AsyncCallback callback, object state); 30public override IAsyncResult BeginLoadIfChanged(TimeSpan timeout, object instanceToken, AsyncCallback callback, object state) 35public virtual IAsyncResult BeginLoadIfChanged(TimeSpan timeout, object instanceToken, bool lockInstance, AsyncCallback callback, object state) 40public abstract IAsyncResult BeginUnlock(TimeSpan timeout, AsyncCallback callback, object state); 42public override IAsyncResult BeginUpdate(object instance, TimeSpan timeout, AsyncCallback callback, object state) 46public abstract IAsyncResult BeginUpdate(object instance, TimeSpan timeout, bool unlockInstance, AsyncCallback callback, object state); 54public abstract void EndUnlock(IAsyncResult result);
System\ServiceModel\Persistence\PersistenceProvider.cs (10)
27public abstract IAsyncResult BeginCreate(object instance, TimeSpan timeout, AsyncCallback callback, object state); 29public abstract IAsyncResult BeginDelete(object instance, TimeSpan timeout, AsyncCallback callback, object state); 30public abstract IAsyncResult BeginLoad(TimeSpan timeout, AsyncCallback callback, object state); 32public virtual IAsyncResult BeginLoadIfChanged(TimeSpan timeout, object instanceToken, AsyncCallback callback, object state) 36public abstract IAsyncResult BeginUpdate(object instance, TimeSpan timeout, AsyncCallback callback, object state); 41public abstract object EndCreate(IAsyncResult result); 42public abstract void EndDelete(IAsyncResult result); 43public abstract object EndLoad(IAsyncResult result); 46public virtual bool EndLoadIfChanged(IAsyncResult result, out object instance) 51public abstract object EndUpdate(IAsyncResult result);
System\ServiceModel\Persistence\SqlPersistenceProviderFactory.cs (34)
231protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 238protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 249protected override void OnEndClose(IAsyncResult result) 259protected override void OnEndOpen(IAsyncResult result) 306IAsyncResult BeginCreate(Guid id, object instance, TimeSpan timeout, bool unlockInstance, AsyncCallback callback, object state) 321IAsyncResult BeginDelete(Guid id, object instance, TimeSpan timeout, AsyncCallback callback, object state) 330IAsyncResult BeginLoad(Guid id, TimeSpan timeout, bool lockInstance, AsyncCallback callback, object state) 339IAsyncResult BeginUnlock(Guid id, TimeSpan timeout, AsyncCallback callback, object state) 348IAsyncResult BeginUpdate(Guid id, object instance, TimeSpan timeout, bool unlockInstance, AsyncCallback callback, object state) 438object EndCreate(IAsyncResult result) 450void EndDelete(IAsyncResult result) 460object EndLoad(IAsyncResult result) 470void EndUnlock(IAsyncResult result) 475object EndUpdate(IAsyncResult result) 722public static void End(IAsyncResult result) 987public static void End(IAsyncResult result) 1057IAsyncResult result = null; 1122public static object End(IAsyncResult result) 1129static void CommandExecutionComplete(IAsyncResult result) 1174Exception CompleteOperation(IAsyncResult result) 1251public override IAsyncResult BeginCreate(object instance, TimeSpan timeout, bool unlockInstance, AsyncCallback callback, object state) 1257public override IAsyncResult BeginDelete(object instance, TimeSpan timeout, AsyncCallback callback, object state) 1263public override IAsyncResult BeginLoad(TimeSpan timeout, bool lockInstance, AsyncCallback callback, object state) 1269public override IAsyncResult BeginUnlock(TimeSpan timeout, AsyncCallback callback, object state) 1275public override IAsyncResult BeginUpdate(object instance, TimeSpan timeout, bool unlockInstance, AsyncCallback callback, object state) 1293public override object EndCreate(IAsyncResult result) 1298public override void EndDelete(IAsyncResult result) 1303public override object EndLoad(IAsyncResult result) 1308public override void EndUnlock(IAsyncResult result) 1313public override object EndUpdate(IAsyncResult result) 1340protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state) 1345protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state) 1354protected override void OnEndClose(IAsyncResult result) 1359protected override void OnEndOpen(IAsyncResult result)
System.Xaml.Hosting (2)
System\Xaml\Hosting\XamlHttpHandlerFactory.cs (2)
148public IAsyncResult BeginProcessRequest(HttpContext context, AsyncCallback cb, object extraData) 153public void EndProcessRequest(IAsyncResult result)
System.Xml (4)
System\Xml\XmlDownloadManager.cs (4)
140public override IAsyncResult BeginRead( byte[] buffer, int offset, int count, AsyncCallback callback, object state ) { 144public override IAsyncResult BeginWrite( byte[] buffer, int offset, int count, AsyncCallback callback, object state ) { 148public override int EndRead( IAsyncResult asyncResult ) { 152public override void EndWrite( IAsyncResult asyncResult ) {