共用方式為


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 回應未來的服務要求時,選擇最佳的相互支援連線種類。

適用於