System.Runtime.Remoting.Proxies.RealProxy.GetStubData Method

Retrieves stub data that is stored for the specified proxy.

Syntax

public static object GetStubData (RealProxy rp)

Parameters

rp
The proxy for which stub data is requested.

Returns

Stub data for the specified proxy.

Remarks

The stub data is used by custom proxy users to decide what to do with an incoming method call. For example, the stub data might be information about the server's context that you can use to determine whether to execute the call locally, or send it through the remoting infrastructure.

Requirements

Namespace: System.Runtime.Remoting.Proxies
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0