ServiceActivationOptions.ClientCulture 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置客户端的首选区域性。
public:
property System::Globalization::CultureInfo ^ ClientCulture { System::Globalization::CultureInfo ^ get(); void set(System::Globalization::CultureInfo ^ value); };
[Newtonsoft.Json.JsonConverter(typeof(Microsoft.ServiceHub.Framework.CultureInfoJsonConverter))]
[System.Runtime.Serialization.DataMember]
public System.Globalization.CultureInfo? ClientCulture { get; set; }
[Newtonsoft.Json.JsonConverter(typeof(Microsoft.ServiceHub.Framework.CultureInfoJsonConverter))]
[System.Runtime.Serialization.DataMember]
[System.Text.Json.Serialization.JsonConverter(typeof(Microsoft.ServiceHub.Framework.CultureInfoSystemTextJsonConverter))]
public System.Globalization.CultureInfo? ClientCulture { [System.Runtime.CompilerServices.IsReadOnly] get; set; }
[<Newtonsoft.Json.JsonConverter(typeof(Microsoft.ServiceHub.Framework.CultureInfoJsonConverter))>]
[<System.Runtime.Serialization.DataMember>]
member this.ClientCulture : System.Globalization.CultureInfo with get, set
[<Newtonsoft.Json.JsonConverter(typeof(Microsoft.ServiceHub.Framework.CultureInfoJsonConverter))>]
[<System.Runtime.Serialization.DataMember>]
[<System.Text.Json.Serialization.JsonConverter(typeof(Microsoft.ServiceHub.Framework.CultureInfoSystemTextJsonConverter))>]
[<get: System.Runtime.CompilerServices.IsReadOnly>]
member this.ClientCulture : System.Globalization.CultureInfo with get, set
Public Property ClientCulture As CultureInfo
属性值
- 属性
-
Newtonsoft.Json.JsonConverterAttribute DataMemberAttribute JsonConverterAttribute IsReadOnlyAttribute