ServiceBrokerClientMetadata.SupportedConnections 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置客户端支持的远程服务连接。
public:
property Microsoft::ServiceHub::Framework::RemoteServiceConnections SupportedConnections { Microsoft::ServiceHub::Framework::RemoteServiceConnections get(); void set(Microsoft::ServiceHub::Framework::RemoteServiceConnections value); };
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
public Microsoft.ServiceHub.Framework.RemoteServiceConnections SupportedConnections { get; set; }
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Serialization.JsonStringEnumConverter))]
public Microsoft.ServiceHub.Framework.RemoteServiceConnections SupportedConnections { [System.Runtime.CompilerServices.IsReadOnly] get; set; }
[<Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))>]
member this.SupportedConnections : Microsoft.ServiceHub.Framework.RemoteServiceConnections with get, set
[<Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))>]
[<System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Serialization.JsonStringEnumConverter))>]
[<get: System.Runtime.CompilerServices.IsReadOnly>]
member this.SupportedConnections : Microsoft.ServiceHub.Framework.RemoteServiceConnections with get, set
Public Property SupportedConnections As RemoteServiceConnections
属性值
- 属性
注解
这允许 IRemoteServiceBroker 在响应将来的服务请求时选择最佳相互支持的连接类型。