WS_SERVICE_ENDPOINT structure (webservices.h)
Represents an individual endpoint on a service host. The properties on the endpoint are used to specify the address, binding and contract.
Syntax
typedef struct _WS_SERVICE_ENDPOINT {
WS_ENDPOINT_ADDRESS address;
WS_CHANNEL_BINDING channelBinding;
WS_CHANNEL_TYPE channelType;
const WS_SECURITY_DESCRIPTION *securityDescription;
const WS_SERVICE_CONTRACT *contract;
WS_SERVICE_SECURITY_CALLBACK authorizationCallback;
const WS_SERVICE_ENDPOINT_PROPERTY *properties;
ULONG propertyCount;
WS_CHANNEL_PROPERTIES channelProperties;
} WS_SERVICE_ENDPOINT;
Members
address
The URL address on which the endpoint is going to listen.
channelBinding
The binding for the channel/listener.
channelType
The type of channel being hosted by the endpoint.
securityDescription
A description of the security required for this channel. This can be NULL if no security is required.
contract
The contract of the endpoint.
authorizationCallback
Authorization callback for the service endpoint.
properties
An array of properties to configure the service endpoint.
propertyCount
Number of elements in the WS_SERVICE_ENDPOINT_PROPERTY array.
channelProperties
Channel properties associated with the endpoint. An application should be careful in modifying default values. For example, modifying send/receive timeouts may result in unexpected behavior and cause the client to fail.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2008 R2 [desktop apps | UWP apps] |
Header | webservices.h |