PnrpPeerResolverBindingElement.CanBuildChannelListener<TChannel> Metoda

Definicja

Określa, czy można skompilować odbiornik kanału określonego typu.

public:
generic <typename TChannel>
 where TChannel : class, System::ServiceModel::Channels::IChannel override bool CanBuildChannelListener(System::ServiceModel::Channels::BindingContext ^ context);
public override bool CanBuildChannelListener<TChannel> (System.ServiceModel.Channels.BindingContext context) where TChannel : class, System.ServiceModel.Channels.IChannel;
override this.CanBuildChannelListener : System.ServiceModel.Channels.BindingContext -> bool (requires 'Channel : null and 'Channel :> System.ServiceModel.Channels.IChannel)
Public Overrides Function CanBuildChannelListener(Of TChannel As {Class, IChannel}) (context As BindingContext) As Boolean

Parametry typu

TChannel

IChannel Określa typ odbiornika kanału.

Parametry

context
BindingContext

BindingContext Określa kontekst powiązania dla odbiornika kanału.

Zwraca

Boolean

true Jeśli ten element powiązania może generować odbiornik kanału określonego typu; false Jeśli nie jest to możliwe.

Dotyczy