Cancellation
Most of operations in the WWSAPI can be canceled during execution.
Which function you use to cancel an operation depends on the object affected.
Function | Description |
---|---|
WsAbortChannel | Cancels all pending input and output on a specified channel and sets the channel state to WS_CHANNEL_STATE_FAULTED. |
WsAbortListener | Cancels all pending input and output on a specified listener. |
WsAbortServiceProxy | Cancels all pending input and output on a specified service proxy. |
WsAbortServiceHost | Interrupts and discontinues current operations on the service host. |
WsAbandonCall | Abandons a call, a specified call on a specified service proxy. |
For information on cancellations that affect server side service operations and service-model callbacks, see Call Cancellation.