共用方式為


DiscoveryEndpointElement.DiscoveryVersion 屬性

定義

取得或設定探索應使用的 WS-Discovery 規格版本。

public:
 property System::ServiceModel::Discovery::DiscoveryVersion ^ DiscoveryVersion { System::ServiceModel::Discovery::DiscoveryVersion ^ get(); void set(System::ServiceModel::Discovery::DiscoveryVersion ^ value); };
[System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Discovery.Configuration.DiscoveryVersionConverter))]
[System.Configuration.ConfigurationProperty("discoveryVersion", DefaultValue="WSDiscovery11")]
public System.ServiceModel.Discovery.DiscoveryVersion DiscoveryVersion { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Discovery.Configuration.DiscoveryVersionConverter))>]
[<System.Configuration.ConfigurationProperty("discoveryVersion", DefaultValue="WSDiscovery11")>]
member this.DiscoveryVersion : System.ServiceModel.Discovery.DiscoveryVersion with get, set
Public Property DiscoveryVersion As DiscoveryVersion

屬性值

WS-Discovery 版本。

屬性

適用於