Düzenle

Aracılığıyla paylaş


MsmqIntegrationBindingElement.CanBuildChannelFactory<TChannel> Method

Definition

Returns a value that indicates whether you can build a channel factory with the context provided.

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

Type Parameters

TChannel

The type of channel.

Parameters

context
BindingContext

The BindingContext with which to build the channel factory.

Returns

true if you can build a channel factory with the context provided; otherwise, false. This method returns true only if TChannel is IOutputChannel.

Applies to