EndpointAddressMessageFilter EndpointAddressMessageFilter EndpointAddressMessageFilter EndpointAddressMessageFilter Constructors

Definition

Overloads

EndpointAddressMessageFilter(EndpointAddress) EndpointAddressMessageFilter(EndpointAddress) EndpointAddressMessageFilter(EndpointAddress) EndpointAddressMessageFilter(EndpointAddress)

Initializes a new instance of the EndpointAddressMessageFilter class with a specified address against which to test a message.

EndpointAddressMessageFilter(EndpointAddress, Boolean) EndpointAddressMessageFilter(EndpointAddress, Boolean) EndpointAddressMessageFilter(EndpointAddress, Boolean) EndpointAddressMessageFilter(EndpointAddress, Boolean)

Initializes a new instance of the EndpointAddressMessageFilter class.

EndpointAddressMessageFilter(EndpointAddress) EndpointAddressMessageFilter(EndpointAddress) EndpointAddressMessageFilter(EndpointAddress) EndpointAddressMessageFilter(EndpointAddress)

Initializes a new instance of the EndpointAddressMessageFilter class with a specified address against which to test a message.

public:
 EndpointAddressMessageFilter(System::ServiceModel::EndpointAddress ^ address);
public EndpointAddressMessageFilter (System.ServiceModel.EndpointAddress address);
new System.ServiceModel.Dispatcher.EndpointAddressMessageFilter : System.ServiceModel.EndpointAddress -> System.ServiceModel.Dispatcher.EndpointAddressMessageFilter
Public Sub New (address As EndpointAddress)

Parameters

address
EndpointAddress EndpointAddress EndpointAddress EndpointAddress

The EndpointAddress against which messages are tested.

Exceptions

EndpointAddressMessageFilter(EndpointAddress, Boolean) EndpointAddressMessageFilter(EndpointAddress, Boolean) EndpointAddressMessageFilter(EndpointAddress, Boolean) EndpointAddressMessageFilter(EndpointAddress, Boolean)

Initializes a new instance of the EndpointAddressMessageFilter class.

public:
 EndpointAddressMessageFilter(System::ServiceModel::EndpointAddress ^ address, bool includeHostNameInComparison);
public EndpointAddressMessageFilter (System.ServiceModel.EndpointAddress address, bool includeHostNameInComparison);
new System.ServiceModel.Dispatcher.EndpointAddressMessageFilter : System.ServiceModel.EndpointAddress * bool -> System.ServiceModel.Dispatcher.EndpointAddressMessageFilter
Public Sub New (address As EndpointAddress, includeHostNameInComparison As Boolean)

Parameters

address
EndpointAddress EndpointAddress EndpointAddress EndpointAddress

The EndpointAddress against which messages are tested.

includeHostNameInComparison
Boolean Boolean Boolean Boolean

true if the host name is included in the endpoint address comparison; otherwise, false.

Exceptions

Remarks

If you have a web service installed on your local machine, there are many equivalent ways to reference it, including the following:

  • http://localhost/foo.svc
  • http://192.168.1.100/foo.svc
  • http://[my-machine-name]/foo.svc
  • http://[my-machine-name].[my-company].com/foo.svc

If the value of the includeHostNameInComparison parameter is false, the above URIs all resolve to the same endpoint.

Applies to