17 private bool _isCompleted;
19 private bool _endInvokeCalled;
25 private object _asyncState;
52 return _endInvokeCalled;
56 _endInvokeCalled = value;
67 return _AsyncWaitHandle;
85 m.GetAsyncBeginInfo(out _acbd, out _asyncState);
86 _asyncDelegate = (
Delegate)m.GetThisPtr();
89 private void FaultInWaitHandle()
93 if (_AsyncWaitHandle ==
null)
127 _AsyncWaitHandle.
Set();
virtual void SetMessageCtrl(IMessageCtrl mc)
Sets an T:System.Runtime.Remoting.Messaging.IMessageCtrl for the current remote method call,...
Encapsulates operating system–specific objects that wait for exclusive access to shared resources.
Holds a message returned in response to a method call on a remote object.
IMessageSink NextSink
Gets the next message sink in the sink chain.
Defines the method call return message interface.
bool Set()
Sets the state of the event to signaled, allowing one or more waiting threads to proceed.
virtual bool CompletedSynchronously
Gets a value indicating whether the BeginInvoke call completed synchronously.
virtual IMessage GetReplyMessage()
Gets the response message for the asynchronous call.
delegate void AsyncCallback(IAsyncResult ar)
References a method to be called when a corresponding asynchronous operation completes.
virtual bool IsCompleted
Gets a value indicating whether the server has completed the call.
Provides a way to control asynchronous messages after they have dispatched using the M:System....
Provides information about, and means to manipulate, the current environment and platform....
Represents the status of an asynchronous operation.
Encapsulates the results of an asynchronous operation on a delegate.
Notifies one or more waiting threads that an event has occurred. This class cannot be inherited.
Represents a delegate, which is a data structure that refers to a static method or to a class instanc...
virtual IMessage SyncProcessMessage(IMessage msg)
Synchronously processes a response message returned by a method call on a remote object.
Contains communication data sent between cooperating message sinks.
virtual object AsyncState
Gets the object provided as the last parameter of a BeginInvoke method call.
virtual WaitHandle AsyncWaitHandle
Gets a T:System.Threading.WaitHandle that encapsulates Win32 synchronization handles,...
Defines the interface for a message sink.
virtual object AsyncDelegate
Gets the delegate object on which the asynchronous call was invoked.
bool EndInvokeCalled
Gets or sets a value indicating whether EndInvoke has been called on the current T:System....
The exception that is thrown when an invoked method is not supported, or when there is an attempt to ...
virtual IMessageCtrl AsyncProcessMessage(IMessage msg, IMessageSink replySink)
Implements the T:System.Runtime.Remoting.Messaging.IMessageSink interface.
The exception that is thrown when something has gone wrong during remoting.