PrefixEndpointAddressMessageFilter Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the PrefixEndpointAddressMessageFilter class.
Overloads
PrefixEndpointAddressMessageFilter(EndpointAddress) |
Initializes a new instance of the PrefixEndpointAddressMessageFilter class. |
PrefixEndpointAddressMessageFilter(EndpointAddress, Boolean) |
Initializes a new instance of the PrefixEndpointAddressMessageFilter class. |
PrefixEndpointAddressMessageFilter(EndpointAddress)
Initializes a new instance of the PrefixEndpointAddressMessageFilter class.
public:
PrefixEndpointAddressMessageFilter(System::ServiceModel::EndpointAddress ^ address);
public PrefixEndpointAddressMessageFilter (System.ServiceModel.EndpointAddress address);
new System.ServiceModel.Dispatcher.PrefixEndpointAddressMessageFilter : System.ServiceModel.EndpointAddress -> System.ServiceModel.Dispatcher.PrefixEndpointAddressMessageFilter
Public Sub New (address As EndpointAddress)
Parameters
- address
- EndpointAddress
The EndpointAddress against which messages are tested.
Exceptions
address
is null
.
Applies to
PrefixEndpointAddressMessageFilter(EndpointAddress, Boolean)
Initializes a new instance of the PrefixEndpointAddressMessageFilter class.
public:
PrefixEndpointAddressMessageFilter(System::ServiceModel::EndpointAddress ^ address, bool includeHostNameInComparison);
public PrefixEndpointAddressMessageFilter (System.ServiceModel.EndpointAddress address, bool includeHostNameInComparison);
new System.ServiceModel.Dispatcher.PrefixEndpointAddressMessageFilter : System.ServiceModel.EndpointAddress * bool -> System.ServiceModel.Dispatcher.PrefixEndpointAddressMessageFilter
Public Sub New (address As EndpointAddress, includeHostNameInComparison As Boolean)
Parameters
- address
- EndpointAddress
The EndpointAddress against which messages are tested.
- includeHostNameInComparison
- Boolean
true
if the host name is included in the endpoint address comparison; otherwise, false
.
Exceptions
address
is null
.
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈