Condividi tramite


ClientBase<TChannel> Constructor

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

Initializes a new instance of the ClientBase<TChannel> class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Protected methodSupported by Silverlight for Windows Phone ClientBase<TChannel>() Initializes a new instance of the ClientBase<TChannel> class using the default target endpoint from the application configuration file.
Protected methodSupported by Silverlight for Windows Phone ClientBase<TChannel>(String) Initializes a new instance of the ClientBase<TChannel> class using the configuration information specified in the application configuration file by endpointConfigurationName.
Protected methodSupported by Silverlight for Windows Phone ClientBase<TChannel>(Binding, EndpointAddress) Initializes a new instance of the ClientBase<TChannel> class using a specified binding and target address.
Protected methodSupported by Silverlight for Windows Phone ClientBase<TChannel>(String, EndpointAddress) Initializes a new instance of the ClientBase<TChannel> class using the specified target address and endpoint information.
Protected methodSupported by Silverlight for Windows Phone ClientBase<TChannel>(String, String) Initializes a new instance of the ClientBase<TChannel> class.

Top

Remarks

The main function of the constructor is to create a System.ServiceModel.ChannelFactory<TChannel> where the type parameter is the type of the target service contract.