ServiceMetadataPublishingElement.PolicyVersion 属性

定义

获取或设置一个值,该值指定所使用的 WS-Policy 规范的版本。Gets or sets a value that specifies the version of the WS-Policy specification being used.

public:
 property System::ServiceModel::Description::PolicyVersion ^ PolicyVersion { System::ServiceModel::Description::PolicyVersion ^ get(); void set(System::ServiceModel::Description::PolicyVersion ^ value); };
[System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.PolicyVersionConverter))]
[System.Configuration.ConfigurationProperty("policyVersion", DefaultValue=Mono.Cecil.CustomAttributeArgument)]
public System.ServiceModel.Description.PolicyVersion PolicyVersion { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.PolicyVersionConverter))>]
[<System.Configuration.ConfigurationProperty("policyVersion", DefaultValue=Mono.Cecil.CustomAttributeArgument)>]
member this.PolicyVersion : System.ServiceModel.Description.PolicyVersion with get, set
Public Property PolicyVersion As PolicyVersion

属性值

PolicyVersion

PolicyVersion 的有效值,该值指定所使用的 WS-Policy 规范的版本。A valid value of PolicyVersion that specifies the version of the WS-Policy specification being used.

属性

适用于