共用方式為


HttpTransportBindingElement.CanBuildChannelFactory<TChannel> 方法

定義

判斷是否可以建置指定之型別的通道處理站。

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

類型參數

TChannel

要檢查之通道的類型。

參數

context
BindingContext

通道的 BindingContext

傳回

如果能建置通道處理站,則為 true,否則為 false

例外狀況

contextnull

適用於