WS_ABORT_CHANNEL_CALLBACK callback function (webservices.h)

Handles the WsAbortChannel call for a WS_CUSTOM_CHANNEL_BINDING.

Syntax

WS_ABORT_CHANNEL_CALLBACK WsAbortChannelCallback;

HRESULT WsAbortChannelCallback(
  [in]           void *channelInstance,
  [in, optional] WS_ERROR *error
)
{...}

Parameters

[in] channelInstance

The pointer to the state specific to this channel instance, as created by the WS_CREATE_CHANNEL_CALLBACK.

[in, optional] error

Specifies where additional error information should be stored if the function fails.

Return value

This callback function does not return a value.

Remarks

See WsAbortChannel for information about the contract of this API.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header webservices.h