System.Runtime.Remoting.RemotingServices.GetServerTypeForUri Method

Returns the Type of the object with the specified URI.

Syntax

public static Type GetServerTypeForUri (string URI)

Parameters

URI
The URI of the object whose Type is requested.

Returns

The Type of the object with the specified URI.

Remarks

Because remoting identifies endpoints using URIs, the RemotingServices.GetServerTypeForUri(string) method is very useful in the pluggable parts of the remoting infrastructure (for example, channel sinks, dynamic sinks, and context sinks) that use System.Runtime.Remoting.Messaging.IMessage objects, because the current method will return the associated type object from the URI.

Requirements

Namespace: System.Runtime.Remoting
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0