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 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기