PnrpPeerResolverBindingElement.CanBuildChannelFactory<TChannel>(BindingContext) Método

Definição

Determina se uma fábrica de canais do tipo especificado pode ser criada.Determines whether a channel factory of the specified type can be built.

public:
generic <typename TChannel>
 override bool CanBuildChannelFactory(System::ServiceModel::Channels::BindingContext ^ context);
public override bool CanBuildChannelFactory<TChannel> (System.ServiceModel.Channels.BindingContext context);
override this.CanBuildChannelFactory : System.ServiceModel.Channels.BindingContext -> bool
Public Overrides Function CanBuildChannelFactory(Of TChannel) (context As BindingContext) As Boolean

Parâmetros de tipo

TChannel

IChannel que especifica o tipo dos canais a serem produzidos.IChannel that specifies the type of the channels to produce.

Parâmetros

context
BindingContext

O BindingContext que especifica o contexto de associação para a fábrica de canais.BindingContext that specifies the binding context for the channel factory.

Retornos

Boolean

true se esse elemento de associação puder produzir uma fábrica de canais do tipo especificado; false se não puder.true if this binding element can produce a channel factory of the specified type; false if it cannot.

Aplica-se a