DiscoveryProxy 构造函数

定义

初始化 DiscoveryProxy 类的新实例。

重载

DiscoveryProxy()

初始化 DiscoveryProxy 类的新实例。

DiscoveryProxy(DiscoveryMessageSequenceGenerator)

使用指定的 DiscoveryProxy 初始化 DiscoveryMessageSequenceGenerator 类的新实例。

DiscoveryProxy(DiscoveryMessageSequenceGenerator, Int32)

使用指定的 DiscoveryProxy 和重复消息历史记录长度初始化 DiscoveryMessageSequenceGenerator 类的新实例。

DiscoveryProxy()

初始化 DiscoveryProxy 类的新实例。

protected:
 DiscoveryProxy();
protected DiscoveryProxy ();
Protected Sub New ()

适用于

DiscoveryProxy(DiscoveryMessageSequenceGenerator)

使用指定的 DiscoveryProxy 初始化 DiscoveryMessageSequenceGenerator 类的新实例。

protected:
 DiscoveryProxy(System::ServiceModel::Discovery::DiscoveryMessageSequenceGenerator ^ messageSequenceGenerator);
protected DiscoveryProxy (System.ServiceModel.Discovery.DiscoveryMessageSequenceGenerator messageSequenceGenerator);
new System.ServiceModel.Discovery.DiscoveryProxy : System.ServiceModel.Discovery.DiscoveryMessageSequenceGenerator -> System.ServiceModel.Discovery.DiscoveryProxy
Protected Sub New (messageSequenceGenerator As DiscoveryMessageSequenceGenerator)

参数

messageSequenceGenerator
DiscoveryMessageSequenceGenerator

消息序列生成器。

适用于

DiscoveryProxy(DiscoveryMessageSequenceGenerator, Int32)

使用指定的 DiscoveryProxy 和重复消息历史记录长度初始化 DiscoveryMessageSequenceGenerator 类的新实例。

protected:
 DiscoveryProxy(System::ServiceModel::Discovery::DiscoveryMessageSequenceGenerator ^ messageSequenceGenerator, int duplicateMessageHistoryLength);
protected DiscoveryProxy (System.ServiceModel.Discovery.DiscoveryMessageSequenceGenerator messageSequenceGenerator, int duplicateMessageHistoryLength);
new System.ServiceModel.Discovery.DiscoveryProxy : System.ServiceModel.Discovery.DiscoveryMessageSequenceGenerator * int -> System.ServiceModel.Discovery.DiscoveryProxy
Protected Sub New (messageSequenceGenerator As DiscoveryMessageSequenceGenerator, duplicateMessageHistoryLength As Integer)

参数

messageSequenceGenerator
DiscoveryMessageSequenceGenerator

消息序列生成器。

duplicateMessageHistoryLength
Int32

传输用来标识重复消息的消息哈希的最大数目。 默认值为 0。

适用于