ICorProfilerCallback::RemotingClientInvocationStarted Method

Notifies the profiler that a remoting call has started.

Syntax

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:

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 System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: Available since 2.0

See also