Share via


EndpointDispatcher 建構函式

定義

初始化 EndpointDispatcher 類別的新執行個體。

多載

EndpointDispatcher()
EndpointDispatcher(EndpointAddress, String, String)

使用指定的位址、合約名稱和合約命名空間,初始化 EndpointDispatcher 類別的新執行個體。

EndpointDispatcher(EndpointAddress, String, String, Boolean)

使用指定的位址、合約名稱、合約命名空間,以及端點是否為公用的系統端點,初始化 EndpointDispatcher 類別的新執行個體。

EndpointDispatcher()

來源:
EndpointDispatcher.cs
來源:
EndpointDispatcher.cs
來源:
EndpointDispatcher.cs
public:
 EndpointDispatcher();
public EndpointDispatcher ();
Public Sub New ()

適用於

EndpointDispatcher(EndpointAddress, String, String)

使用指定的位址、合約名稱和合約命名空間,初始化 EndpointDispatcher 類別的新執行個體。

public:
 EndpointDispatcher(System::ServiceModel::EndpointAddress ^ address, System::String ^ contractName, System::String ^ contractNamespace);
public EndpointDispatcher (System.ServiceModel.EndpointAddress address, string contractName, string contractNamespace);
new System.ServiceModel.Dispatcher.EndpointDispatcher : System.ServiceModel.EndpointAddress * string * string -> System.ServiceModel.Dispatcher.EndpointDispatcher
Public Sub New (address As EndpointAddress, contractName As String, contractNamespace As String)

參數

address
EndpointAddress

端點位址。

contractName
String

端點合約的名稱。

contractNamespace
String

端點合約的命名空間。

備註

使用這個建構函式 (Constructor) 來建立不在描述中的端點。

適用於

EndpointDispatcher(EndpointAddress, String, String, Boolean)

使用指定的位址、合約名稱、合約命名空間,以及端點是否為公用的系統端點,初始化 EndpointDispatcher 類別的新執行個體。

public:
 EndpointDispatcher(System::ServiceModel::EndpointAddress ^ address, System::String ^ contractName, System::String ^ contractNamespace, bool isSystemEndpoint);
public EndpointDispatcher (System.ServiceModel.EndpointAddress address, string contractName, string contractNamespace, bool isSystemEndpoint);
new System.ServiceModel.Dispatcher.EndpointDispatcher : System.ServiceModel.EndpointAddress * string * string * bool -> System.ServiceModel.Dispatcher.EndpointDispatcher
Public Sub New (address As EndpointAddress, contractName As String, contractNamespace As String, isSystemEndpoint As Boolean)

參數

address
EndpointAddress

端點位址。

contractName
String

端點合約的名稱。

contractNamespace
String

端點合約的命名空間。

isSystemEndpoint
Boolean

true 表示端點是由伺服器在內部建立,而非使用者所建立;否則為 false

適用於