System.Runtime.Remoting.RemotingServices: Method Members

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

See Also: Inherited members from System.Object

Public Methods

static
Connect(Type, string) : object

Creates a proxy for a well-known object, given the Type and URL.

static
Connect(Type, string, object) : object

Creates a proxy for a well-known object, given the Type, URL, and channel-specific data.

static
Disconnect(MarshalByRefObject) : bool

Stops an object from receiving any further messages through the registered remoting channels.

static
ExecuteMessage(MarshalByRefObject, System.Runtime.Remoting.Messaging.IMethodCallMessage) : System.Runtime.Remoting.Messaging.IMethodReturnMessage

Connects to the specified remote object, and executes the provided System.Runtime.Remoting.Messaging.IMethodCallMessage on it.

static
GetEnvoyChainForProxy(MarshalByRefObject) : System.Runtime.Remoting.Messaging.IMessageSink

Returns a chain of envoy sinks that should be used when sending messages to the remote object represented by the specified proxy.

static
GetLifetimeService(MarshalByRefObject) : object

Returns a lifetime service object that controls the lifetime policy of the specified object.

static
GetMethodBaseFromMethodMessage(System.Runtime.Remoting.Messaging.IMethodMessage) : System.Reflection.MethodBase

Returns the method base from the given System.Runtime.Remoting.Messaging.IMethodMessage.

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

Serializes the specified marshal by reference object into the provided System.Runtime.Serialization.SerializationInfo.

static
GetObjectUri(MarshalByRefObject) : string

Retrieves the URI for the specified object.

static
GetObjRefForProxy(MarshalByRefObject) : ObjRef

Returns the System.Runtime.Remoting.ObjRef that represents the remote object from the specified proxy.

static
GetRealProxy(object) : System.Runtime.Remoting.Proxies.RealProxy

Returns the real proxy backing the specified transparent proxy.

static
GetServerTypeForUri(string) : Type

Returns the Type of the object with the specified URI.

static
GetSessionIdForMethodMessage(System.Runtime.Remoting.Messaging.IMethodMessage) : string

Retrieves a session ID for a message.

static
IsMethodOverloaded(System.Runtime.Remoting.Messaging.IMethodMessage) : bool

Returns a Boolean value that indicates whether the method in the given message is overloaded.

static
IsObjectOutOfAppDomain(object) : bool

Returns a Boolean value that indicates whether the object specified by the given transparent proxy is contained in a different application domain than the object that called the current method.

static
IsObjectOutOfContext(object) : bool

Returns a Boolean value that indicates whether the object represented by the given proxy is contained in a different context than the object that called the current method.

static
IsOneWay(System.Reflection.MethodBase) : bool

Returns a Boolean value that indicates whether the client that called the method specified in the given message is waiting for the server to finish processing the method before continuing execution.

static
IsTransparentProxy(object) : bool

Returns a Boolean value that indicates whether the given object is a transparent proxy or a real object.

static
LogRemotingStage(int)

Logs the stage in a remoting exchange to an external debugger.

static
Marshal(MarshalByRefObject) : ObjRef

Takes a MarshalByRefObject, registers it with the remoting infrastructure, and converts it into an instance of the System.Runtime.Remoting.ObjRef class.

static
Marshal(MarshalByRefObject, string) : ObjRef

Converts the given MarshalByRefObject into an instance of the System.Runtime.Remoting.ObjRef class with the specified URI.

static
Marshal(MarshalByRefObject, string, Type) : ObjRef

Takes a MarshalByRefObject and converts it into an instance of the System.Runtime.Remoting.ObjRef class with the specified URI, and the provided Type.

static
SetObjectUriForMarshal(MarshalByRefObject, string)

Sets the URI for the subsequent call to the RemotingServices.Marshal(MarshalByRefObject) method.

static
Unmarshal(ObjRef) : object

Takes a System.Runtime.Remoting.ObjRef and creates a proxy object out of it.

static
Unmarshal(ObjRef, bool) : object

Takes a System.Runtime.Remoting.ObjRef and creates a proxy object out of it, refining it to the type on the server.