This documentation is archived and is not being maintained.
ClientBase(Of TChannel).CreateChannel Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Returns a new channel from the client to the service.
Namespace:
System.ServiceModel
Assembly:
System.ServiceModel (in System.ServiceModel.dll)
'Declaration
Protected Overridable Function CreateChannel As TChannel
Return Value
Type:
TChannelA channel of type TChannel that identifies the type of service contract encapsulated by this client object (proxy).
Returns the channel created by the inner channel factory. Exceptions thrown by ChannelFactoryCreateChannel can be expected here.
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0