Visual Basic (Usage) | ![]() |
---|---|
Dim instance As ServiceMessageContextMessageInspector Dim endpoint As ServiceEndpoint Dim endpointDispatcher As EndpointDispatcher instance.ApplyDispatchBehavior(endpoint, endpointDispatcher) |
C# | |
---|---|
public void ApplyDispatchBehavior( ServiceEndpoint endpoint, EndpointDispatcher endpointDispatcher ) |
Parameters
- endpoint
- The endpoint that exposes the contract.
- endpointDispatcher
- The endpoint dispatcher to be modified or extended.
Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x