อ่านในภาษาอังกฤษ แก้ไข

แชร์ผ่าน


DiscoveryProxy Constructors

Definition

Initializes a new instance of the DiscoveryProxy class.

Overloads

DiscoveryProxy()

Initializes a new instance of the DiscoveryProxy class.

DiscoveryProxy(DiscoveryMessageSequenceGenerator)

Initializes a new instance of the DiscoveryProxy class with the specified DiscoveryMessageSequenceGenerator.

DiscoveryProxy(DiscoveryMessageSequenceGenerator, Int32)

Initializes a new instance of the DiscoveryProxy class with the specified DiscoveryMessageSequenceGenerator and duplicate message history length.

DiscoveryProxy()

Initializes a new instance of the DiscoveryProxy class.

C#
protected DiscoveryProxy();

Applies to

.NET Framework 4.8.1 และรุ่นอื่นๆ
ผลิตภัณฑ์ เวอร์ชัน
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

DiscoveryProxy(DiscoveryMessageSequenceGenerator)

Initializes a new instance of the DiscoveryProxy class with the specified DiscoveryMessageSequenceGenerator.

C#
protected DiscoveryProxy(System.ServiceModel.Discovery.DiscoveryMessageSequenceGenerator messageSequenceGenerator);

Parameters

messageSequenceGenerator
DiscoveryMessageSequenceGenerator

The message sequence generator.

Applies to

.NET Framework 4.8.1 และรุ่นอื่นๆ
ผลิตภัณฑ์ เวอร์ชัน
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

DiscoveryProxy(DiscoveryMessageSequenceGenerator, Int32)

Initializes a new instance of the DiscoveryProxy class with the specified DiscoveryMessageSequenceGenerator and duplicate message history length.

C#
protected DiscoveryProxy(System.ServiceModel.Discovery.DiscoveryMessageSequenceGenerator messageSequenceGenerator, int duplicateMessageHistoryLength);

Parameters

messageSequenceGenerator
DiscoveryMessageSequenceGenerator

The message sequence generator.

duplicateMessageHistoryLength
Int32

The maximum number of message hashes used by the transport for identifying duplicate messages. The default value is 0.

Applies to

.NET Framework 4.8.1 และรุ่นอื่นๆ
ผลิตภัณฑ์ เวอร์ชัน
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1