ServiceActivationOptions.ClientCulture 属性

定义

获取或设置客户端的首选区域性。

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

适用于