Export (0) Print
Expand All

RemotingServices Methods

The RemotingServices type exposes the following members.

  Name Description
Public method Static member Connect(Type, String) Creates a proxy for a well-known object, given the Type and URL.
Public method Static member Connect(Type, String, Object) Creates a proxy for a well-known object, given the Type, URL, and channel-specific data.
Public method Static member Disconnect Stops an object from receiving any further messages through the registered remoting channels.
Public method Static member ExecuteMessage Connects to the specified remote object, and executes the provided IMethodCallMessage on it.
Public method Static member GetEnvoyChainForProxy Returns a chain of envoy sinks that should be used when sending messages to the remote object represented by the specified proxy.
Public method Static member GetLifetimeService Returns a lifetime service object that controls the lifetime policy of the specified object.
Public method Static member GetMethodBaseFromMethodMessage Returns the method base from the given IMethodMessage.
Public method Static member GetObjectData Serializes the specified marshal by reference object into the provided SerializationInfo.
Public method Static member GetObjectUri Retrieves the URI for the specified object.
Public method Static member GetObjRefForProxy Returns the ObjRef that represents the remote object from the specified proxy.
Public method Static member GetRealProxy Returns the real proxy backing the specified transparent proxy.
Public method Static member GetServerTypeForUri Returns the Type of the object with the specified URI.
Public method Static member GetSessionIdForMethodMessage Retrieves a session ID for a message.
Public method Static member IsMethodOverloaded Returns a Boolean value that indicates whether the method in the given message is overloaded.
Public method Static member IsObjectOutOfAppDomain 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.
Public method Static member IsObjectOutOfContext 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.
Public method Static member IsOneWay 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.
Public method Static member IsTransparentProxy Returns a Boolean value that indicates whether the given object is a transparent proxy or a real object.
Public method Static member LogRemotingStage Infrastructure. Obsolete. Logs the stage in a remoting exchange to an external debugger.
Public method Static member Marshal(MarshalByRefObject) Takes a MarshalByRefObject, registers it with the remoting infrastructure, and converts it into an instance of the ObjRef class.
Public method Static member Marshal(MarshalByRefObject, String) Converts the given MarshalByRefObject into an instance of the ObjRef class with the specified URI.
Public method Static member Marshal(MarshalByRefObject, String, Type) Takes a MarshalByRefObject and converts it into an instance of the ObjRef class with the specified URI, and the provided Type.
Public method Static member SetObjectUriForMarshal Sets the URI for the subsequent call to the Marshal method.
Public method Static member Unmarshal(ObjRef) Takes a ObjRef and creates a proxy object out of it.
Public method Static member Unmarshal(ObjRef, Boolean) Takes a ObjRef and creates a proxy object out of it, refining it to the type on the server.
Top
Show:
© 2014 Microsoft