Επεξεργασία

Κοινή χρήση μέσω


EndpointDispatcher Constructors

Definition

Initializes a new instance of the EndpointDispatcher class.

Overloads

EndpointDispatcher(EndpointAddress, String, String)

Initializes a new instance of the EndpointDispatcher class with the specified address, contract name, and contract namespace.

EndpointDispatcher(EndpointAddress, String, String, Boolean)

Initializes a new instance of the EndpointDispatcher class with the specified address, contract name, contract namespace, and whether the endpoint is a public, system endpoint.

EndpointDispatcher(EndpointAddress, String, String)

Initializes a new instance of the EndpointDispatcher class with the specified address, contract name, and contract namespace.

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)

Parameters

address
EndpointAddress

The endpoint address.

contractName
String

The name of the endpoint contract.

contractNamespace
String

The namespace of the endpoint contract.

Remarks

Use this constructor to create an endpoint that is not in the description.

Applies to

EndpointDispatcher(EndpointAddress, String, String, Boolean)

Initializes a new instance of the EndpointDispatcher class with the specified address, contract name, contract namespace, and whether the endpoint is a public, system endpoint.

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)

Parameters

address
EndpointAddress

The endpoint address.

contractName
String

The name of the endpoint contract.

contractNamespace
String

The namespace of the endpoint contract.

isSystemEndpoint
Boolean

true to indicate that the endpoint is created internally by the server and not by the user; otherwise, false.

Applies to