ClientBase<TChannel>.ChannelBase<T>(ClientBase<T>) Constructor

Definition

从该类的现有实例初始化 ClientBase<TChannel>.ChannelBase<T> 类的新实例。Initializes a new instance of the ClientBase<TChannel>.ChannelBase<T> class from an existing instance of the class.

protected:
 ChannelBase(System::ServiceModel::ClientBase<T> ^ client);
protected ChannelBase (System.ServiceModel.ClientBase<T> client);
new System.ServiceModel.ClientBase<'Channel (requires 'Channel : null)>.ChannelBase<'T (requires 'Channel : null)> : System.ServiceModel.ClientBase<'T (requires 'T : null)> -> System.ServiceModel.ClientBase<'Channel (requires 'Channel : null)>.ChannelBase<'T (requires 'Channel : null)>
Protected Sub New (client As ClientBase(Of T))

Parameters

client
ClientBase<T>

用于初始化类的新实例的对象。The object used to initialize the new instance of the class.

Applies to