MtomMessageEncodingBindingElement.CanBuildChannelFactory<TChannel> Methode

Definition

Gibt einen Wert zurück, der angibt, ob die aktuelle Bindung eine Factory für einen angegebenen Kanaltyp und Kontext 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 Kanaltyp, der von der Kanalfactory erzeugt wird.

Parameter

context
BindingContext

Der BindingContext für den Kanal.

Gibt zurück

true, wenn der angegebene Kanalfactorystapel auf dem Dienst erstellt werden kann, andernfalls false.

Gilt für: