DiscoveryEndpoint.DiscoveryMode 属性

定义

获取终结点的发现模式。Gets the discovery mode for the endpoint.

public:
 property System::ServiceModel::Discovery::ServiceDiscoveryMode DiscoveryMode { System::ServiceModel::Discovery::ServiceDiscoveryMode get(); };
public System.ServiceModel.Discovery.ServiceDiscoveryMode DiscoveryMode { get; }
member this.DiscoveryMode : System.ServiceModel.Discovery.ServiceDiscoveryMode
Public ReadOnly Property DiscoveryMode As ServiceDiscoveryMode

属性值

ServiceDiscoveryMode

ServiceDiscoveryMode 枚举值之一。One of the ServiceDiscoveryMode enumeration values.

注解

可在两种不同模式下完成发现:临时模式或托管模式。Discovery can be accomplished in two different modes: Ad-Hoc or Managed. 有关详细信息,请参阅 WCF 发现概述For more information, see WCF Discovery Overview

适用于