共用方式為


BdcClientBase<TChannel>.CreateChannel Method

Creates a new channel to the service.

Namespace:  Microsoft.BusinessData.SystemSpecific.Wcf
Assembly:  Microsoft.BusinessData (in Microsoft.BusinessData.dll)

Syntax

'Declaration
Protected Overrides Function CreateChannel As TChannel
'Usage
Dim returnValue As TChannel

returnValue = Me.CreateChannel()
protected override TChannel CreateChannel()

Return Value

Type: TChannel
A new channel.

Remarks

If the ClientBaseExtender property is set, this class will call ClientBaseExtender.CreateChannel to create a new channel; otherwise, it will create a new channel by calling ClientBase.CreateChannel.

See Also

Reference

BdcClientBase<TChannel> Class

BdcClientBase<TChannel> Members

Microsoft.BusinessData.SystemSpecific.Wcf Namespace