EndpointDispatcher 构造函数

定义

初始化 EndpointDispatcher 类的新实例。

重载

EndpointDispatcher()
EndpointDispatcher(EndpointAddress, String, String)

使用指定的地址、协定名称和协定命名空间初始化 EndpointDispatcher 类的新实例。

EndpointDispatcher(EndpointAddress, String, String, Boolean)

使用指定的地址、协定名称、协定命名空间初始化 EndpointDispatcher 类的新实例,并指定终结点是否为公用的系统终结点。

EndpointDispatcher()

Source:
EndpointDispatcher.cs
Source:
EndpointDispatcher.cs
Source:
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

终结点协定的命名空间。

注解

使用此构造函数来创建不在说明中的终结点。

适用于

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

适用于