PeerCustomResolverBindingElement 构造函数

定义

初始化 PeerCustomResolverBindingElement 类的新实例。

重载

PeerCustomResolverBindingElement()

初始化 PeerCustomResolverBindingElement 类的新默认实例。

PeerCustomResolverBindingElement(PeerCustomResolverBindingElement)

通过克隆提供的自定义对等解析程序绑定来初始化 类的新实例 PeerCustomResolverBindingElement

PeerCustomResolverBindingElement(PeerCustomResolverSettings)

用提供的解析程序设置初始化 PeerCustomResolverBindingElement 类的新实例。

PeerCustomResolverBindingElement(BindingContext, PeerCustomResolverSettings)

用提供的绑定上下文和解析程序设置初始化 PeerCustomResolverBindingElement 类的新实例。

PeerCustomResolverBindingElement()

初始化 PeerCustomResolverBindingElement 类的新默认实例。

public:
 PeerCustomResolverBindingElement();
public PeerCustomResolverBindingElement ();
Public Sub New ()

适用于

PeerCustomResolverBindingElement(PeerCustomResolverBindingElement)

通过克隆提供的自定义对等解析程序绑定来初始化 类的新实例 PeerCustomResolverBindingElement

public:
 PeerCustomResolverBindingElement(System::ServiceModel::Channels::PeerCustomResolverBindingElement ^ other);
public PeerCustomResolverBindingElement (System.ServiceModel.Channels.PeerCustomResolverBindingElement other);
new System.ServiceModel.Channels.PeerCustomResolverBindingElement : System.ServiceModel.Channels.PeerCustomResolverBindingElement -> System.ServiceModel.Channels.PeerCustomResolverBindingElement
Public Sub New (other As PeerCustomResolverBindingElement)

参数

other
PeerCustomResolverBindingElement

PeerCustomResolverBindingElement 实例,包含要为新绑定克隆的设置。

适用于

PeerCustomResolverBindingElement(PeerCustomResolverSettings)

用提供的解析程序设置初始化 PeerCustomResolverBindingElement 类的新实例。

public:
 PeerCustomResolverBindingElement(System::ServiceModel::PeerResolvers::PeerCustomResolverSettings ^ settings);
public PeerCustomResolverBindingElement (System.ServiceModel.PeerResolvers.PeerCustomResolverSettings settings);
new System.ServiceModel.Channels.PeerCustomResolverBindingElement : System.ServiceModel.PeerResolvers.PeerCustomResolverSettings -> System.ServiceModel.Channels.PeerCustomResolverBindingElement
Public Sub New (settings As PeerCustomResolverSettings)

参数

settings
PeerCustomResolverSettings

PeerCustomResolverSettings 对象,包含新绑定的特定设置。

适用于

PeerCustomResolverBindingElement(BindingContext, PeerCustomResolverSettings)

用提供的绑定上下文和解析程序设置初始化 PeerCustomResolverBindingElement 类的新实例。

public:
 PeerCustomResolverBindingElement(System::ServiceModel::Channels::BindingContext ^ context, System::ServiceModel::PeerResolvers::PeerCustomResolverSettings ^ settings);
public PeerCustomResolverBindingElement (System.ServiceModel.Channels.BindingContext context, System.ServiceModel.PeerResolvers.PeerCustomResolverSettings settings);
new System.ServiceModel.Channels.PeerCustomResolverBindingElement : System.ServiceModel.Channels.BindingContext * System.ServiceModel.PeerResolvers.PeerCustomResolverSettings -> System.ServiceModel.Channels.PeerCustomResolverBindingElement
Public Sub New (context As BindingContext, settings As PeerCustomResolverSettings)

参数

context
BindingContext

BindingContext 对象,包含由此绑定创建的解析程序的绑定上下文。

settings
PeerCustomResolverSettings

PeerCustomResolverSettings 对象,包含新绑定的特定设置。

适用于