Windows apps
Collapse the table of content
Expand the table of content

DuplexClientBase<TChannel>::CreateChannel Method

Returns a channel to the service associated with the callback object passed to the constructor.

Namespace:  System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

protected:
virtual TChannel CreateChannel() override

Return Value

Type: TChannel
A channel to the service of the type of the service contract interface.

.NET Framework

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2017 Microsoft