UdpTransportBindingElement.CanBuildChannelFactory<TChannel> Methode

Definition

Gibt einen Wert zurück, der angibt, ob das Bindungselement eine Kanalfactory für einen bestimmten Kanaltyp erstellen kann.

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

Typparameter

TChannel

Der Typ des Kanals, den die Kanalfactory erzeugt.

Parameter

context
BindingContext

Der BindingContext Stellt den Kontext für das Bindungselement bereit.

Gibt zurück

true wenn der IChannelFactory<TChannel> Typ TChannel vom Bindungselement erstellt werden kann; andernfalls false.

Gilt für: