DiscoveryEndpointElement.DiscoveryMode Property

Definition

Gets or sets the discovery mode that the discovery endpoint uses.

C#
[System.Configuration.ConfigurationProperty("discoveryMode", DefaultValue=System.ServiceModel.Discovery.ServiceDiscoveryMode.Managed)]
public System.ServiceModel.Discovery.ServiceDiscoveryMode DiscoveryMode { get; set; }

Property Value

The discovery mode.

Attributes

Remarks

Discovery can be performed in two modes ad-hoc and managed. In ad-hoc discovery, discovery messages are sent out in a multicast manner to all available services. In managed discovery, messages are sent in a unicast manner to a discovery proxy/discovery service. For more information about the discovery modes, see WCF Discovery Overview.

Applies to

Ürün Sürümler
.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