MsmqIntegrationBindingElement.CanBuildChannelFactory<TChannel> 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳一個值,表示你是否能在所提供的上下文下建立通道工廠。
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 此方法僅在 true 為 時TChannel返回IOutputChannel。