Binding.BuildChannelListener Binding.BuildChannelListener Binding.BuildChannelListener Binding.BuildChannelListener Method

定义

在服务上生成通道侦听器,该通道侦听器接受具有指定类型的通道并满足所指定的功能。Builds the channel listener on the service that accepts a specified type of channel and that satisfies the features specified.

重载

BuildChannelListener<TChannel>(Object[]) BuildChannelListener<TChannel>(Object[]) BuildChannelListener<TChannel>(Object[]) BuildChannelListener<TChannel>(Object[])

在服务上生成通道侦听器,该通道侦听器接受具有指定类型的通道并满足所指定的功能。Builds the channel listener on the service that accepts a specified type of channel and that satisfies the features specified.

BuildChannelListener<TChannel>(BindingParameterCollection) BuildChannelListener<TChannel>(BindingParameterCollection) BuildChannelListener<TChannel>(BindingParameterCollection) BuildChannelListener<TChannel>(BindingParameterCollection)

在服务上生成通道侦听器,该通道侦听器接受具有指定类型的通道并满足绑定参数集合所指定的功能。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[]) BuildChannelListener<TChannel>(Uri, String, Object[]) BuildChannelListener<TChannel>(Uri, String, Object[]) BuildChannelListener<TChannel>(Uri, String, Object[])

在服务上生成通道侦听器,该通道侦听器接受具有指定类型的通道并满足所指定的功能。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) BuildChannelListener<TChannel>(Uri, String, BindingParameterCollection) BuildChannelListener<TChannel>(Uri, String, BindingParameterCollection) BuildChannelListener<TChannel>(Uri, String, BindingParameterCollection)

在服务上生成通道侦听器,该通道侦听器接受具有指定类型的通道并满足所指定的功能。Builds the channel listener on the service that accepts a specified type of channel and that satisfies the features specified.

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

在服务上生成通道侦听器,该通道侦听器接受具有指定类型的通道并满足所指定的功能。Builds the channel listener on the service that accepts a specified type of channel and that satisfies the features specified.

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

在服务上生成通道侦听器,该通道侦听器接受具有指定类型的通道并满足所指定的功能。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[]) BuildChannelListener<TChannel>(Uri, String, ListenUriMode, Object[]) BuildChannelListener<TChannel>(Uri, String, ListenUriMode, Object[])

在服务上生成通道侦听器,该通道侦听器接受具有指定类型的通道并满足所指定的功能。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) BuildChannelListener<TChannel>(Uri, String, ListenUriMode, BindingParameterCollection) BuildChannelListener<TChannel>(Uri, String, ListenUriMode, BindingParameterCollection)

在服务上生成通道侦听器,该通道侦听器接受具有指定类型的通道并满足所指定的功能。Builds the channel listener on the service that accepts a specified type of channel and that satisfies the features specified.

BuildChannelListener<TChannel>(Object[]) BuildChannelListener<TChannel>(Object[]) BuildChannelListener<TChannel>(Object[]) BuildChannelListener<TChannel>(Object[])

在服务上生成通道侦听器,该通道侦听器接受具有指定类型的通道并满足所指定的功能。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)

类型参数

TChannel

通道侦听器接受的通道类型。The type of channel the channel listener accepts.

参数

parameters
Object[]

为生成的通道工厂指定需求的对象数组。The object array that specifies requirements for the channel factory built.

返回

一个类型为 IChannelListener<TChannel>TChannel,它满足指定的功能。An IChannelListener<TChannel> of type TChannel that satisfies the features specified.

异常

缺少传输元素或其顺序紊乱,或架构无效,或未指定消息版本。Transport element is missing or out of order or scheme is invalid or the message version is not specified.

BuildChannelListener<TChannel>(BindingParameterCollection) BuildChannelListener<TChannel>(BindingParameterCollection) BuildChannelListener<TChannel>(BindingParameterCollection) BuildChannelListener<TChannel>(BindingParameterCollection)

在服务上生成通道侦听器,该通道侦听器接受具有指定类型的通道并满足绑定参数集合所指定的功能。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)

类型参数

TChannel

通道侦听器接受的通道类型。The type of channel the channel listener accepts.

参数

parameters
BindingParameterCollection BindingParameterCollection BindingParameterCollection BindingParameterCollection

为生成的通道侦听器指定要求的 BindingParameterCollectionThe BindingParameterCollection that specifies requirements for the channel listener that is built.

返回

一个类型为 IChannelListener<TChannel>TChannel,它满足指定的功能。An IChannelListener<TChannel> of type TChannel that satisfies the features specified.

异常

缺少传输元素或其顺序紊乱,或架构无效,或未指定消息版本。Transport element is missing or out of order or scheme is invalid or the message version is not specified.

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

在服务上生成通道侦听器,该通道侦听器接受具有指定类型的通道并满足所指定的功能。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)

类型参数

TChannel

通道侦听器接受的通道类型。The type of channel the channel listener accepts.

参数

listenUriBaseAddress
Uri Uri Uri Uri

提供服务侦听基址的 UriThe Uri that provides the base address on which the service listens.

listenUriRelativeAddress
String String String String

相对于服务侦听基址的地址。The address, relative to the base address, on which the service listens.

parameters
Object[]

为生成的通道工厂指定需求的对象数组。The object array that specifies requirements for the channel factory that is built.

返回

一个类型为 IChannelListener<TChannel>TChannel,它满足指定的功能。An IChannelListener<TChannel> of type TChannel that satisfies the features specified.

异常

缺少传输元素或其顺序紊乱,或架构无效,或未指定消息版本。Transport element is missing or out of order or scheme is invalid or the message version is not specified.

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

在服务上生成通道侦听器,该通道侦听器接受具有指定类型的通道并满足所指定的功能。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)

类型参数

TChannel

通道侦听器接受的通道类型。The type of channel the channel listener accepts.

参数

listenUriBaseAddress
Uri Uri Uri Uri

提供服务侦听基址的 UriThe Uri that provides the base address on which the service listens.

listenUriRelativeAddress
String String String String

相对于服务侦听基址的地址。The address, relative to the base address, on which the service listens.

parameters
BindingParameterCollection BindingParameterCollection BindingParameterCollection BindingParameterCollection

为生成的通道侦听器指定要求的 BindingParameterCollectionThe BindingParameterCollection that specifies requirements for the channel listener that is built.

返回

一个类型为 IChannelListener<TChannel>TChannel,它满足指定的功能。An IChannelListener<TChannel> of type TChannel that satisfies the features specified.

异常

缺少传输元素或其顺序紊乱,或架构无效,或未指定消息版本。Transport element is missing or out of order or scheme is invalid or the message version is not specified.

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

在服务上生成通道侦听器,该通道侦听器接受具有指定类型的通道并满足所指定的功能。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 ^ listenUri, ... cli::array <System::Object ^> ^ parameters);
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)
Public Overridable Function BuildChannelListener(Of TChannel As {Class, IChannel}) (listenUri As Uri, ParamArray parameters As Object()) As IChannelListener(Of TChannel)

类型参数

TChannel

通道侦听器接受的通道类型。The type of channel the channel listener accepts.

参数

listenUriBaseAddress
Uri Uri Uri Uri

提供服务侦听基址的 UriThe Uri that provides the base address on which the service listens.

parameters
Object[]

为生成的通道工厂指定需求的对象数组。The object array that specifies requirements for the channel factory that is built.

返回

一个类型为 IChannelListener<TChannel>TChannel,它满足指定的功能。An IChannelListener<TChannel> of type TChannel that satisfies the features specified.

异常

缺少传输元素或其顺序紊乱,或架构无效,或未指定消息版本。Transport element is missing or out of order or scheme is invalid or the message version is not specified.

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

在服务上生成通道侦听器,该通道侦听器接受具有指定类型的通道并满足所指定的功能。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 ^ listenUri, System::ServiceModel::Channels::BindingParameterCollection ^ parameters);
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)
Public Overridable Function BuildChannelListener(Of TChannel As {Class, IChannel}) (listenUri As Uri, parameters As BindingParameterCollection) As IChannelListener(Of TChannel)

类型参数

TChannel

通道侦听器接受的通道类型。The type of channel the channel listener accepts.

参数

listenUriBaseAddress
Uri Uri Uri Uri

提供服务侦听基址的 UriThe Uri that provides the base address on which the service listens.

parameters
BindingParameterCollection BindingParameterCollection BindingParameterCollection BindingParameterCollection

为生成的通道侦听器指定要求的 BindingParameterCollectionThe BindingParameterCollection that specifies requirements for the channel listener that is built.

返回

一个类型为 IChannelListener<TChannel>TChannel,它满足指定的功能。An IChannelListener<TChannel> of type TChannel that satisfies the features specified.

异常

缺少传输元素或其顺序紊乱,或架构无效,或未指定消息版本。Transport element is missing or out of order or scheme is invalid or the message version is not specified.

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

在服务上生成通道侦听器,该通道侦听器接受具有指定类型的通道并满足所指定的功能。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)

类型参数

TChannel

通道侦听器接受的通道类型。The type of channel the channel listener accepts.

参数

listenUriBaseAddress
Uri Uri Uri Uri

提供服务侦听基址的 UriThe Uri that provides the base address on which the service listens.

listenUriRelativeAddress
String String String String

相对于服务侦听基址的地址。The address, relative to the base address, on which the service listens.

listenUriMode
ListenUriMode ListenUriMode ListenUriMode ListenUriMode

ListenUriMode 的一个值,指示传输是必须确保提供给服务侦听的 URI 唯一,还是严格按照所提供的内容使用。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[]

为生成的通道工厂指定需求的对象数组。The object array that specifies requirements for the channel factory that is built.

返回

一个类型为 IChannelListener<TChannel>TChannel,它满足指定的功能。An IChannelListener<TChannel> of type TChannel that satisfies the features specified.

异常

缺少传输元素或其顺序紊乱,或架构无效,或未指定消息版本。Transport element is missing or out of order or scheme is invalid or the message version is not specified.

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

在服务上生成通道侦听器,该通道侦听器接受具有指定类型的通道并满足所指定的功能。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)

类型参数

TChannel

通道侦听器接受的通道类型。The type of channel the channel listener accepts.

参数

listenUriBaseAddress
Uri Uri Uri Uri

提供服务侦听基址的 UriThe Uri that provides the base address on which the service listens.

listenUriRelativeAddress
String String String String

相对于服务侦听基址的地址。The address, relative to the base address, on which the service listens.

listenUriMode
ListenUriMode ListenUriMode ListenUriMode ListenUriMode

ListenUriMode 的一个值,指示传输是必须确保提供给服务侦听的 URI 唯一,还是严格按照所提供的内容使用。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 BindingParameterCollection BindingParameterCollection BindingParameterCollection

为生成的通道侦听器指定要求的 BindingParameterCollectionThe BindingParameterCollection that specifies requirements for the channel listener that is built.

返回

一个类型为 IChannelListener<TChannel>TChannel,它满足指定的功能。An IChannelListener<TChannel> of type TChannel that satisfies the features specified.

异常

缺少传输元素或其顺序紊乱,或架构无效,或未指定消息版本。Transport element is missing or out of order or scheme is invalid or the message version is not specified.

适用于