NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

RemotingServices.Connect (Type, String)

Takes in the Type of the server class, and the URL to the server class and creates a proxy object out of it.

[Visual Basic]
Overloads Public Shared Function Connect( _
   ByVal classToProxy As Type, _
   ByVal url As String _
) As MarshalByRefObject
[C#]
public static MarshalByRefObject Connect(
   Type classToProxy,
   string url
);
[C++]
public: static MarshalByRefObject* Connect(
   Type* classToProxy,
   String* url
);
[JScript]
public static function Connect(
   classToProxy : Type,
   url : String
) : MarshalByRefObject;

Parameters

classToProxy
Type of server class.
url
URL to the server class.

Return Value

Proxy.

See Also

RemotingServices Class | RemotingServices Members | System.Runtime.Remoting Namespace | RemotingServices.Connect Overload List