ActivatedClientTypeEntry Constructors

Definition

Initializes a new instance of the ActivatedClientTypeEntry class.

Overloads

ActivatedClientTypeEntry(Type, String)

Initializes a new instance of the ActivatedClientTypeEntry class with the given Type and application URL.

ActivatedClientTypeEntry(String, String, String)

Initializes a new instance of the ActivatedClientTypeEntry class with the given type name, assembly name, and application URL.

ActivatedClientTypeEntry(Type, String)

Initializes a new instance of the ActivatedClientTypeEntry class with the given Type and application URL.

public:
 ActivatedClientTypeEntry(Type ^ type, System::String ^ appUrl);
public ActivatedClientTypeEntry (Type type, string appUrl);
new System.Runtime.Remoting.ActivatedClientTypeEntry : Type * string -> System.Runtime.Remoting.ActivatedClientTypeEntry
Public Sub New (type As Type, appUrl As String)

Parameters

type
Type

The Type of the client activated type.

appUrl
String

The URL of the application to activate the type in.

Examples

The following code example shows how to construct a ActivatedClientTypeEntry.

// Create activated client type entry.
ActivatedClientTypeEntry^ activatedClientTypeEntry = gcnew ActivatedClientTypeEntry( HelloServer::typeid, "tcp://localhost:8082" );
// Create activated client type entry.
ActivatedClientTypeEntry myActivatedClientTypeEntry =
    new ActivatedClientTypeEntry(typeof(HelloServer),
    "tcp://localhost:8082");
' Create activated client type entry.
Dim myActivatedClientTypeEntry As _
    New ActivatedClientTypeEntry(GetType(HelloServer), _
    "tcp://localhost:8082")

Remarks

The assembly name of the type is derived from the type parameter.

Applies to

ActivatedClientTypeEntry(String, String, String)

Initializes a new instance of the ActivatedClientTypeEntry class with the given type name, assembly name, and application URL.

public:
 ActivatedClientTypeEntry(System::String ^ typeName, System::String ^ assemblyName, System::String ^ appUrl);
public ActivatedClientTypeEntry (string typeName, string assemblyName, string appUrl);
new System.Runtime.Remoting.ActivatedClientTypeEntry : string * string * string -> System.Runtime.Remoting.ActivatedClientTypeEntry
Public Sub New (typeName As String, assemblyName As String, appUrl As String)

Parameters

typeName
String

The type name of the client activated type.

assemblyName
String

The assembly name of the client activated type.

appUrl
String

The URL of the application to activate the type in.

Applies to