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 Methods

The methods of the RemotingServices class are listed below. For a complete list of RemotingServices class members, see the RemotingServices Members topic.

Public:

ConfigureRemoting  
Connect Overloaded. Takes in the Type of the server class.
DeactivateObject Release an wrapped object without releaseing its infrastructure
Disconnect This method is used to stop an object from receiving any further messages through its channel. If passed a proxy will disconnect the proxy from the server object.
Equals (inherited from Object) Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality).
GetEnvoyChainForProxy [To be supplied.]
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetInteroperableType [To be supplied.]
GetLifetimeService  
GetRealProxy Get the real proxy backing the transparent proxy
GetServerTypeForURI [To be supplied.]
GetType (inherited from Object) Gets the Type of the Object.
GetUrtType [To be supplied.]
IsObjectOutOfContext  
IsOneWay [To be supplied.]
IsTransparentProxy Takes an object reference. Returns a Boolean indicating whether the object is a transparent proxy or a real object.
Marshal Overloaded. Takes an object and converts it into an instance of the ObjRef
MethodBaseFromMethodCallMessage [To be supplied.]
ReactivateObject  
RegisterWellKnownChannels Register the CrossContext and CrossAppDomain channels. This is necessary so that clients can use well-known objects across these channels.
RegisterWellKnownType  
ToString (inherited from Object) Returns a String that represents the current Object.
Unmarshal Takes an ObjRef (possibly created by deserializing the bytes transmitted over the wire from another AppDomain and creates a proxy object out of it.

Protected:

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

RemotingServices Class | System.Runtime.Remoting Namespace