ICorProfilerCallback::RemotingClientInvocationStarted Method
Notifies the profiler that a remoting call has started.
HRESULT RemotingClientInvocationStarted();
Remarks
This event is the same for synchronous and asynchronous calls.
Each of the following pairs of callbacks will occur on the same thread:
RemotingClientInvocationStarted and ICorProfilerCallback::RemotingClientSendingMessage
ICorProfilerCallback::RemotingClientReceivingReply and ICorProfilerCallback::RemotingClientInvocationFinished
ICorProfilerCallback::RemotingServerInvocationReturned and ICorProfilerCallback::RemotingServerSendingReply
You should be aware of the following issues with the remoting callbacks:
Execution of a remoting function is not reflected by the profiler API, so notifications for functions that are called from the client and executed on the server are not properly received. The actual invocation happens via a proxy object; to the profiler, it appears that certain functions are JIT-compiled but never used.
The profiler does not receive accurate notifications for asynchronous remoting events.
Requirements
Platforms: See .NET Framework System Requirements.
Header: CorProf.idl
Library: CorGuids.lib
.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0