ServiceBrokerClientMetadata.SupportedConnections 属性

定义

获取或设置客户端支持的远程服务连接。

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

属性值

属性
Newtonsoft.Json.JsonConverterAttribute JsonConverterAttribute IsReadOnlyAttribute

注解

这允许 IRemoteServiceBroker 在响应将来的服务请求时选择最佳相互支持的连接类型。

适用于