Binding.BuildChannelListener Metoda

Definicja

Kompiluje odbiornik kanału w usłudze, który akceptuje określony typ kanału i spełnia określone funkcje.Builds the channel listener on the service that accepts a specified type of channel and that satisfies the features specified.

Przeciążenia

BuildChannelListener<TChannel>(Object[])

Kompiluje odbiornik kanału w usłudze, który akceptuje określony typ kanału i spełnia określone funkcje.Builds the channel listener on the service that accepts a specified type of channel and that satisfies the features specified.

BuildChannelListener<TChannel>(BindingParameterCollection)

Kompiluje odbiornik kanału w usłudze, który akceptuje określony typ kanału i spełnia funkcje określone przez kolekcję parametrów powiązań.Builds the channel listener on the service that accepts a specified type of channel and that satisfies the features specified by a collection of binding parameters.

BuildChannelListener<TChannel>(Uri, String, Object[])

Kompiluje odbiornik kanału w usłudze, który akceptuje określony typ kanału i spełnia określone funkcje.Builds the channel listener on the service that accepts a specified type of channel and that satisfies the features specified.

BuildChannelListener<TChannel>(Uri, String, BindingParameterCollection)

Kompiluje odbiornik kanału w usłudze, który akceptuje określony typ kanału i spełnia określone funkcje.Builds the channel listener on the service that accepts a specified type of channel and that satisfies the features specified.

BuildChannelListener<TChannel>(Uri, Object[])

Kompiluje odbiornik kanału w usłudze, który akceptuje określony typ kanału i spełnia określone funkcje.Builds the channel listener on the service that accepts a specified type of channel and that satisfies the features specified.

BuildChannelListener<TChannel>(Uri, BindingParameterCollection)

Kompiluje odbiornik kanału w usłudze, który akceptuje określony typ kanału i spełnia określone funkcje.Builds the channel listener on the service that accepts a specified type of channel and that satisfies the features specified.

BuildChannelListener<TChannel>(Uri, String, ListenUriMode, Object[])

Kompiluje odbiornik kanału w usłudze, który akceptuje określony typ kanału i spełnia określone funkcje.Builds the channel listener on the service that accepts a specified type of channel and that satisfies the features specified.

BuildChannelListener<TChannel>(Uri, String, ListenUriMode, BindingParameterCollection)

Kompiluje odbiornik kanału w usłudze, który akceptuje określony typ kanału i spełnia określone funkcje.Builds the channel listener on the service that accepts a specified type of channel and that satisfies the features specified.

BuildChannelListener<TChannel>(Object[])

Kompiluje odbiornik kanału w usłudze, który akceptuje określony typ kanału i spełnia określone funkcje.Builds the channel listener on the service that accepts a specified type of channel and that satisfies the features specified.

public:
generic <typename TChannel>
 where TChannel : class, System::ServiceModel::Channels::IChannel virtual System::ServiceModel::Channels::IChannelListener<TChannel> ^ BuildChannelListener(... cli::array <System::Object ^> ^ parameters);
public virtual System.ServiceModel.Channels.IChannelListener<TChannel> BuildChannelListener<TChannel> (params object[] parameters) where TChannel : class, System.ServiceModel.Channels.IChannel;
abstract member BuildChannelListener : obj[] -> System.ServiceModel.Channels.IChannelListener<'Channel (requires 'Channel : null and 'Channel :> System.ServiceModel.Channels.IChannel)> (requires 'Channel : null and 'Channel :> System.ServiceModel.Channels.IChannel)
override this.BuildChannelListener : obj[] -> System.ServiceModel.Channels.IChannelListener<'Channel (requires 'Channel : null and 'Channel :> System.ServiceModel.Channels.IChannel)> (requires 'Channel : null and 'Channel :> System.ServiceModel.Channels.IChannel)
Public Overridable Function BuildChannelListener(Of TChannel As {Class, IChannel}) (ParamArray parameters As Object()) As IChannelListener(Of TChannel)

Parametry typu

TChannel

Typ kanału akceptowanego przez odbiornik kanału.The type of channel the channel listener accepts.

Parametry

parameters
Object[]

Tablica obiektów, która określa wymagania dotyczące skompilowanej fabryki kanałów.The object array that specifies requirements for the channel factory built.

Zwraca

IChannelListener<TChannel>

IChannelListener<TChannel>Typ TChannel , który spełnia określone funkcje.An IChannelListener<TChannel> of type TChannel that satisfies the features specified.

Wyjątki

Brak elementu transportu lub jest on niezgodny z kolejnością lub schemat jest nieprawidłowy lub nie określono wersji komunikatu.Transport element is missing or out of order or scheme is invalid or the message version is not specified.

Dotyczy

BuildChannelListener<TChannel>(BindingParameterCollection)

Kompiluje odbiornik kanału w usłudze, który akceptuje określony typ kanału i spełnia funkcje określone przez kolekcję parametrów powiązań.Builds the channel listener on the service that accepts a specified type of channel and that satisfies the features specified by a collection of binding parameters.

public:
generic <typename TChannel>
 where TChannel : class, System::ServiceModel::Channels::IChannel virtual System::ServiceModel::Channels::IChannelListener<TChannel> ^ BuildChannelListener(System::ServiceModel::Channels::BindingParameterCollection ^ parameters);
public virtual System.ServiceModel.Channels.IChannelListener<TChannel> BuildChannelListener<TChannel> (System.ServiceModel.Channels.BindingParameterCollection parameters) where TChannel : class, System.ServiceModel.Channels.IChannel;
abstract member BuildChannelListener : System.ServiceModel.Channels.BindingParameterCollection -> System.ServiceModel.Channels.IChannelListener<'Channel (requires 'Channel : null and 'Channel :> System.ServiceModel.Channels.IChannel)> (requires 'Channel : null and 'Channel :> System.ServiceModel.Channels.IChannel)
override this.BuildChannelListener : System.ServiceModel.Channels.BindingParameterCollection -> System.ServiceModel.Channels.IChannelListener<'Channel (requires 'Channel : null and 'Channel :> System.ServiceModel.Channels.IChannel)> (requires 'Channel : null and 'Channel :> System.ServiceModel.Channels.IChannel)
Public Overridable Function BuildChannelListener(Of TChannel As {Class, IChannel}) (parameters As BindingParameterCollection) As IChannelListener(Of TChannel)

Parametry typu

TChannel

Typ kanału akceptowanego przez odbiornik kanału.The type of channel the channel listener accepts.

Parametry

parameters
BindingParameterCollection

BindingParameterCollectionOkreśla wymagania dotyczące skompilowanego odbiornika kanału.The BindingParameterCollection that specifies requirements for the channel listener that is built.

Zwraca

IChannelListener<TChannel>

IChannelListener<TChannel>Typ TChannel , który spełnia określone funkcje.An IChannelListener<TChannel> of type TChannel that satisfies the features specified.

Wyjątki

Brak elementu transportu lub jest on niezgodny z kolejnością lub schemat jest nieprawidłowy lub nie określono wersji komunikatu.Transport element is missing or out of order or scheme is invalid or the message version is not specified.

Dotyczy

BuildChannelListener<TChannel>(Uri, String, Object[])

Kompiluje odbiornik kanału w usłudze, który akceptuje określony typ kanału i spełnia określone funkcje.Builds the channel listener on the service that accepts a specified type of channel and that satisfies the features specified.

public:
generic <typename TChannel>
 where TChannel : class, System::ServiceModel::Channels::IChannel virtual System::ServiceModel::Channels::IChannelListener<TChannel> ^ BuildChannelListener(Uri ^ listenUriBaseAddress, System::String ^ listenUriRelativeAddress, ... cli::array <System::Object ^> ^ parameters);
public virtual System.ServiceModel.Channels.IChannelListener<TChannel> BuildChannelListener<TChannel> (Uri listenUriBaseAddress, string listenUriRelativeAddress, params object[] parameters) where TChannel : class, System.ServiceModel.Channels.IChannel;
abstract member BuildChannelListener : Uri * string * obj[] -> System.ServiceModel.Channels.IChannelListener<'Channel (requires 'Channel : null and 'Channel :> System.ServiceModel.Channels.IChannel)> (requires 'Channel : null and 'Channel :> System.ServiceModel.Channels.IChannel)
override this.BuildChannelListener : Uri * string * obj[] -> System.ServiceModel.Channels.IChannelListener<'Channel (requires 'Channel : null and 'Channel :> System.ServiceModel.Channels.IChannel)> (requires 'Channel : null and 'Channel :> System.ServiceModel.Channels.IChannel)
Public Overridable Function BuildChannelListener(Of TChannel As {Class, IChannel}) (listenUriBaseAddress As Uri, listenUriRelativeAddress As String, ParamArray parameters As Object()) As IChannelListener(Of TChannel)

Parametry typu

TChannel

Typ kanału akceptowanego przez odbiornik kanału.The type of channel the channel listener accepts.

Parametry

listenUriBaseAddress
Uri

UriZapewnia adres podstawowy, na którym nasłuchuje usługa.The Uri that provides the base address on which the service listens.

listenUriRelativeAddress
String

Adres, względem adresu podstawowego, na którym nasłuchuje usługa.The address, relative to the base address, on which the service listens.

parameters
Object[]

Tablica obiektów, która określa wymagania dotyczące skompilowanej fabryki kanałów.The object array that specifies requirements for the channel factory that is built.

Zwraca

IChannelListener<TChannel>

IChannelListener<TChannel>Typ TChannel , który spełnia określone funkcje.An IChannelListener<TChannel> of type TChannel that satisfies the features specified.

Wyjątki

Brak elementu transportu lub jest on niezgodny z kolejnością lub schemat jest nieprawidłowy lub nie określono wersji komunikatu.Transport element is missing or out of order or scheme is invalid or the message version is not specified.

Dotyczy

BuildChannelListener<TChannel>(Uri, String, BindingParameterCollection)

Kompiluje odbiornik kanału w usłudze, który akceptuje określony typ kanału i spełnia określone funkcje.Builds the channel listener on the service that accepts a specified type of channel and that satisfies the features specified.

public:
generic <typename TChannel>
 where TChannel : class, System::ServiceModel::Channels::IChannel virtual System::ServiceModel::Channels::IChannelListener<TChannel> ^ BuildChannelListener(Uri ^ listenUriBaseAddress, System::String ^ listenUriRelativeAddress, System::ServiceModel::Channels::BindingParameterCollection ^ parameters);
public virtual System.ServiceModel.Channels.IChannelListener<TChannel> BuildChannelListener<TChannel> (Uri listenUriBaseAddress, string listenUriRelativeAddress, System.ServiceModel.Channels.BindingParameterCollection parameters) where TChannel : class, System.ServiceModel.Channels.IChannel;
abstract member BuildChannelListener : Uri * string * System.ServiceModel.Channels.BindingParameterCollection -> System.ServiceModel.Channels.IChannelListener<'Channel (requires 'Channel : null and 'Channel :> System.ServiceModel.Channels.IChannel)> (requires 'Channel : null and 'Channel :> System.ServiceModel.Channels.IChannel)
override this.BuildChannelListener : Uri * string * System.ServiceModel.Channels.BindingParameterCollection -> System.ServiceModel.Channels.IChannelListener<'Channel (requires 'Channel : null and 'Channel :> System.ServiceModel.Channels.IChannel)> (requires 'Channel : null and 'Channel :> System.ServiceModel.Channels.IChannel)
Public Overridable Function BuildChannelListener(Of TChannel As {Class, IChannel}) (listenUriBaseAddress As Uri, listenUriRelativeAddress As String, parameters As BindingParameterCollection) As IChannelListener(Of TChannel)

Parametry typu

TChannel

Typ kanału akceptowanego przez odbiornik kanału.The type of channel the channel listener accepts.

Parametry

listenUriBaseAddress
Uri

UriZapewnia adres podstawowy, na którym nasłuchuje usługa.The Uri that provides the base address on which the service listens.

listenUriRelativeAddress
String

Adres, względem adresu podstawowego, na którym nasłuchuje usługa.The address, relative to the base address, on which the service listens.

parameters
BindingParameterCollection

BindingParameterCollectionOkreśla wymagania dotyczące skompilowanego odbiornika kanału.The BindingParameterCollection that specifies requirements for the channel listener that is built.

Zwraca

IChannelListener<TChannel>

IChannelListener<TChannel>Typ TChannel , który spełnia określone funkcje.An IChannelListener<TChannel> of type TChannel that satisfies the features specified.

Wyjątki

Brak elementu transportu lub jest on niezgodny z kolejnością lub schemat jest nieprawidłowy lub nie określono wersji komunikatu.Transport element is missing or out of order or scheme is invalid or the message version is not specified.

Dotyczy

BuildChannelListener<TChannel>(Uri, Object[])

Kompiluje odbiornik kanału w usłudze, który akceptuje określony typ kanału i spełnia określone funkcje.Builds the channel listener on the service that accepts a specified type of channel and that satisfies the features specified.

public:
generic <typename TChannel>
 where TChannel : class, System::ServiceModel::Channels::IChannel virtual System::ServiceModel::Channels::IChannelListener<TChannel> ^ BuildChannelListener(Uri ^ listenUriBaseAddress, ... cli::array <System::Object ^> ^ parameters);
public:
generic <typename TChannel>
 where TChannel : class, System::ServiceModel::Channels::IChannel virtual System::ServiceModel::Channels::IChannelListener<TChannel> ^ BuildChannelListener(Uri ^ listenUri, ... cli::array <System::Object ^> ^ parameters);
public virtual System.ServiceModel.Channels.IChannelListener<TChannel> BuildChannelListener<TChannel> (Uri listenUriBaseAddress, params object[] parameters) where TChannel : class, System.ServiceModel.Channels.IChannel;
public virtual System.ServiceModel.Channels.IChannelListener<TChannel> BuildChannelListener<TChannel> (Uri listenUri, params object[] parameters) where TChannel : class, System.ServiceModel.Channels.IChannel;
abstract member BuildChannelListener : Uri * obj[] -> System.ServiceModel.Channels.IChannelListener<'Channel (requires 'Channel : null and 'Channel :> System.ServiceModel.Channels.IChannel)> (requires 'Channel : null and 'Channel :> System.ServiceModel.Channels.IChannel)
override this.BuildChannelListener : Uri * obj[] -> System.ServiceModel.Channels.IChannelListener<'Channel (requires 'Channel : null and 'Channel :> System.ServiceModel.Channels.IChannel)> (requires 'Channel : null and 'Channel :> System.ServiceModel.Channels.IChannel)
abstract member BuildChannelListener : Uri * obj[] -> System.ServiceModel.Channels.IChannelListener<'Channel (requires 'Channel : null and 'Channel :> System.ServiceModel.Channels.IChannel)> (requires 'Channel : null and 'Channel :> System.ServiceModel.Channels.IChannel)
override this.BuildChannelListener : Uri * obj[] -> System.ServiceModel.Channels.IChannelListener<'Channel (requires 'Channel : null and 'Channel :> System.ServiceModel.Channels.IChannel)> (requires 'Channel : null and 'Channel :> System.ServiceModel.Channels.IChannel)
Public Overridable Function BuildChannelListener(Of TChannel As {Class, IChannel}) (listenUriBaseAddress As Uri, ParamArray parameters As Object()) As IChannelListener(Of TChannel)
Public Overridable Function BuildChannelListener(Of TChannel As {Class, IChannel}) (listenUri As Uri, ParamArray parameters As Object()) As IChannelListener(Of TChannel)

Parametry typu

TChannel

Typ kanału akceptowanego przez odbiornik kanału.The type of channel the channel listener accepts.

Parametry

listenUriBaseAddresslistenUri
Uri

UriZapewnia adres podstawowy, na którym nasłuchuje usługa.The Uri that provides the base address on which the service listens.

parameters
Object[]

Tablica obiektów, która określa wymagania dotyczące skompilowanej fabryki kanałów.The object array that specifies requirements for the channel factory that is built.

Zwraca

IChannelListener<TChannel>

IChannelListener<TChannel>Typ TChannel , który spełnia określone funkcje.An IChannelListener<TChannel> of type TChannel that satisfies the features specified.

Wyjątki

Brak elementu transportu lub jest on niezgodny z kolejnością lub schemat jest nieprawidłowy lub nie określono wersji komunikatu.Transport element is missing or out of order or scheme is invalid or the message version is not specified.

Dotyczy

BuildChannelListener<TChannel>(Uri, BindingParameterCollection)

Kompiluje odbiornik kanału w usłudze, który akceptuje określony typ kanału i spełnia określone funkcje.Builds the channel listener on the service that accepts a specified type of channel and that satisfies the features specified.

public:
generic <typename TChannel>
 where TChannel : class, System::ServiceModel::Channels::IChannel virtual System::ServiceModel::Channels::IChannelListener<TChannel> ^ BuildChannelListener(Uri ^ listenUriBaseAddress, System::ServiceModel::Channels::BindingParameterCollection ^ parameters);
public:
generic <typename TChannel>
 where TChannel : class, System::ServiceModel::Channels::IChannel virtual System::ServiceModel::Channels::IChannelListener<TChannel> ^ BuildChannelListener(Uri ^ listenUri, System::ServiceModel::Channels::BindingParameterCollection ^ parameters);
public virtual System.ServiceModel.Channels.IChannelListener<TChannel> BuildChannelListener<TChannel> (Uri listenUriBaseAddress, System.ServiceModel.Channels.BindingParameterCollection parameters) where TChannel : class, System.ServiceModel.Channels.IChannel;
public virtual System.ServiceModel.Channels.IChannelListener<TChannel> BuildChannelListener<TChannel> (Uri listenUri, System.ServiceModel.Channels.BindingParameterCollection parameters) where TChannel : class, System.ServiceModel.Channels.IChannel;
abstract member BuildChannelListener : Uri * System.ServiceModel.Channels.BindingParameterCollection -> System.ServiceModel.Channels.IChannelListener<'Channel (requires 'Channel : null and 'Channel :> System.ServiceModel.Channels.IChannel)> (requires 'Channel : null and 'Channel :> System.ServiceModel.Channels.IChannel)
override this.BuildChannelListener : Uri * System.ServiceModel.Channels.BindingParameterCollection -> System.ServiceModel.Channels.IChannelListener<'Channel (requires 'Channel : null and 'Channel :> System.ServiceModel.Channels.IChannel)> (requires 'Channel : null and 'Channel :> System.ServiceModel.Channels.IChannel)
abstract member BuildChannelListener : Uri * System.ServiceModel.Channels.BindingParameterCollection -> System.ServiceModel.Channels.IChannelListener<'Channel (requires 'Channel : null and 'Channel :> System.ServiceModel.Channels.IChannel)> (requires 'Channel : null and 'Channel :> System.ServiceModel.Channels.IChannel)
override this.BuildChannelListener : Uri * System.ServiceModel.Channels.BindingParameterCollection -> System.ServiceModel.Channels.IChannelListener<'Channel (requires 'Channel : null and 'Channel :> System.ServiceModel.Channels.IChannel)> (requires 'Channel : null and 'Channel :> System.ServiceModel.Channels.IChannel)
Public Overridable Function BuildChannelListener(Of TChannel As {Class, IChannel}) (listenUriBaseAddress As Uri, parameters As BindingParameterCollection) As IChannelListener(Of TChannel)
Public Overridable Function BuildChannelListener(Of TChannel As {Class, IChannel}) (listenUri As Uri, parameters As BindingParameterCollection) As IChannelListener(Of TChannel)

Parametry typu

TChannel

Typ kanału akceptowanego przez odbiornik kanału.The type of channel the channel listener accepts.

Parametry

listenUriBaseAddresslistenUri
Uri

UriZapewnia adres podstawowy, na którym nasłuchuje usługa.The Uri that provides the base address on which the service listens.

parameters
BindingParameterCollection

BindingParameterCollectionOkreśla wymagania dotyczące skompilowanego odbiornika kanału.The BindingParameterCollection that specifies requirements for the channel listener that is built.

Zwraca

IChannelListener<TChannel>

IChannelListener<TChannel>Typ TChannel , który spełnia określone funkcje.An IChannelListener<TChannel> of type TChannel that satisfies the features specified.

Wyjątki

Brak elementu transportu lub jest on niezgodny z kolejnością lub schemat jest nieprawidłowy lub nie określono wersji komunikatu.Transport element is missing or out of order or scheme is invalid or the message version is not specified.

Dotyczy

BuildChannelListener<TChannel>(Uri, String, ListenUriMode, Object[])

Kompiluje odbiornik kanału w usłudze, który akceptuje określony typ kanału i spełnia określone funkcje.Builds the channel listener on the service that accepts a specified type of channel and that satisfies the features specified.

public:
generic <typename TChannel>
 where TChannel : class, System::ServiceModel::Channels::IChannel virtual System::ServiceModel::Channels::IChannelListener<TChannel> ^ BuildChannelListener(Uri ^ listenUriBaseAddress, System::String ^ listenUriRelativeAddress, System::ServiceModel::Description::ListenUriMode listenUriMode, ... cli::array <System::Object ^> ^ parameters);
public virtual System.ServiceModel.Channels.IChannelListener<TChannel> BuildChannelListener<TChannel> (Uri listenUriBaseAddress, string listenUriRelativeAddress, System.ServiceModel.Description.ListenUriMode listenUriMode, params object[] parameters) where TChannel : class, System.ServiceModel.Channels.IChannel;
abstract member BuildChannelListener : Uri * string * System.ServiceModel.Description.ListenUriMode * obj[] -> System.ServiceModel.Channels.IChannelListener<'Channel (requires 'Channel : null and 'Channel :> System.ServiceModel.Channels.IChannel)> (requires 'Channel : null and 'Channel :> System.ServiceModel.Channels.IChannel)
override this.BuildChannelListener : Uri * string * System.ServiceModel.Description.ListenUriMode * obj[] -> System.ServiceModel.Channels.IChannelListener<'Channel (requires 'Channel : null and 'Channel :> System.ServiceModel.Channels.IChannel)> (requires 'Channel : null and 'Channel :> System.ServiceModel.Channels.IChannel)
Public Overridable Function BuildChannelListener(Of TChannel As {Class, IChannel}) (listenUriBaseAddress As Uri, listenUriRelativeAddress As String, listenUriMode As ListenUriMode, ParamArray parameters As Object()) As IChannelListener(Of TChannel)

Parametry typu

TChannel

Typ kanału akceptowanego przez odbiornik kanału.The type of channel the channel listener accepts.

Parametry

listenUriBaseAddress
Uri

UriZapewnia adres podstawowy, na którym nasłuchuje usługa.The Uri that provides the base address on which the service listens.

listenUriRelativeAddress
String

Adres, względem adresu podstawowego, na którym nasłuchuje usługa.The address, relative to the base address, on which the service listens.

listenUriMode
ListenUriMode

Wartość wskazująca, ListenUriMode czy transport musi upewnić się, że identyfikator URI podany dla usługi do nasłuchiwania jest unikatowy lub może być używany dokładnie zgodnie z podanym opisem.A value of the ListenUriMode that indicates whether the transport must ensure that the URI provided for the service to listen on is unique or can be used exactly as provided.

parameters
Object[]

Tablica obiektów, która określa wymagania dotyczące skompilowanej fabryki kanałów.The object array that specifies requirements for the channel factory that is built.

Zwraca

IChannelListener<TChannel>

IChannelListener<TChannel>Typ TChannel , który spełnia określone funkcje.An IChannelListener<TChannel> of type TChannel that satisfies the features specified.

Wyjątki

Brak elementu transportu lub jest on niezgodny z kolejnością lub schemat jest nieprawidłowy lub nie określono wersji komunikatu.Transport element is missing or out of order or scheme is invalid or the message version is not specified.

Dotyczy

BuildChannelListener<TChannel>(Uri, String, ListenUriMode, BindingParameterCollection)

Kompiluje odbiornik kanału w usłudze, który akceptuje określony typ kanału i spełnia określone funkcje.Builds the channel listener on the service that accepts a specified type of channel and that satisfies the features specified.

public:
generic <typename TChannel>
 where TChannel : class, System::ServiceModel::Channels::IChannel virtual System::ServiceModel::Channels::IChannelListener<TChannel> ^ BuildChannelListener(Uri ^ listenUriBaseAddress, System::String ^ listenUriRelativeAddress, System::ServiceModel::Description::ListenUriMode listenUriMode, System::ServiceModel::Channels::BindingParameterCollection ^ parameters);
public virtual System.ServiceModel.Channels.IChannelListener<TChannel> BuildChannelListener<TChannel> (Uri listenUriBaseAddress, string listenUriRelativeAddress, System.ServiceModel.Description.ListenUriMode listenUriMode, System.ServiceModel.Channels.BindingParameterCollection parameters) where TChannel : class, System.ServiceModel.Channels.IChannel;
abstract member BuildChannelListener : Uri * string * System.ServiceModel.Description.ListenUriMode * System.ServiceModel.Channels.BindingParameterCollection -> System.ServiceModel.Channels.IChannelListener<'Channel (requires 'Channel : null and 'Channel :> System.ServiceModel.Channels.IChannel)> (requires 'Channel : null and 'Channel :> System.ServiceModel.Channels.IChannel)
override this.BuildChannelListener : Uri * string * System.ServiceModel.Description.ListenUriMode * System.ServiceModel.Channels.BindingParameterCollection -> System.ServiceModel.Channels.IChannelListener<'Channel (requires 'Channel : null and 'Channel :> System.ServiceModel.Channels.IChannel)> (requires 'Channel : null and 'Channel :> System.ServiceModel.Channels.IChannel)
Public Overridable Function BuildChannelListener(Of TChannel As {Class, IChannel}) (listenUriBaseAddress As Uri, listenUriRelativeAddress As String, listenUriMode As ListenUriMode, parameters As BindingParameterCollection) As IChannelListener(Of TChannel)

Parametry typu

TChannel

Typ kanału akceptowanego przez odbiornik kanału.The type of channel the channel listener accepts.

Parametry

listenUriBaseAddress
Uri

UriZapewnia adres podstawowy, na którym nasłuchuje usługa.The Uri that provides the base address on which the service listens.

listenUriRelativeAddress
String

Adres, względem adresu podstawowego, na którym nasłuchuje usługa.The address, relative to the base address, on which the service listens.

listenUriMode
ListenUriMode

Wartość wskazująca, ListenUriMode czy transport musi upewnić się, że identyfikator URI podany dla usługi do nasłuchiwania jest unikatowy lub może być używany dokładnie zgodnie z podanym opisem.A value of the ListenUriMode that indicates whether the transport must ensure that the URI provided for the service to listen on is unique or can be used exactly as provided.

parameters
BindingParameterCollection

BindingParameterCollectionOkreśla wymagania dotyczące skompilowanego odbiornika kanału.The BindingParameterCollection that specifies requirements for the channel listener that is built.

Zwraca

IChannelListener<TChannel>

IChannelListener<TChannel>Typ TChannel , który spełnia określone funkcje.An IChannelListener<TChannel> of type TChannel that satisfies the features specified.

Wyjątki

Brak elementu transportu lub jest on niezgodny z kolejnością lub schemat jest nieprawidłowy lub nie określono wersji komunikatu.Transport element is missing or out of order or scheme is invalid or the message version is not specified.

Dotyczy