IBdcClientBaseExtender.CreateChannel<T> Method
Creates a new channel to the service using the specified channel factory.
Namespace: Microsoft.BusinessData.SystemSpecific.Wcf
Assembly: Microsoft.BusinessData (in Microsoft.BusinessData.dll)
Syntax
'Declaration
Function CreateChannel(Of T) ( _
factory As ChannelFactory(Of T) _
) As T
'Usage
Dim instance As IBdcClientBaseExtender
Dim factory As ChannelFactory(Of T)
Dim returnValue As T
returnValue = instance.CreateChannel(factory)
T CreateChannel<T>(
ChannelFactory<T> factory
)
Type Parameters
- T
The type of channel produced by the channel factory.
Parameters
factory
Type: System.ServiceModel.ChannelFactory<T>The factory used to create channels of the specified generic type.
Return Value
Type: T
A new channel.
See Also
Reference
IBdcClientBaseExtender Interface