IClrObjectFactory.CreateFromVroot(String, String) Method

Definition

Activates a remote assembly through .NET remoting, using the virtual root URL of the remote assembly.

public:
 System::Object ^ CreateFromVroot(System::String ^ VrootUrl, System::String ^ Mode);
public object CreateFromVroot (string VrootUrl, string Mode);
abstract member CreateFromVroot : string * string -> obj
Public Function CreateFromVroot (VrootUrl As String, Mode As String) As Object

Parameters

VrootUrl
String

The virtual root URL of the remote object.

Mode
String

Not used.

Returns

An instance of the Object representing the type, with culture, arguments, and binding and activation attributes set to null, or null if the assembly identified by the VrootUrl parameter is not found.

Exceptions

A caller in the call chain does not have permission to access unmanaged code.

The thread token could not be opened.

Applies to