Modifier

Partager via


DiscoveryService Constructors

Definition

Initializes a new instance of the DiscoveryService class.

Overloads

DiscoveryService()

Initializes a new instance of the DiscoveryService class.

DiscoveryService(DiscoveryMessageSequenceGenerator)

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

DiscoveryService(DiscoveryMessageSequenceGenerator, Int32)

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

DiscoveryService()

Initializes a new instance of the DiscoveryService class.

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

Applies to

DiscoveryService(DiscoveryMessageSequenceGenerator)

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

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

Parameters

discoveryMessageSequenceGenerator
DiscoveryMessageSequenceGenerator

The discovery message sequence generator.

Applies to

DiscoveryService(DiscoveryMessageSequenceGenerator, Int32)

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

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

Parameters

discoveryMessageSequenceGenerator
DiscoveryMessageSequenceGenerator

The discovery 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