WsSetChannelProperty function (webservices.h)
Sets a property of the channel.
HRESULT WsSetChannelProperty( [in] WS_CHANNEL *channel, [in] WS_CHANNEL_PROPERTY_ID id, const void *value, [in] ULONG valueSize, [in, optional] WS_ERROR *error );
A pointer to the Channel on which to set the property and may not be NULL.
Identifier of the property to set.
A void pointer to the property value to set. The pointer must have an alignment compatible with the type of the property.
The size in bytes of of the property value.
[in, optional] error
A pointer to a WS_ERROR object where additional information about the error should be stored if the function fails.
This function can return one of these values.
The property id was not supported for this object.
The specified size was not appropriate for the property.
||There was not enough space to set the property value.|
||This function may return other errors not listed above.|
|Minimum supported client||Windows 7 [desktop apps | UWP apps]|
|Minimum supported server||Windows Server 2008 R2 [desktop apps | UWP apps]|