ServiceBusMessagingTransportBindingElement.CanBuildChannelFactory<T> Method
Queries if the channel factory can build 'context'.
Namespace: Microsoft.ServiceBus.Messaging
Assembly: Microsoft.ServiceBus.Messaging (in Microsoft.ServiceBus.Messaging.dll)
Syntax
'Declaration
Public Overrides Function CanBuildChannelFactory(Of T) ( _
context As BindingContext _
) As Boolean
'Usage
Dim instance As ServiceBusMessagingTransportBindingElement
Dim context As BindingContext
Dim returnValue As Boolean
returnValue = instance.CanBuildChannelFactory(context)
public override bool CanBuildChannelFactory<T>(
BindingContext context
)
public:
generic<typename T>
virtual bool CanBuildChannelFactory(
BindingContext^ context
) override
abstract CanBuildChannelFactory :
context:BindingContext -> bool
override CanBuildChannelFactory :
context:BindingContext -> bool
JScript does not support generic types and methods.
Type Parameters
- T
Generic type parameter.
Parameters
- context
Type: System.ServiceModel.Channels.BindingContext
The binding context.
Return Value
Type: System.Boolean
true if the binding element can build a channel factory for a specific type of channel; false otherwise.