DiscoveryEndpointElement.DiscoveryMode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the discovery mode that the discovery endpoint uses.
public:
property System::ServiceModel::Discovery::ServiceDiscoveryMode DiscoveryMode { System::ServiceModel::Discovery::ServiceDiscoveryMode get(); void set(System::ServiceModel::Discovery::ServiceDiscoveryMode value); };
[System.Configuration.ConfigurationProperty("discoveryMode", DefaultValue=System.ServiceModel.Discovery.ServiceDiscoveryMode.Managed)]
public System.ServiceModel.Discovery.ServiceDiscoveryMode DiscoveryMode { get; set; }
[<System.Configuration.ConfigurationProperty("discoveryMode", DefaultValue=System.ServiceModel.Discovery.ServiceDiscoveryMode.Managed)>]
member this.DiscoveryMode : System.ServiceModel.Discovery.ServiceDiscoveryMode with get, set
Public Property DiscoveryMode As ServiceDiscoveryMode
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈