ChannelEndpointElement Konstruktory

Definice

Inicializuje novou instanci ChannelEndpointElement třídy .

Přetížení

ChannelEndpointElement()

Inicializuje novou instanci ChannelEndpointElement třídy .

ChannelEndpointElement(EndpointAddress, String)

Inicializuje novou instanci třídy se ChannelEndpointElement zadanou adresou koncového bodu a typem kontraktu.

ChannelEndpointElement()

Inicializuje novou instanci ChannelEndpointElement třídy .

public:
 ChannelEndpointElement();
public ChannelEndpointElement ();
Public Sub New ()

Platí pro

ChannelEndpointElement(EndpointAddress, String)

Inicializuje novou instanci třídy se ChannelEndpointElement zadanou adresou koncového bodu a typem kontraktu.

public:
 ChannelEndpointElement(System::ServiceModel::EndpointAddress ^ address, System::String ^ contractType);
public ChannelEndpointElement (System.ServiceModel.EndpointAddress address, string contractType);
new System.ServiceModel.Configuration.ChannelEndpointElement : System.ServiceModel.EndpointAddress * string -> System.ServiceModel.Configuration.ChannelEndpointElement
Public Sub New (address As EndpointAddress, contractType As String)

Parametry

address
EndpointAddress

Určuje adresu koncového bodu. Výchozí hodnota je prázdný řetězec. Adresa musí být absolutní identifikátor URI.

contractType
String

Řetězec, který označuje, který kontrakt tento koncový bod vystaví. Sestavení musí implementovat typ kontraktu.

Platí pro