ClientBase<TChannel>.ChannelBase<T>(ClientBase<T>) 构造函数

定义

从该类的现有实例初始化 ClientBase<TChannel>.ChannelBase<T> 类的新实例。

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))

参数

client
ClientBase<T>

用于初始化类的新实例的对象。

适用于