共用方式為


PnrpPeerResolverBindingElement.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

指定要產生之通道型別的 IChannel

參數

context
BindingContext

指定通道處理站之繫結內容的 BindingContext

傳回

如果這個繫結項目可以產生指定之型別的通道處理站則為 true,否則為 false

適用於