System.Runtime.Remoting.Proxies.RealProxy: Method Members

The methods of System.Runtime.Remoting.Proxies.RealProxy are listed below. For a list of all members, see the RealProxy Members list.

See Also: Inherited members from System.Object

Public Methods

CreateObjRef(Type) : System.Runtime.Remoting.ObjRef

Creates an System.Runtime.Remoting.ObjRef for the specified object type, and registers it with the remoting infrastructure as a client-activated object.

GetCOMIUnknown(bool) : IntPtr

Requests an unmanaged reference to the object represented by the current proxy instance.

GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)

Adds the transparent proxy of the object represented by the current instance of System.Runtime.Remoting.Proxies.RealProxy to the specified System.Runtime.Serialization.SerializationInfo.

GetProxiedType() : Type

Returns the Type of the object that the current instance of System.Runtime.Remoting.Proxies.RealProxy represents.

static
GetStubData(RealProxy) : object

Retrieves stub data that is stored for the specified proxy.

GetTransparentProxy() : object

Returns the transparent proxy for the current instance of System.Runtime.Remoting.Proxies.RealProxy.

InitializeServerObject(System.Runtime.Remoting.Activation.IConstructionCallMessage) : System.Runtime.Remoting.Activation.IConstructionReturnMessage

Initializes a new instance of the object Type of the remote object that the current instance of System.Runtime.Remoting.Proxies.RealProxy represents with the specified System.Runtime.Remoting.Activation.IConstructionCallMessage.

abstract
Invoke(System.Runtime.Remoting.Messaging.IMessage) : System.Runtime.Remoting.Messaging.IMessage

When overridden in a derived class, invokes the method that is specified in the provided System.Runtime.Remoting.Messaging.IMessage on the remote object that is represented by the current instance.

SetCOMIUnknown(IntPtr)

Stores an unmanaged proxy of the object that is represented by the current instance.

static
SetStubData(RealProxy, object)

Sets the stub data for the specified proxy.

SupportsInterface(ref Guid) : IntPtr
Documentation for this section has not yet been entered.

Protected Methods

AttachServer(MarshalByRefObject)

Attaches the current proxy instance to the specified remote MarshalByRefObject.

DetachServer() : MarshalByRefObject

Detaches the current proxy instance from the remote server object that it represents.

GetUnwrappedServer() : MarshalByRefObject

Returns the server object that is represented by the current proxy instance.