SslStreamSecurityBindingElement.BuildChannelFactory<TChannel> Methode

Definition

Erstellt eine Kanalfactory eines angegebenen Typs.

public:
generic <typename TChannel>
 override System::ServiceModel::Channels::IChannelFactory<TChannel> ^ BuildChannelFactory(System::ServiceModel::Channels::BindingContext ^ context);
public override System.ServiceModel.Channels.IChannelFactory<TChannel> BuildChannelFactory<TChannel> (System.ServiceModel.Channels.BindingContext context);
override this.BuildChannelFactory : System.ServiceModel.Channels.BindingContext -> System.ServiceModel.Channels.IChannelFactory<'Channel>
Public Overrides Function BuildChannelFactory(Of TChannel) (context As BindingContext) As IChannelFactory(Of TChannel)

Typparameter

TChannel

Der Typ der Kanalfactory.

Parameter

Gibt zurück

IChannelFactory<TChannel>

Ein IChannelFactory-Objekt, das die Kanalfactory des Typs TChannel darstellt.

Ausnahmen

context ist null.

Hinweise

Diese Methode erstellt eine Kanalfactory, die zum Erstellen eines Kanals verwendet wird, der ausgehende Nachrichten für diese Bindung verarbeitet.

Gilt für