DuplexClientBase<TChannel> Konstruktoren

Definition

Initialisiert eine neue Instanz der DuplexClientBase<TChannel>-Klasse.

Überlädt

Name Beschreibung
DuplexClientBase<TChannel>(Object)

Initialisiert eine neue Instanz der DuplexClientBase<TChannel> Klasse mithilfe des angegebenen Rückrufobjekts.

DuplexClientBase<TChannel>(InstanceContext)

Initialisiert eine neue Instanz der DuplexClientBase<TChannel> Klasse mithilfe des angegebenen Rückrufobjekts.

DuplexClientBase<TChannel>(Object, ServiceEndpoint)

Initialisiert eine neue Instanz der DuplexClientBase<TChannel> Klasse mit dem angegebenen Rückrufobjekt und dem Dienstendpunkt.

DuplexClientBase<TChannel>(Object, String)

Initialisiert eine neue Instanz der DuplexClientBase<TChannel> Klasse mithilfe des angegebenen Rückrufobjekts und des Konfigurationsnamens.

DuplexClientBase<TChannel>(InstanceContext, ServiceEndpoint)

Initialisiert eine neue Instanz der DuplexClientBase<TChannel> Klasse mit dem angegebenen Rückrufobjekt und dem Dienstendpunkt.

DuplexClientBase<TChannel>(InstanceContext, String)

Initialisiert eine neue Instanz der DuplexClientBase<TChannel> Klasse mithilfe des angegebenen Rückrufobjekts und des Konfigurationsnamens.

DuplexClientBase<TChannel>(Object, Binding, EndpointAddress)

Initialisiert eine neue Instanz der DuplexClientBase<TChannel> Klasse mithilfe des angegebenen Rückrufobjekts, der Bindung und der Dienstendpunktadresse.

DuplexClientBase<TChannel>(Object, String, EndpointAddress)

Initialisiert eine neue Instanz der DuplexClientBase<TChannel> Klasse mithilfe des angegebenen Rückrufobjekts, des Konfigurationsnamens und der Dienstendpunktadresse.

DuplexClientBase<TChannel>(Object, String, String)

Initialisiert eine neue Instanz der DuplexClientBase<TChannel> Klasse mithilfe des angegebenen Rückrufobjekts, des Endpunktkonfigurationsnamens und der Dienstendpunktadresse.

DuplexClientBase<TChannel>(InstanceContext, Binding, EndpointAddress)

Initialisiert eine neue Instanz der DuplexClientBase<TChannel> Klasse mithilfe des angegebenen Rückrufobjekts, der Bindung und der Dienstendpunktadresse.

DuplexClientBase<TChannel>(InstanceContext, String, EndpointAddress)

Initialisiert eine neue Instanz der DuplexClientBase<TChannel> Klasse mithilfe des angegebenen Rückrufobjekts, des Konfigurationsnamens und der Dienstendpunktadresse.

DuplexClientBase<TChannel>(InstanceContext, String, String)

Initialisiert eine neue Instanz der DuplexClientBase<TChannel> Klasse mithilfe des angegebenen Rückrufobjekts, des Konfigurationsnamens und der Dienstendpunktadresse.

DuplexClientBase<TChannel>(Object)

Initialisiert eine neue Instanz der DuplexClientBase<TChannel> Klasse mithilfe des angegebenen Rückrufobjekts.

protected:
 DuplexClientBase(System::Object ^ callbackInstance);
protected DuplexClientBase(object callbackInstance);
new System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)> : obj -> System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)>
Protected Sub New (callbackInstance As Object)

Parameter

callbackInstance
Object

Ein Objekt, das zum Erstellen des Instanzkontexts verwendet wird, der das Rückrufobjekt dem Kanal dem Dienst zuordnet.

Ausnahmen

callbackInstance ist null.

Hinweise

WCF erstellt ein neues InstanceContext Objekt mithilfe des callbackInstance Objekts, um alle Rückrufvorgänge zu verarbeiten.

Gilt für:

DuplexClientBase<TChannel>(InstanceContext)

Quelle:
DuplexClientBase.cs
Quelle:
DuplexClientBase.cs

Initialisiert eine neue Instanz der DuplexClientBase<TChannel> Klasse mithilfe des angegebenen Rückrufobjekts.

protected:
 DuplexClientBase(System::ServiceModel::InstanceContext ^ callbackInstance);
protected DuplexClientBase(System.ServiceModel.InstanceContext callbackInstance);
new System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)> : System.ServiceModel.InstanceContext -> System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)>
Protected Sub New (callbackInstance As InstanceContext)

Parameter

callbackInstance
InstanceContext

Ein InstanceContext Objekt, das das Rückrufobjekt dem Kanal dem Dienst zuordnet.

Ausnahmen

callbackInstance ist null.

Hinweise

Der callbackInstance vom Benutzer bereitgestellte Dienst wird verwendet, um alle Rückrufvorgänge zu verarbeiten.

Gilt für:

DuplexClientBase<TChannel>(Object, ServiceEndpoint)

Initialisiert eine neue Instanz der DuplexClientBase<TChannel> Klasse mit dem angegebenen Rückrufobjekt und dem Dienstendpunkt.

protected:
 DuplexClientBase(System::Object ^ callbackInstance, System::ServiceModel::Description::ServiceEndpoint ^ endpoint);
protected DuplexClientBase(object callbackInstance, System.ServiceModel.Description.ServiceEndpoint endpoint);
new System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)> : obj * System.ServiceModel.Description.ServiceEndpoint -> System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)>
Protected Sub New (callbackInstance As Object, endpoint As ServiceEndpoint)

Parameter

callbackInstance
Object

Ein Objekt, das zum Erstellen des Instanzkontexts verwendet wird, der das Rückrufobjekt dem Kanal dem Dienst zuordnet.

endpoint
ServiceEndpoint

Der Dienstendpunkt.

Ausnahmen

callbackInstance oder endpoint ist null.

Gilt für:

DuplexClientBase<TChannel>(Object, String)

Initialisiert eine neue Instanz der DuplexClientBase<TChannel> Klasse mithilfe des angegebenen Rückrufobjekts und des Konfigurationsnamens.

protected:
 DuplexClientBase(System::Object ^ callbackInstance, System::String ^ endpointConfigurationName);
protected DuplexClientBase(object callbackInstance, string endpointConfigurationName);
new System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)> : obj * string -> System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)>
Protected Sub New (callbackInstance As Object, endpointConfigurationName As String)

Parameter

callbackInstance
Object

Ein Objekt, das zum Erstellen des Instanzkontexts verwendet wird, der das Rückrufobjekt dem Kanal dem Dienst zuordnet.

endpointConfigurationName
String

Der Name der Clientendpunktinformationen in der Anwendungskonfigurationsdatei.

Ausnahmen

callbackInstance oder endpointConfigurationName ist null.

Hinweise

WCF erstellt ein neues InstanceContext Objekt mithilfe des callbackInstance Objekts, um alle Rückrufvorgänge zu verarbeiten.

Gilt für:

DuplexClientBase<TChannel>(InstanceContext, ServiceEndpoint)

Initialisiert eine neue Instanz der DuplexClientBase<TChannel> Klasse mit dem angegebenen Rückrufobjekt und dem Dienstendpunkt.

protected:
 DuplexClientBase(System::ServiceModel::InstanceContext ^ callbackInstance, System::ServiceModel::Description::ServiceEndpoint ^ endpoint);
protected DuplexClientBase(System.ServiceModel.InstanceContext callbackInstance, System.ServiceModel.Description.ServiceEndpoint endpoint);
new System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)> : System.ServiceModel.InstanceContext * System.ServiceModel.Description.ServiceEndpoint -> System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)>
Protected Sub New (callbackInstance As InstanceContext, endpoint As ServiceEndpoint)

Parameter

callbackInstance
InstanceContext

Ein InstanceContext Objekt, das das Rückrufobjekt dem Kanal dem Dienst zuordnet.

endpoint
ServiceEndpoint

Der Dienstendpunkt.

Ausnahmen

callbackInstance oder endpoint ist null.

Gilt für:

DuplexClientBase<TChannel>(InstanceContext, String)

Initialisiert eine neue Instanz der DuplexClientBase<TChannel> Klasse mithilfe des angegebenen Rückrufobjekts und des Konfigurationsnamens.

protected:
 DuplexClientBase(System::ServiceModel::InstanceContext ^ callbackInstance, System::String ^ endpointConfigurationName);
protected DuplexClientBase(System.ServiceModel.InstanceContext callbackInstance, string endpointConfigurationName);
new System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)> : System.ServiceModel.InstanceContext * string -> System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)>
Protected Sub New (callbackInstance As InstanceContext, endpointConfigurationName As String)

Parameter

callbackInstance
InstanceContext

Ein Objekt, das zum Erstellen des Instanzkontexts verwendet wird, der das Rückrufobjekt dem Kanal dem Dienst zuordnet.

endpointConfigurationName
String

Der Name der Clientendpunktinformationen in der Anwendungskonfigurationsdatei.

Ausnahmen

callbackInstance oder endpointConfigurationName ist null.

Hinweise

Der callbackInstance vom Benutzer bereitgestellte Dienst wird verwendet, um alle Rückrufvorgänge zu verarbeiten.

Gilt für:

DuplexClientBase<TChannel>(Object, Binding, EndpointAddress)

Initialisiert eine neue Instanz der DuplexClientBase<TChannel> Klasse mithilfe des angegebenen Rückrufobjekts, der Bindung und der Dienstendpunktadresse.

protected:
 DuplexClientBase(System::Object ^ callbackInstance, System::ServiceModel::Channels::Binding ^ binding, System::ServiceModel::EndpointAddress ^ remoteAddress);
protected DuplexClientBase(object callbackInstance, System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress);
new System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)> : obj * System.ServiceModel.Channels.Binding * System.ServiceModel.EndpointAddress -> System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)>
Protected Sub New (callbackInstance As Object, binding As Binding, remoteAddress As EndpointAddress)

Parameter

callbackInstance
Object

Ein Objekt, das zum Erstellen des Instanzkontexts verwendet wird, der das Rückrufobjekt dem Kanal dem Dienst zuordnet.

binding
Binding

Die Bindung, mit der der Dienst aufgerufen werden soll.

remoteAddress
EndpointAddress

Die zu verwendende Dienstendpunktadresse.

Ausnahmen

callbackInstance, binding oder remoteAddress ist .null

Hinweise

WCF erstellt ein neues InstanceContext Objekt mithilfe des callbackInstance Objekts, um alle Rückrufvorgänge zu verarbeiten.

Gilt für:

DuplexClientBase<TChannel>(Object, String, EndpointAddress)

Initialisiert eine neue Instanz der DuplexClientBase<TChannel> Klasse mithilfe des angegebenen Rückrufobjekts, des Konfigurationsnamens und der Dienstendpunktadresse.

protected:
 DuplexClientBase(System::Object ^ callbackInstance, System::String ^ endpointConfigurationName, System::ServiceModel::EndpointAddress ^ remoteAddress);
protected DuplexClientBase(object callbackInstance, string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress);
new System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)> : obj * string * System.ServiceModel.EndpointAddress -> System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)>
Protected Sub New (callbackInstance As Object, endpointConfigurationName As String, remoteAddress As EndpointAddress)

Parameter

callbackInstance
Object

Ein Objekt, das zum Erstellen des Instanzkontexts verwendet wird, der das Rückrufobjekt dem Kanal dem Dienst zuordnet.

endpointConfigurationName
String

Der Name der Clientendpunktinformationen in der Anwendungskonfigurationsdatei.

remoteAddress
EndpointAddress

Die Adresse des zu verwendenden Dienstendpunkts.

Ausnahmen

callbackInstance, der Konfigurationsname oder remoteAddress ist null.

Hinweise

WCF erstellt ein neues InstanceContext Objekt mithilfe des callbackInstance Objekts, um alle Rückrufvorgänge zu verarbeiten.

Gilt für:

DuplexClientBase<TChannel>(Object, String, String)

Initialisiert eine neue Instanz der DuplexClientBase<TChannel> Klasse mithilfe des angegebenen Rückrufobjekts, des Endpunktkonfigurationsnamens und der Dienstendpunktadresse.

protected:
 DuplexClientBase(System::Object ^ callbackInstance, System::String ^ endpointConfigurationName, System::String ^ remoteAddress);
protected DuplexClientBase(object callbackInstance, string endpointConfigurationName, string remoteAddress);
new System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)> : obj * string * string -> System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)>
Protected Sub New (callbackInstance As Object, endpointConfigurationName As String, remoteAddress As String)

Parameter

callbackInstance
Object

Ein Objekt, das zum Erstellen des Instanzkontexts verwendet wird, der das Rückrufobjekt dem Kanal dem Dienst zuordnet.

endpointConfigurationName
String

Der Name der Clientendpunktinformationen in der Anwendungskonfigurationsdatei.

remoteAddress
String

Die Adresse des zu verwendenden Dienstendpunkts.

Ausnahmen

callbackInstance, endpointConfigurationName oder remoteAddress ist .null

Hinweise

WCF erstellt ein neues InstanceContext Objekt mithilfe des callbackInstance Objekts, um alle Rückrufvorgänge zu verarbeiten.

Gilt für:

DuplexClientBase<TChannel>(InstanceContext, Binding, EndpointAddress)

Quelle:
DuplexClientBase.cs
Quelle:
DuplexClientBase.cs
Quelle:
DuplexClientBase.cs

Initialisiert eine neue Instanz der DuplexClientBase<TChannel> Klasse mithilfe des angegebenen Rückrufobjekts, der Bindung und der Dienstendpunktadresse.

protected:
 DuplexClientBase(System::ServiceModel::InstanceContext ^ callbackInstance, System::ServiceModel::Channels::Binding ^ binding, System::ServiceModel::EndpointAddress ^ remoteAddress);
protected DuplexClientBase(System.ServiceModel.InstanceContext callbackInstance, System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress);
new System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)> : System.ServiceModel.InstanceContext * System.ServiceModel.Channels.Binding * System.ServiceModel.EndpointAddress -> System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)>
Protected Sub New (callbackInstance As InstanceContext, binding As Binding, remoteAddress As EndpointAddress)

Parameter

callbackInstance
InstanceContext

Ein Objekt, das zum Erstellen des Instanzkontexts verwendet wird, der das Rückrufobjekt dem Kanal dem Dienst zuordnet.

binding
Binding

Die Bindung, mit der der Dienst aufgerufen werden soll.

remoteAddress
EndpointAddress

Die zu verwendende Dienstendpunktadresse.

Hinweise

Der callbackInstance vom Benutzer bereitgestellte Dienst wird verwendet, um alle Rückrufvorgänge zu verarbeiten.

Gilt für:

DuplexClientBase<TChannel>(InstanceContext, String, EndpointAddress)

Initialisiert eine neue Instanz der DuplexClientBase<TChannel> Klasse mithilfe des angegebenen Rückrufobjekts, des Konfigurationsnamens und der Dienstendpunktadresse.

protected:
 DuplexClientBase(System::ServiceModel::InstanceContext ^ callbackInstance, System::String ^ endpointConfigurationName, System::ServiceModel::EndpointAddress ^ remoteAddress);
protected DuplexClientBase(System.ServiceModel.InstanceContext callbackInstance, string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress);
new System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)> : System.ServiceModel.InstanceContext * string * System.ServiceModel.EndpointAddress -> System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)>
Protected Sub New (callbackInstance As InstanceContext, endpointConfigurationName As String, remoteAddress As EndpointAddress)

Parameter

callbackInstance
InstanceContext

Ein Objekt, das zum Erstellen des Instanzkontexts verwendet wird, der das Rückrufobjekt dem Kanal dem Dienst zuordnet.

endpointConfigurationName
String

Der Name der Clientendpunktinformationen in der Anwendungskonfigurationsdatei.

remoteAddress
EndpointAddress

Die Adresse des zu verwendenden Dienstendpunkts.

Ausnahmen

callbackInstance, endpointConfigurationNameoder die Adresse ist null.

Hinweise

Der callbackInstance vom Benutzer bereitgestellte Dienst wird verwendet, um alle Rückrufvorgänge zu verarbeiten.

Gilt für:

DuplexClientBase<TChannel>(InstanceContext, String, String)

Initialisiert eine neue Instanz der DuplexClientBase<TChannel> Klasse mithilfe des angegebenen Rückrufobjekts, des Konfigurationsnamens und der Dienstendpunktadresse.

protected:
 DuplexClientBase(System::ServiceModel::InstanceContext ^ callbackInstance, System::String ^ endpointConfigurationName, System::String ^ remoteAddress);
protected DuplexClientBase(System.ServiceModel.InstanceContext callbackInstance, string endpointConfigurationName, string remoteAddress);
new System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)> : System.ServiceModel.InstanceContext * string * string -> System.ServiceModel.DuplexClientBase<'Channel (requires 'Channel : null)>
Protected Sub New (callbackInstance As InstanceContext, endpointConfigurationName As String, remoteAddress As String)

Parameter

callbackInstance
InstanceContext

Ein Objekt, das zum Erstellen des Instanzkontexts verwendet wird, der das Rückrufobjekt dem Kanal dem Dienst zuordnet.

endpointConfigurationName
String

Der Name der Clientendpunktinformationen in der Anwendungskonfigurationsdatei.

remoteAddress
String

Die Adresse des zu verwendenden Dienstendpunkts.

Ausnahmen

callbackInstance, endpointConfigurationName oder remoteAddress ist .null

Hinweise

Der callbackInstance vom Benutzer bereitgestellte Dienst wird verwendet, um alle Rückrufvorgänge zu verarbeiten.

Gilt für: