EndpointAddressMessageFilter 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 EndpointAddressMessageFilter class.
Overloads
EndpointAddressMessageFilter(EndpointAddress) |
Initializes a new instance of the EndpointAddressMessageFilter class with a specified address against which to test a message. |
EndpointAddressMessageFilter(EndpointAddress, Boolean) |
Initializes a new instance of the EndpointAddressMessageFilter class. |
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
The EndpointAddress against which messages are tested.
Exceptions
address
is null
.
Applies to
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
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
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示