次の方法で共有


HubClient Constructors

Definition

Overloads

HubClient(String)
HubClient(String, IReadOnlyDictionary<ServiceMoniker,String>)
HubClient(String, String)
HubClient(String, String, IReadOnlyDictionary<ServiceMoniker,String>)

HubClient(String)

public HubClient (string clientName = "client");
new Microsoft.ServiceHub.Client.HubClient : string -> Microsoft.ServiceHub.Client.HubClient
Public Sub New (Optional clientName As String = "client")

Parameters

clientName
String

Applies to

HubClient(String, IReadOnlyDictionary<ServiceMoniker,String>)

public:
 HubClient(System::String ^ clientName, System::Collections::Generic::IReadOnlyDictionary<Microsoft::ServiceHub::Framework::ServiceMoniker ^, System::String ^> ^ knownServices);
public HubClient (string clientName, System.Collections.Generic.IReadOnlyDictionary<Microsoft.ServiceHub.Framework.ServiceMoniker,string> knownServices);
new Microsoft.ServiceHub.Client.HubClient : string * System.Collections.Generic.IReadOnlyDictionary<Microsoft.ServiceHub.Framework.ServiceMoniker, string> -> Microsoft.ServiceHub.Client.HubClient
Public Sub New (clientName As String, knownServices As IReadOnlyDictionary(Of ServiceMoniker, String))

Parameters

clientName
String

Applies to

HubClient(String, String)

public:
 HubClient(System::String ^ clientName, System::String ^ serviceHubConfigFilePath);
public HubClient (string clientName, string serviceHubConfigFilePath);
new Microsoft.ServiceHub.Client.HubClient : string * string -> Microsoft.ServiceHub.Client.HubClient
Public Sub New (clientName As String, serviceHubConfigFilePath As String)

Parameters

clientName
String
serviceHubConfigFilePath
String

Applies to

HubClient(String, String, IReadOnlyDictionary<ServiceMoniker,String>)

public:
 HubClient(System::String ^ clientName, System::String ^ serviceHubConfigFilePath, System::Collections::Generic::IReadOnlyDictionary<Microsoft::ServiceHub::Framework::ServiceMoniker ^, System::String ^> ^ knownServices);
public HubClient (string clientName, string serviceHubConfigFilePath, System.Collections.Generic.IReadOnlyDictionary<Microsoft.ServiceHub.Framework.ServiceMoniker,string> knownServices);
new Microsoft.ServiceHub.Client.HubClient : string * string * System.Collections.Generic.IReadOnlyDictionary<Microsoft.ServiceHub.Framework.ServiceMoniker, string> -> Microsoft.ServiceHub.Client.HubClient
Public Sub New (clientName As String, serviceHubConfigFilePath As String, knownServices As IReadOnlyDictionary(Of ServiceMoniker, String))

Parameters

clientName
String
serviceHubConfigFilePath
String

Applies to