Takes an object and converts it into an instance of the ObjRef class, which in turn, can be serialized for transmission between AppDomain, even over the wire. The specified URI is used.
[Visual Basic] Overloads Public Shared Function Marshal( _ ByVal Obj As MarshalByRefObject, _ ByVal URI As String, _ ByVal RequestedType As Type _ ) As ObjRef [C#] public static ObjRef Marshal( MarshalByRefObject Obj, string URI, Type RequestedType ); [C++] public: static ObjRef* Marshal( MarshalByRefObject* Obj, String* URI, Type* RequestedType ); [JScript] public static function Marshal( Obj : MarshalByRefObject, URI : String, RequestedType : Type ) : ObjRef;
ObjRef.
RemotingServices Class | RemotingServices Members | System.Runtime.Remoting Namespace | RemotingServices.Marshal Overload List