ActivatedClientTypeEntry Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy ActivatedClientTypeEntry.

Przeciążenia

ActivatedClientTypeEntry(Type, String)

Inicjuje ActivatedClientTypeEntry nowe wystąpienie klasy przy użyciu podanego Type adresu URL aplikacji i .

ActivatedClientTypeEntry(String, String, String)

Inicjuje ActivatedClientTypeEntry nowe wystąpienie klasy o podanej nazwie typu, nazwie zestawu i adresie URL aplikacji.

ActivatedClientTypeEntry(Type, String)

Inicjuje ActivatedClientTypeEntry nowe wystąpienie klasy przy użyciu podanego Type adresu URL aplikacji i .

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)

Parametry

type
Type

Typ Type aktywowany przez klienta.

appUrl
String

Adres URL aplikacji do aktywowania typu .

Przykłady

W poniższym przykładzie kodu pokazano, jak skonstruować element 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")

Uwagi

Nazwa zestawu typu pochodzi z parametru type .

Dotyczy

ActivatedClientTypeEntry(String, String, String)

Inicjuje ActivatedClientTypeEntry nowe wystąpienie klasy o podanej nazwie typu, nazwie zestawu i adresie URL aplikacji.

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)

Parametry

typeName
String

Nazwa typu aktywowanego typu klienta.

assemblyName
String

Nazwa zestawu aktywowanego typu klienta.

appUrl
String

Adres URL aplikacji do aktywowania typu .

Dotyczy